Files
claude-skills/skillshare/references/sync.md
admin 89792d56bd Initial commit: skillshare meta-skill
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-29 16:17:42 +00:00

42 lines
1002 B
Markdown

# Sync, Pull & Push Commands
## sync
Pushes skills from source to all targets.
```bash
skillshare sync # Execute sync
skillshare sync --dry-run # Preview only
```
## pull
Brings skills from target(s) to source.
```bash
skillshare pull claude # Pull from specific target
skillshare pull --all # Pull from all targets
skillshare pull --remote # Pull from git remote + sync all
```
## push
Commits and pushes source to git remote.
```bash
skillshare push # Default commit message
skillshare push -m "message" # Custom commit message
skillshare push --dry-run # Preview only
```
## Workflows
**Local workflow:**
1. Create skill in any target (e.g., `~/.claude/skills/my-skill/`)
2. `skillshare pull claude` - bring to source
3. `skillshare sync` - distribute to all targets
**Cross-machine workflow:**
1. Machine A: `skillshare push` - commit and push to remote
2. Machine B: `skillshare pull --remote` - pull from remote + sync