/shared:upstream-convergencefrom shared
Safely synchronizes a maintained downstream fork with its upstream repository, handling snapshot integrations and guarded cutovers with provenance tracking and validation.
Ships in shared. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Safely move a maintained fork to a pinned upstream commit without silently discarding product-owned behavior or turning historical commit archaeology into the recurring workflow.
A completed refresh reports:
HEAD, merge base, local commit, upstream
commit, canonical remote URL, and remote-tracking tip;Never describe a refresh as complete merely because it compiles or merges.
The shared skill owns trigger recognition, safe orchestration, phase boundaries, reporting, and handoff. The repository owns all product policy and enforcement:
Do not copy repository-specific rules into this skill. Read root AGENTS.md,
then locate upstream/convergence-policy.json and the repository-local driver.
Read references/repo-adapter.md before executing that driver.
AGENTS.md files and the active GitHub plan.$github-plan for durable status and
$github for PR operations. Chat plans are execution aids, not recovery state.Create or select a focused linked worktree from the intended integration head. Never edit the default branch, a shared release/candidate branch, the primary checkout, or another session's worktree. Never reset, stash, clean, switch, or delete another session's state.
Read references/git-safety.md when worktrees, concurrent sessions, remote
identity, provenance, resource pressure, or rollback are relevant.
inspect phase with those exact IDs.Do not make commit-by-commit inspection the normal integration unit. Use it only for a bounded red/manual contract or forensic question that the range inventory cannot answer.
Apply the pinned upstream range in the isolated worktree. Preserve upstream behavior by default, synthesize only repository-named contracts, and resolve governance conflicts manually. Do not auto-resolve product identity, state-home, authentication, release, model-default, or other red/manual boundaries.
Review source and build-system changes before running candidate-provided builds, hooks, generators, or package scripts. Structural inspection is safe to perform first; untrusted execution is not.
Use the repository driver's phases rather than rewriting Git plumbing:
record writes one new snapshot atomically and refuses overwrite;validate checks governance wiring, semantic guards, snapshot structure and
reproducibility, and historical snapshot mutation against a pinned base;Never regenerate a pre-anchor ownership baseline from the current candidate. Never rewrite an existing snapshot to match a newer classifier. Version the policy and preserve the historical evidence instead.
Use independent agents for semantic-contract, security/provenance, and operations/release review when those surfaces changed. Give reviewers exact worktree and commit provenance; discard reviews performed against the wrong checkout.
Commit and push only a focused task branch. Open or update a PR rather than
pushing directly to the default or shared candidate branch. Read
references/review-handoff.md before updating durable status or PR evidence.
When a repository adds routing to this skill in the same rollout, land the shared skill first and reconcile the active runtime skills checkout before landing the repository route.
Refuse write phases when any of these are true:
Ask the user only for a genuine product-policy decision, unavailable credential, or irreversible live-system authorization. Resolve ordinary Git, test, and review work autonomously.
Return a bounded status containing exact SHAs and provenance, conflict/residual counts, affected lanes/contracts, governance changes, guard and waiver counts, tests performed, PR/check state, blockers, and the next safe action. Keep large path sets in generated artifacts rather than terminal output.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
Generated from the plugin's indexed repository (cbusillo/codex-skills) — no native marketplace selected
npx claudepluginhub p/cbusillo-shared27 skills in this plugin
/babysit-prBabysit a GitHub pull request by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep watching open PRs so fresh review feedback is surfaced promptly. Use when the user asks to monitor a PR, watch CI, handle review comments, keep an eye on failures/feedback, or when PR diagnosis, update/rebase/rerun work, safe-to-exit checks, or merge confirmation turns into ongoing CI/review/merge follow-through./directionUse when the Director starts a direction session, asks for a north star, dead reckoning, a daily or weekly direction check, a direction audit, or milestone proposals; when a repository's DIRECTION.md must be created or changed; or when an executing agent holds a reviewer finding that would change an agreed outcome, in either direction, and must escalate it instead of acting. The Director decides, the direction agent drafts and argues with evidence. Not for planning work inside a milestone (github-plan) or for running a reviewer (model-review)./docs-lookupUse when the answer depends on external docs, environment-specific operational context, or facts about the user's own setup, including devices, radios, networks, accounts, or what is installed where. Look up setup facts in the user's docs or reachable systems before asking the user. Includes discovering source-of-truth docs and access paths for private operations such as DNS or Cloudflare records, and finding where a credential, API token, or secret is stored, but not performing infrastructure actions or mutations./frontend-designGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults./githubComprehensive GitHub Expert persona for repository execution and hygiene: PRs, branches, Actions, reviews, merge/deploy state, issue comments, and safe cleanup. For durable planning, roadmaps, blockers, Projects, or workstream graphs, use github-plan./github-planUse when the user asks for a plan, what's next / what is next in a plan or workstream, how work fits the plan, plan direction/alignment, durable work tracking, roadmap, workstream planning, GitHub issue-backed planning, issue graphs, parent issues, sub-issues, blockers, milestones, Projects. Use declared repo docs before private operational lookup; use docs-lookup only for missing operational context. Think in chat first, then keep long-running work aligned over time by updating Current Status, blockers, relationships, and issue graph state as reality changes.