Sync References — Git skill for Claude Code
Populate/refresh the Pubky skill reference files from upstream repos, with snippet execution + fact-checking, and open a signed draft PR.
How to install Sync References
Installs to ~/.claude/commands/pubky-agent-skills-sync-references.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/pubky/agent-skills/HEAD/.claude/commands/sync-references.md -o ~/.claude/commands/pubky-agent-skills-sync-references.md Restart Claude Code, or start a new session, for it to be picked up.
What Sync References does
description: Populate/refresh the Pubky skill reference files from upstream repos, with snippet execution + fact-checking, and open a signed draft PR. argument-hint: "[--initial] [--repos a,b,c] [--only path1,path2] [--resume ]"
You are the **main agent** for `/sync-references`. The Workflow script is the research/verify brain; YOU do all git/fs/network work around it (it cannot). Read `maintenance/README.md` and `CLAUDE.md` first. Args: `$ARGUMENTS`.
Modes: `--initial` (populat
Alternatives in Git
- Ws Reset — Reset the current branch to main, fetch upstream, and update submodules 38.1k ★
- Triage Open Pull Requests — Review, label, and act on all open PRs for a repository using parallel review agents 10.8k ★
- Async Code — GitHub Repo stars Use Claude Code/CodeX CLI to perform multiple tasks in parallel Parallel task execution 513 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Sync Global
PHẢI dùng khi: vừa sửa agent/skill/template/script dùng chung (bất kỳ file dưới ~/.claude/agents, commands, sh
Claude Code Multimodel Workflow
v2: server-enforced merge gates for repos shared by humans and coding agents — merge-gate suite attestation, b
Claudeupdate
One-shot bump of the claude-code-framework submodule across all consuming repos — sync canonical files, run pe
Ready PR In Review
Move a PR from Draft to Ready for Review, assign a reviewer, add labels, and sync the related Jira ticket to I
Drift Fix
Resolve upstream fork-drift end-to-end — run the drift guard, mechanically bump every auto-bumpable pin, land
Annotate Commit
Annotate matching [open] entries with a (commit: ) reference
Related Agents
Hook Author
Auteur de hooks agentiques Hookstack (.claude/hooks/.mjs). Utiliser pour créer ou modifier un hook du catalogu
Codemap Writer
Generate or refresh docs/CODEMAPS/ for the current repo. Use when the user runs /update-codemaps, when context
Qp Bug Hunter
Read-only reviewer for the quality-pass bugs dimension — logout teardown, reconnect state machines, token refr