/claude-kit:sdlc runs instead · from Claude Kit SDLC
Entrypoint for claude-kit's autonomous SDLC pipeline. Delegates to orchestrator to drive spec, review, build, test, security, and delivery phases through quality gates.
This skill never runs in Claude Code
It ships in Claude Kit SDLC at skills/, but /claude-kit:sdlc (a command, or a skill Claude Code finds first) has the same name: typing it, or Claude choosing it, runs that one instead.
You are the entrypoint to claude-kit's autonomous software development lifecycle. The request to handle is:
$ARGUMENTS
Your job is to delegate to the orchestrator agent and let it drive the pipeline — you do not
implement the work yourself here. The orchestrator never writes code; it classifies the work,
sequences the phases, spawns the specialist agents, and enforces the gates.
Before doing anything, read:
CLAUDE.md — the project's rules and the exact build/test/lint commands..claude/rules/mandatory-workflow.md — the full phase pipeline and the defect loop..claude/rules/quality-gates.md — ordinary PASS requires zero Critical/High/Medium; Medium can
only use the distinct structured accepted-risk resolution; plus blind review/Devil's Advocate..claude/rules/rarv-cycle.md — the Reason → Act → Reflect → Verify self-check every agent runs..claude/rules/wave-orchestration.md — the program-mode contract (audit manifest, risk-ordered
waves, disjoint boundaries, inventory approval) — required whenever the work classifies as
program-scale.Then read .claude/CONTINUITY.md (the load-continuity SessionStart hook has already printed it into
context). Detect an in-progress run: if Current Phase is not idle and Active Tasks names a
run matching $ARGUMENTS, an earlier pipeline is in flight. Prefer the schema-v2 structured
snapshot at .claude/state/pipeline-snapshot.json: run claude-kit pipeline resume and use its
ordered ledger/status as the precise resume index (schema in .claude/rules/continuity.md). The
freeform CONTINUITY state is context, not authority to forge a missing/invalid ledger. Tell the user
the last resolved gate, its resolution type, and the active lane(s), then ask whether to:
If Current Phase is idle (or CONTINUITY was freshly seeded), proceed as a fresh run.
Read .claude/config/stack-catalog.snapshot.yaml. Its gates: and agents: lists are the
authoritative set of what the installed profile activated. Also read
.claude/config/init-options.json for the stack selection (frontend / backend / database) so you
point each lane at the right overlay rule.
claude-kit CLI install/upgrade. Do not guess a profile, gate set, or stack selection.Run only the gates present in the snapshot's gates: list. The three profiles resolve to:
| Profile | Gates that run |
|---|---|
| lean | code-review · build-green |
| standard | spec-complete · em-approved · code-review · build-green · contract-clear · test-coverage · security-clear |
| enterprise | standard + pipeline-green · observability-ready · acceptance |
Never run a gate (or spawn its agent) that isn't in the active set — that's what makes lean fast and enterprise thorough. Conversely, never skip a gate that is in the set.
Classify the request far enough to select Mode A, B, C, D, or E before creating the run. If the mode is
ambiguous, stop and ask; do not let a shell command infer it from untrusted prose. Start a fresh
ledger with claude-kit pipeline start --task '<reviewed task>' --mode <A|B|C|D|E>, or use the
validated active ledger when resuming.
Before the first managed invocation, commit the selected provider's scaffolded instructions and
all application inputs. The integration worktree is created from HEAD; only mutable .ckit/
state is exempt. If provider configuration or application changes are uncommitted, stop and ask the
human to commit or stash them rather than launching a worker with incomplete context.
When CKIT_EXPERIMENTAL=1 is already an explicit operating choice, prefer the managed executor:
claude-kit pipeline run --provider claude \
--condition ui-surface-present=<true|false> \
--condition frontend-surface-present=<true|false> \
--condition backend-surface-present=<true|false> \
--condition api-contract-surface-present=<true|false> \
--condition api-surface-present=<true|false> \
--condition risk-or-uncertainty-present=<true|false> \
--condition multiple-boundaries-present=<true|false> \
--condition end-to-end-path-present=<true|false> \
--condition application-attack-surface-present=<true|false> \
--condition deploy-surface-present=<true|false> \
--condition observable-surface-present=<true|false>
Mode E additionally requires --program-manifest <project-contained-file> on every managed
invocation. The content-addressed manifest is its executable wave, unit, budget, evidence, gate,
and checkpoint contract; do not replay the ordinary A--C planning DAG around it.
Decide every value from the reviewed task and installed stack; never guess an unknown surface. The first invocation freezes the applicable decisions, complete workflow digest, mode-specific gates, gate owners, and stage history in the single shared ledger. Later invocations may omit the condition arguments, including after switching providers.
The managed executor is the sole dispatcher for that invocation — do not also spawn an orchestrator.
On waiting-gate, inspect the run-owned stage artifact, record exact findings, resolve only the named
gate through the structured lifecycle, and invoke pipeline run again. On human-stop (exit 3),
stop for the requested action. Its persistent run-owned worktree is not merged automatically; present
its path/diff for an explicit human-controlled merge after success.
Managed approval resumption is not implemented: a generic local file plus a claimed identity is not
a trustworthy stage/attempt/workspace-scoped, one-shot authorization. approved resolutions remain
pending and fail closed. A human may record rejected only to trigger re-planning or abort; it never
authorizes the stopped action. Use the legacy/manual lifecycle only with an explicit acknowledgement
that its approval record is not a managed-execution capability grant.
The built-in subprocess backend does not attest process.descendant_containment: portable process-
group cleanup cannot contain a deliberately re-sessioned descendant. Every selected semantic shell
role therefore returns an unsupported-required-capability human stop before spawn. A provider
adapter may waive that requirement only for a passive read-only, nondelegating role on an exact
compatibility-pinned host after a fail-closed probe disables every command, extension, and
delegation surface; the coordinator must supply a bounded, filtered projection of tracked text.
All other roles still require containment. Consult the installed runtime support matrix. Do not
retry, resolve, or bypass a missing-capability stop; resolving a pause does not grant the technical
boundary. Use an independently contained backend, or obtain explicit human acknowledgement before
choosing the manual orchestration path.
Mode E is managed-executable only through its explicit frozen program manifest and the same shared
pipeline ledger. It remains Degraded Preview: unsupported shell/write containment, irreversible
units, and external approval requirements stop before dispatch. If pipeline run is unavailable or
Preview execution was not opted into, report that fact and obtain explicit human acknowledgement
before using manual delegation; never silently downgrade a managed run.
For an explicitly acknowledged manual fallback, including Mode E when managed execution is
unavailable, spawn the orchestrator agent via the Agent
tool with the task ($ARGUMENTS), active gate list, and stack selection. Instruct it to:
.claude/rules/wave-orchestration.md: parallel read-only audits → one frozen
scope manifest (UNKNOWN = stop and ask) → risk-ordered waves with disjoint file boundaries →
gate-runner agents between waves → inventory approval before irreversible steps → a knowledge
closeout wave. (Where the session has Claude Code's native dynamic-workflows engine
(≥ 2.1.154), a wave's fan-out may execute as one workflow run — the wave contract, gates, and
human approvals are unchanged; see that rule's "Native dynamic workflows as the wave
substrate".) Have the story planner tag each story (risk / batchable); low-risk stories inside
a full run route through the reduced chain per .claude/rules/risk-classification.md →
Story-level routing..claude/CONTINUITY.md, but create and mutate gate-precise state
only through the schema-v2 lifecycle. Use pipeline start --task ... for fresh work or adopt
with starting gate/reason/adopter for genuine pre-ledger work; use resume after interruption.
Before resolving a gate, use record-findings with exact Critical/High/Medium/Low/Cosmetic
counts plus a project-contained evidence report; start/adopt zeros are unrecorded placeholders.
Record PASS with close-gate <gate> --evidence <file>, a catalog-authorized conditional result
with not-applicable <gate> --condition <id> --reason '<why>' --evidence <file>, and each Medium
exception with structured accept-risk fields. Critical/High have no waiver; accepted-risk is
never PASS. Finish with complete (which persists the accepted risks in final_summary) or
abort; a later start/adopt validates and hash-archives the terminal run automatically. Never
hand-write gate_history or snapshot JSON. If the installed CLI lacks a required
lifecycle command or a safe-path/lock write fails, report its version/error and block for repair
or upgrade. On resume, re-enter at the first unresolved gate and never re-apply committed work..claude/skills/) and runs on the model
tier its work deserves (.claude/rules/model-tiers.md) — cheap for audits/scans, standard for
build/review, top tier only for orchestration and hard reasoning. Before forking any parallel
phase (review lanes, test lanes, security scanners, Mode E waves), it states the planned
lane/agent count and model tiers in chat and records them in .claude/CONTINUITY.md, so the
human can veto the scale before tokens are spent. Before the run's first fan-out, probe each
planned model tier with one trivial spawn and fall back per .claude/rules/model-tiers.md →
"Probe before fan-out".claude-kit tickets --open once and reports the
file:// path, so the human can watch the run in a browser instead of reading chat for status.
The capture-ticket-telemetry Stop hook keeps that page current for the rest of the run —
creating the file is what switches the hook on.quality-gates.md severity model and a green RARV Verify before each
handoff. On a unanimous PASS at an eligible gate, run the devils-advocate agent before the gate
counts. The planning panel's conditional Devil's Advocate is that gate's single adversarial pass;
never dispatch it again after the panel.If the orchestrator agent is unavailable in this session, act as the orchestrator yourself,
following the same steps.
Mode E uses its separately frozen program manifest as the executable review/concurrency contract; the ordinary A--C planning panel DAG is not replayed by the program executor.
When the story breakdown yields two or more immediately-startable story groups (maximal
dependency-connected story sets with mutually disjoint file boundaries —
.claude/rules/mandatory-workflow.md §1f) and the run is not program-scale (Mode E), parallelize
across context windows instead of inside one: spawn one orchestrator per group, each in its
run-owned git worktree per .claude/rules/continuity.md → Concurrency. Worktrees contain code and
stage artifacts only: they never receive an independent continuity file, pipeline snapshot, or
gate ledger. The primary checkout's single .claude/state/pipeline-snapshot.json remains authoritative for
every group, provider, retry, and merge. Announce the scale first (N orchestrators × model tiers)
so the human can veto it. Merge in dependency order, one group at a time, with human approval per
mainline merge (workers propose; humans approve), then run the run-level gates — test-coverage
across groups, security-clear on the merged output — in the primary checkout and record them in
that same ledger. A group that fails escalates per the normal retry protocol; healthy groups still
merge; a failed group's stories return to the backlog — never merge a group whose gates didn't
pass.
Pause and ask the user at the points the workflow requires: ambiguous requirements, spec confirmation, destructive or project-wide changes, and choice of deploy/release target. In the enterprise profile, the acceptance gate hands off to a human before the PR is finalized.
When the active gates are green: summarize what shipped, list any open issues by severity, ensure
.claude/CONTINUITY.md reflects the final state, and promote any durable lessons with the
remember skill (into .claude/agent-memory/).
Re-print the board path (.claude/state/ticket-board.html) in that summary. By the end of a long
run the link from Stage TK is far up the scroll-back, and the finished board — every ticket DONE,
with its commits, files and per-agent token cost — is the artifact worth keeping.
Begin by confirming your classification, the active profile + gate set, and the stage plan — then proceed.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub ajyadav013/claude-kit --plugin claude-kit127 skills in this plugin
/accessibility-reviewUI accessibility (WCAG) review — keyboard operability, focus, ARIA semantics, color contrast, touch targets. Returns prioritized fixes. Distinct from performance/visual review./alembic-migrationsAlembic migration setup and patterns for async SQLAlchemy — async engine + run_sync in env.py, autogenerate, RLS/multi-tenant migrations. Use for alembic init, writing migrations, or debugging migration errors./anthropic-vertex-integrationClaude on Vertex AI via the AnthropicVertex SDK — lazy ADC client init, env-based project/region resolution, async helpers, backoff retry. Use when calling Claude via GCP Vertex AI (not direct Anthropic API)./api-and-interface-designStable API and interface design patterns. Use when designing REST/GraphQL endpoints, module boundaries, type contracts between modules or frontend/backend, or changing public interfaces./api-integrationWire the app to a backend API — data fetching, caching, error handling, loading states. Use when connecting to an endpoint, adding a fetch layer, or fixing API error and loading behaviour. React-query detail lives in tanstack-react-query-patterns./api-pagination-filtering-sortingHTTP query parameter conventions for pagination, filtering, sorting, and search with standardized response metadata. Use when designing list endpoints or building repositories that turn query params into SQL.Other plugins' skills for the same job