sdlc-handoff

sdlc-handoff is a command for Claude Code from MCKRUZ/claude-code-sdlc. It costs 0 tokens per session (1,365 once invoked), scanned A, original, MIT.

A hand-off command for moving a ready software specification to a developer. It creates the work branch, updates its status and owner, assigns the work in the code-hosting service, and can start Claude Code in planning mode.

In plain words
What is it for?
Use it when passing a specification from planning to implementation, including creating the branch, assigning the developer, requesting a review, and starting the developer's planning session.
Why use it?
It removes several manual steps and helps prevent work being assigned to the wrong person or started before the specification is ready.

Command for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the claude-code-sdlc plugin — 10 skills, 32 commands, 21 agents, 1 hook shipped together

Good fit Use it when passing a specification from planning to implementation, including creating the branch, assigning the developer, requesting a review, and starting the developer's planning session.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add MCKRUZ/claude-code-sdlc
Claude Code
/plugin install claude-code-sdlc

Made for: Claude Code.

Or install claude-code-sdlc, the plugin that ships this one along with the rest of its 10 skills, 32 commands, 21 agents, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for sdlc-handoff

README.md
[![agentmods](https://agentmods.dev/badge/commands/mckruz/claude-code-sdlc/sdlc-handoff/github.svg)](https://agentmods.dev/commands/mckruz/claude-code-sdlc/sdlc-handoff)
Your own site
<a href="https://agentmods.dev/commands/mckruz/claude-code-sdlc/sdlc-handoff"><img src="https://agentmods.dev/badge/commands/mckruz/claude-code-sdlc/sdlc-handoff/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for sdlc-handoff

Your own site · 80×15
<a href="https://agentmods.dev/commands/mckruz/claude-code-sdlc/sdlc-handoff"><img src="https://agentmods.dev/badge/commands/mckruz/claude-code-sdlc/sdlc-handoff.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,365 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.01365
Opus 5.5 $0.00000 $0.00546
Sonnet 5.5 $0.00000 $0.00273
Haiku 4.5 $0.00000 $0.00136

Measured 9d ago against content hash 7be245353551, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sdlc-handoff scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/sdlc-handoff.md · 90 lines

How it starts

The opening of the file, as written. The whole thing — 90 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/sdlc-handoff — Hand a Ready Spec to a Developer

Turn hand-off into one step: create the spec's branch, set its status/developer frontmatter, assign the developer on the code host (and request a review from the spec's checker, when one is set), and optionally start Claude Code on that branch in plan mode. This is the Delegate beat's tool — the moment the loop's roles change hands.

Instructions

  1. Resolve mode and repo root:

    • Workflow mode (default): look for .sdlc/state.yaml. The repo root is the directory containing .sdlc/.
    • Standalone mode (--repo <path>, or no .sdlc/ found): operate on the given repo.
  2. Confirm the spec and developer with the user if either wasn't given explicitly — do not guess who a spec should go to.

  3. Run the hand-off (the command owns the script — the user never calls it directly):

    uv run --project ${CLAUDE_PLUGIN_ROOT}/scripts ${CLAUDE_PLUGIN_ROOT}/scripts/handoff.py \
      --repo <repo-root> --spec <repo-root>/specs/NNNN-name.md --developer @handle
    

    In workflow mode pass --state .sdlc/state.yaml instead of --repo.

    The assignment step speaks to whichever code host the repository's origin remote is on — GitHub through gh, Azure DevOps through az (with the azure-devops extension). Detection is automatic; pass --host github|azure-devops|none only when the user asks to override it for this one run (none tries gh, as before). Do not add it to work around a CLI that is missing or signed out — the script already reports that as the assignment failure.

    • Refused — the script prints exactly what blocked it (not ready, unknown developer, developer is also the checker, team at its WIP limit) and changes nothing. Fix the named issue and re-run; do not work around a refusal by editing the spec's frontmatter by hand — the refusal exists because the script is about to act on that data.
    • Team at its WIP limit — do not add --over-limit yourself. Tell the user the team is at capacity and ask whether to proceed anyway; only add --over-limit "<their reason>" on their explicit say-so, and use their own words as the reason (it is written into the commit message).
    • Already in flight — the script reports the developer already on file and changes nothing. This is not an error; report it plainly.
    • On Azure DevOps, assignment_error with the PR still opened — Azure DevOps names reviewers by sign-in identity, not by handle, so the checker becomes a required reviewer only when their roster entry in .sdlc/team.yaml carries an email:. Without one the draft PR opens with the gap written into its description and the script reports an assignment_error; the hand-off itself succeeded. Tell the user to add the checker's email: (set_setting.py person @handle --email …) and request the review by hand this once. The developer is named in the PR description — Azure DevOps has no assignee.

Read the full file on GitHub · 90 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago Changed · +19 lines 7be245353551
  2. 21d ago First seen · 71 lines · 0 tokens per session scan A 244da9ca8247

Subscribe to this mod's changes

sdlc-handoff is a command published in the GitHub repository MCKRUZ/claude-code-sdlc (8 stars, last pushed 9d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,365 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-26.