agentleFS
wookiya1364wookiya1364/scv-claude-code/skills/handoff/SKILL.md

handoff

Skill9 starsChanged 4 months agoMITView on GitHub

Declare that another repo needs corresponding development: write a handoff (+ decision + conversation) into the workspace root scv repo. Multi-repo (nested) only. Use whenever work in this repo implies a change another repo must make — not only when they type /scv:handoff. Never leave that dependency in prose; this command records it where the other repo will see it.

191 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use decision-mapping, setup-ts-deep-modules and 10 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.
  • FabienDehopreSkill

    decision-mapping

    Turn a loose idea into a sequenced map of investigation tickets, then drive them to resolution one at a time.

    Also in 8 projects that use this

  • liufeng1976Skill

    setup-ts-deep-modules

    Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its entry-point files. User-invoked.

    Also in 52 projects that use this

  • RoentekSkill

    loop-me

    Grill me about specs for the workflows I want to build, within this workspace.

    Also in 63 projects that use this

  • AWSSkill

    to-questionnaire

    Turn a decision you can't fully answer into a questionnaire for someone else to fill in.

    Also in 110 projects that use this

  • GoogleSkill

    ask-matt

    Ask which skill or flow fits your situation. A router over the skills in this repo.

    Also in 107 projects that use this

  • LesaniSkill

    writing-fragments

    Grilling session that mines the user for fragments — heterogeneous nuggets of writing (claims, vignettes, sharp sentences, half-thoughts) — and appends them to a single document as raw material for a future article. Use when the user wants to develop ideas before imposing structure, or mentions "fragments", "ideate", or "raw material" for writing.

    Also in 67 projects that use this

The file

We split this skill into the rules it gives an agent

6 rules. 0 are common, 2 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 172 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Only meaningful when this repo is a workspace CHILD or ROOT (it has an SCV:WORKSPACE block with a root: set — see /scv:sync --join).

    line 21
  2. Distinctive:

    No code values before the user asks — identifiers the user acts on stay exact, after the plain summary.

    line 38
  3. Very specific:

    If to_repo or intent is ambiguous, ask one concise clarifying question.

    line 53
  4. Distinctive:

    If it prints a graceful-degrade message (root unreachable), tell the user the handoff could not be propagated yet and that local work is …

    line 68
  5. Very specific:

    Never push without that explicit consent (no standing license from a prior push).

    line 80
  6. Very specific:

    When the umbrella and its modules live in one git repo, you can address a module without cd-ing into it by giving its dir as the leading …

    line 91

“Common” is measured: kept by at least 6 in 10 of the 172 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.

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

/scv:handoff

Producer side of the nested multi-repo loop. Use it AFTER you (in this child repo) have made or planned a change that requires corresponding development in another repo (e.g. FE shipped a button that needs a new BE endpoint). It records the explicit decision + the why and propagates them to the shared workspace root scv repo, so the other repo sees it on git pull (/scv:status).

This is an explicit, human/Claude Code-judged declaration — SCV never infers cross-repo need from a code diff.

Mode

Only meaningful when this repo is a workspace CHILD or ROOT (it has an SCV:WORKSPACE block with a root: set — see /scv:sync --join). In a plain single repo it is a no-op (prints a notice and exits). Run nothing manually to check — the script resolves the mode itself.

Language preference

Resolve the user's preferred language from scv/scv_settings.json SCV_LANG, then the latest user message, then English. Use it for all user-facing prose. Keep technical identifiers as-is (repo_id, handoff_id, skill invocations, paths).

Plain language first

Skip this section only when scv/scv_settings.json sets SCV_PLAIN_LANGUAGE=off (absent or any other value = on). The per-turn hook carries the answer shape; its body is contracts/writing.md 1–4: a bold topic line, the result first in a short lead without a bullet (no sentence or length count), then bullets — connected reasoning as one short paragraph. No code values before the user asks — identifiers the user acts on stay exact, after the plain summary. Bad: a paragraph of paths. Good: Topic / the result / - why. This governs everything the user reads.

Recording

Turns are recorded per core/contracts/recording.md.

Protocol

  1. Identify the target + intent from the user's argument and the current work:
    • to_repo — the repo id that must do corresponding dev (e.g. be, ai).
    • a short slug (3–5 kebab words), a one-line title.
    • decision — needed (default), maybe, or not-needed (record a no-op decision too, so the trail is complete).
    • optionally from_slug (the originating promote/archive slug) and a PR url. If to_repo or intent is ambiguous, ask one concise clarifying question.
  2. Author two short artifacts (this is the real value — make them good, because they ARE the handoff; no synchronous conversation will happen):
    • Body (the WHAT): write to a temp file, e.g. /tmp/scv-handoff-body.md, with ## What <to_repo> must build and ## Acceptance for the receiving repo (concrete, testable bullets — these seed the consumer's TESTS.md).
    • Why (the rationale/conversation): write to /tmp/scv-handoff-why.md.
  3. Write + commit to the root (commits locally; does NOT push):

    "${CLAUDE_PLUGIN_ROOT}/scripts/handoff.sh" write --to "<to_repo>" --slug "<slug>" --title "<title>" --decision "<needed|maybe|not-needed>" [--from-slug "<slug>"] [--ref-pr "<url>"] --body-file /tmp/scv-handoff-body.md --why-file /tmp/scv-handoff-why.md

    If it prints a graceful-degrade message (root unreachable), tell the user the handoff could not be propagated yet and that local work is unaffected — retry when the root is reachable.

  4. Push — ask first, every time (choice tool when the host names one, contracts/choices.md): "Push this handoff to the workspace root (<root>)? It becomes visible to the other repo on their next pull." Only on explicit yes:

    "${CLAUDE_PLUGIN_ROOT}/scripts/handoff.sh" push

    Never push without that explicit consent (no standing license from a prior push). On a successful push, if a notifier is configured (scv/scv_settings.json NOTIFIER_PROVIDER = slack|discord, with a channel), SCV best-effort pings the team channel so the other repo's owner knows to pull. No notifier configured → silent no-op.

  5. Summarize: the HANDOFF_ID, the target repo, and the next step for the receiver — "In the <to_repo> repo: git pull the root, then /scv:status shows it; /scv:promote from the handoff, then /scv:codegen."

Monorepo (nested scv) — optional module target

When the umbrella and its modules live in one git repo, you can address a module without cd-ing into it by giving its dir as the leading argument:

bash "${CLAUDE_PLUGIN_ROOT}/scripts/handoff.sh" "<module>" write --to "<to_repo>" --slug "<slug>" --title "<title>" …

e.g. handoff.sh fe write … operates on fe/scv exactly as if run from inside fe/. Omit the module to use the current directory's scv/ — single-repo and cd-into-child behavior is unchanged (byte-identical). The same optional leading module arg works for list / adopt / mark / push.

Reserved names. The leading arg is only peeled when it is NOT a subcommand keyword. So a module directory named exactly write / push / list / adopt / mark cannot be reached by the leading-arg form (the subcommand wins) — address such a module by cd-ing into it instead. Keep module dir names distinct from these keywords (the FE / BE / AI convention already is).

Notes

  • Fan-out to multiple repos = run once per target (one handoff file each; addressing stays 1:1).
  • The decision + conversation are committed in the root repo (durable, cross-repo visible) — distinct from the single repo's own committed scv/conversations/ / scv/DECISIONS.md (v0.22.0+), which stay repo-local.
  • Staging is explicit-path only; the command never runs git add -A.

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.