agentleFS
anton-abyzovanton-abyzov/specweave/skills/sw-sync/SKILL.md

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

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
  1. Very specific:

    Read the provider from .specweave/config.json.

    line 31
  2. Very specific:

    Never edit the issue links in metadata.json by hand.

    line 43

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

IntentCommand
Push progress to issuesspecweave sync push [increment-id]
Preview a pushspecweave sync push 0042 --dry-run
One provider onlyspecweave sync push 0042 --provider github
Report external changesspecweave sync pull [--since 7]
Import issues as incrementsspecweave sync pull --create-increments
Token, account, health, retry queuespecweave sync status [--json]
Connect a providerspecweave sync setup [--provider github]
Check an existing setupspecweave 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

  1. --dry-run first when an increment has never synced.
  2. Never edit the issue links in metadata.json by hand; a broken link is fixed with specweave sync push 0042 --force.
  3. Report sync status output 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.