sw-sync
Skill164 starsChanged 13 months agoMITView on GitHub
Sync SpecWeave increments with GitHub, Jira or Azure DevOps - push progress, pull or import issues, check token and health, run setup. Use for "sync", "push to GitHub", "import issues".
- Reads credentials
In this repository12 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- sw-autoSkill
- sw-brainstormSkill
- sw-doneSkill
- sw-doSkill
- sw-handoffSkill
- sw-incrementSkill
- sw-jevSkill
- sw-projectSkill
- sw-reviewSkill
- sw-teamSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 31
Read the provider from .specweave/config.json.
- Very specific: line 43
Never edit the issue links in metadata.json by hand.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
sw-sync: external tracker sync
Sync is opt-in and explicit. Starting, pausing or completing an increment never calls a
tracker; only specweave sync push does (plus close-on-complete, when configured). Go
through the CLI, never gh, curl or a provider API directly: the CLI owns token
resolution, the rate budget, duplicate detection and the links in both directions.
Commands
| Intent | Command |
| Push progress to issues | specweave sync push [increment-id] |
| Preview a push | specweave sync push 0042 --dry-run |
| One provider only | specweave sync push 0042 --provider github |
| Report external changes | specweave sync pull [--since 7] |
| Import issues as increments | specweave sync pull --create-increments |
| Token, account, health, retry queue | specweave sync status [--json] |
| Connect a provider | specweave sync setup [--provider github] |
| Check an existing setup | specweave sync setup --validate |
sync status exits 1 when anything needs attention.
Providers
Read the provider from .specweave/config.json; never guess. GitHub is first-class.
Jira and Azure DevOps are supported and opt-in: push and close are covered, say so
before promising more.
Tokens resolve in one order: config, then GITHUB_TOKEN / GH_TOKEN, then the project
.env, then gh auth token. sync status prints which one won and for which account.
A 404 on write means that account cannot write to the repository: fix the token, do not
retry. Check a token exists without printing it.
Rules
--dry-runfirst when an increment has never synced.- Never edit the issue links in
metadata.jsonby hand; a broken link is fixed withspecweave sync push 0042 --force. - Report
sync statusoutput as it is when it shows problems; do not paraphrase token or permission errors.
Manual path (no CLI)
There is no manual sync. Update the issue yourself and put its URL in spec.md Problem so the next agent can find it.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

