sync
Skill1 starsChanged 3 months agoMITView on GitHub
This skill should be used when the user wants to reconcile their waybill ledger with their tracker and git host — when they say "sync my ledger", "pull my Jira activity", "update the ledger from GitHub", "reconcile my ledger", "import my recent tickets", "bootstrap my ledger", "import my history", or after a period of unlogged work. Works zero-config from local git history; the Atlassian CLI (acli), the gh CLI, or the Atlassian/GitHub MCP servers bundled with this plugin upgrade it. Jira fetches prefer acli — scoped fields, small payloads.
50 other projects use a version of this.
Adopted by
Most recently taken up by
- microsoft/vscodetheir own version, first seen Nov 12, 2026
- thekinv21/NotificationServicetheir own version, first seen Oct 3, 2026
- GavinGreenwood/agentic-workflow-templatetheir own version, first seen Oct 2, 2026
- kapadias/nonnatheir own version, first seen Oct 1, 2026
- thekinv21/RBAC_Authenticationtheir own version, first seen Oct 1, 2026
- lurio84/claude-skillstheir own version, first seen Oct 1, 2026
Used with
Projects with it also use develop, scope and 8 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
bamechoSkilldevelop
开发实施阶段详细规则;进入开发实施时读取;包含执行流程、代码规范、一致性审计、方案包迁移
Also in 6 projects that use this
vltingSkillscope
Interactive planning + orchestration. Approval-gated workflow covering saga→epic→task hierarchy via progressive scoping.
Also in 6 projects that use this
kt057Skillcheck
lint, typecheck, test を一括実行して結果をサマリーする
Also in 7 projects that use this
nicolasestremSkilldocument
Create focused documentation for specific components or features
Also in 5 projects that use this
Microsoft AzureSkilltest
Also in 9 projects that use this
jdonohooSkillarchitect
Architect Vern - Systems design, scalable architecture, production-grade thinking. The blueprints before the build.
Also in 7 projects that use this
Other versions50 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 50
- microsoft/vscode★ 196ksame name
- jsmastery-pro/skills★ 1.4ksame name
- H-mmer/pentest-agents★ 984same name
- cortex-tms/cortex-tms★ 182same name
- iurykrieger/claude-bedrock★ 104same name
- jdpolasky/ai-chief-of-staff★ 104same name
- grainulation/grainulator★ 86same name
- anombyte93/atlas-session-lifecycle★ 85same name
- tomascortereal/claude-code-setup★ 62same name
- lsnackerman/raw-clauding-skills★ 44same name
40 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 2 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 45 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 22
Prefer CLIs (acli, gh) over MCP tools for the fetch: the same facts arrive with scoped fields in a fraction of the payload, saved to files …
- Very specific: line 39
Read config.json for project_keys, repos, default_branch, and last_sync, and identity.json for the identity map.
- Very specific: line 86
Atlassian MCP — fallback (no acli): search issues assigned to the current user in the configured projects, updated since last_sync — the …
- Very specific: line 111
Git host — GitHub: Prefer an authenticated gh CLI (gh auth status): one command, exactly the fields the adapter needs —
- Distinctive: line 178
If a fetch path is unavailable or errors, say which one, do the half that works (the git-local floor always works), and never substitute …
“Common” is measured: kept by at least 6 in 10 of the 45 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Sync
Pull the objective backbone — issues and merged PRs — from the user's tracker and git host, and reconcile it with the ledger. The reconciliation itself is deterministic: a CLI or MCP tool fetches raw JSON, the engine normalizes and diffs it, you present the plan, one confirmation applies it. Prefer CLIs (acli, gh) over MCP tools for the fetch: the same facts arrive with scoped fields in a fraction of the payload, saved to files instead of flowing through context.
Invoke the engine as "${CLAUDE_PLUGIN_ROOT}/bin/waybill" <command>.
Scope rule (non-negotiable)
Query only the current user's own items: issues assigned to them, PRs
authored by them, in the projects/repos listed in config.json. Never
fetch, store, or summarize individual colleagues' issues, PRs, or
statistics, even on request — explain briefly per
skills/ledger/references/methodology.md §6 and continue with the user's
own data.
Procedure
- Read
config.jsonforproject_keys,repos,default_branch, andlast_sync, andidentity.jsonfor the identity map. Iflast_syncis null, default the window to the last 90 days and say so. Ifidentity.jsonlacksjira_account_idand the Atlassian MCP is connected, fetch the current user's accountId once and write it back — future queries stay scoped to it. (The acli path needs no accountId:currentUser()in the JQL scopes the fetch at the source.) Tracker — Jira. Two fetch paths; prefer the CLI when it is authenticated (
acli jira auth statusexits 0 —waybill statusalso reports this):acli (Atlassian CLI) — preferred. Two steps keep the payload minimal: search returns only keys, then each item is fetched with exactly the fields sync needs (search's flattened JSON cannot carry custom fields;
viewis REST-shaped and can):acli jira workitem search --json --limit 200 --fields key \ --jql 'assignee = currentUser() AND project IN (<keys>) AND updated >= "<date>"' \ > /tmp/waybill-keys.json # .issues? (with ?) also handles a bare-array payload without erroring: jq -r '(.issues? // .) | .[].key' /tmp/waybill-keys.json | while read -r KEY; do acli jira workitem view "$KEY" --json --fields \ "summary,status,resolutiondate,created,updated,issuetype,parent,assignee,customfield_10016,customfield_10026,customfield_10002,customfield_10020,customfield_10010,customfield_10014,customfield_10011" done | jq -s '.' > /tmp/waybill-items.jsonEach
viewoutput is a REST-shaped issue saved verbatim;jq -sonly composes them into an array (a shape the jira adapter accepts) — never edit or annotate the objects themselves. Sanity-check the composition before planning — an acli output-shape change must fail loudly, never as a silently empty sync:jq -e 'length > 0 and (.[0] | has("key") and has("fields"))' /tmp/waybill-items.json \ || echo "acli view output shape unexpected — fall back to the MCP fetch"(Zero keys from a window that plainly had activity deserves the same suspicion.) The custom field ids are the common story-points/sprint/ epic candidates; if this site rejects one, drop it from
--fieldsand continue — points and sprint stay null rather than guessed.currentUser()in the JQL scopes the fetch to the user's own items at the source. This is oneviewcall per item: fine for a routine sync window (a handful of updated items), slow for a big backfill — past ~50 items, prefer the MCP fallback's single search for that one run.Atlassian MCP — fallback (no acli): search issues assigned to the current user in the configured projects, updated since
last_sync— the same JQL. Request fields: summary, status, resolutiondate, created, updated, issuetype, parent, assignee (the adapter's own-data check reads its accountId), and the points/sprint/epic custom fields (10016/10026/10002, 10020/10010, 10014/10011 are the common ids). Save the raw JSON response verbatim to/tmp/waybill-items.json.GitHub Issues as the tracker (
tracker.kind: "github-issues"): fetch with the gh CLI instead —gh issue list -R <org/name> --state all --limit 200 \ --search "assignee:@me" \ --json number,title,state,stateReason,closedAt,createdAt,updatedAt,labels,milestone,assignees,url \ > /tmp/waybill-items.jsonSave exactly what the command returns — never edit or annotate the payload; the adapter derives
owner/repo#numberkeys from the issue URLs itself, and the conformance contract depends on the payload being raw. The REST/issuesshape works too. Theassignee:@mescoping matters on shared repos — the adapter keeps unassigned issues on the assumption the query is scoped, so drop the--searchfilter only on a repo where the user is the sole author.Git host — GitHub. Prefer an authenticated gh CLI (
gh auth status): one command, exactly the fields the adapter needs —gh pr list -R <org/name> --author "@me" --state merged \ --search "merged:>=<date> base:<default_branch>" --limit 200 \ --json url,title,headRefName,mergedAt,body,author > /tmp/waybill-changes.json(
authormatters: it is what the adapter's own-data check reads, so a mangled query still cannot smuggle in colleagues' PRs.)(Repeat per repo; concatenate arrays with
jq -s 'add'if needed. Request the body — closing keywords there, "Fixes #12", are how PRs link to GitHub issues.) GitHub MCP fallback: search PRs authored by the user in configured repos merged sincelast_syncinto the default branch (e.g.is:pr author:@me is:merged merged:>=<date> repo:<org/name>), requesting the body along with url/title/branch/merged_at, and save the raw JSON to the same temp file — the adapter accepts both shapes. Neither available? Use the git-local floor — the engine reads local history itself, no files needed:"${CLAUDE_PLUGIN_ROOT}/bin/waybill" sync-plan --local-repo <path-to-repo> --baseline(repeat--local-repoper repo;--since <iso>overrides the window). Or skip changes entirely — do the half that works.Plan (deterministic):
"${CLAUDE_PLUGIN_ROOT}/bin/waybill" sync-plan --tracker jira --items /tmp/waybill-items.json \ --git github --changes /tmp/waybill-changes.json --baseline \ > /tmp/waybill-plan.json(The plan prints to stdout — the redirect is what step 6 applies.)
The plan JSON contains:
shippedproposals (open entries whose issue is Done and PR merged — escrow and estimates carried forward),corrections(field drift — points, epic, sprint — plus rework transitions: an item reopened after shipping getsreopened: true, and a later re-resolve clears it; reports count these),orphans(Done items with no ledger entry, marked "Claude involvement unrecorded"),unmatched_changes(merged PRs with no tracker key — surfaced, never silently dropped), and a derivedbaselinewhen requested. Other trackers/hosts swap in the same flow:--tracker linear,--tracker github-issues,--tracker azure-devops,--git gitlab,--git bitbucket(fetch shapes per adapter: docs/adapters.md).- Present the plan as a short table and get one confirmation. If the user excludes rows, delete them from the plan JSON before applying.
- Apply:
"${CLAUDE_PLUGIN_ROOT}/bin/waybill" sync-plan --apply /tmp/waybill-plan.json— appends the entries with deterministic ids (re-applying is a safe no-op), updatesconfig.baselineif derived, setslast_sync, and commits. - Close with a two-line summary: entries added/corrected, orphans and
unmatched changes remaining. On a first-ever sync, offer the bootstrap
report (see the
reportskill) so the user leaves day one with a usable artifact.
Deriving a baseline
Pass --baseline to derive tier-2 evidence from the user's own history:
median points per sprint and median created→resolved cycle time over the
fetched window. Applying the plan records it in config.baseline with the
window and derivation noted. For a pre-Claude baseline, run a second
fetch over a window the user names (e.g. the two quarters before they
started using Claude Code) and apply only its baseline.
Failure handling
If a fetch path is unavailable or errors, say which one, do the half that
works (the git-local floor always works), and never substitute guessed
data for the missing half. Then help the user connect it — with commands,
not links: for GitHub, export GITHUB_MCP_PAT="$(gh auth token)" when an
authenticated gh CLI exists (check with gh auth status), else a
fine-grained read-only PAT from github.com/settings/personal-access-tokens;
for Jira, either acli jira auth login --web (install:
developer.atlassian.com/cloud/acli — the lighter path) or /mcp and the
Atlassian OAuth flow. "${CLAUDE_PLUGIN_ROOT}/bin/waybill" status prints
the same remediation.
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.

