From adlc
Routes agentic development work to the right Agentic Development Lifecycle (ADLC) gate. Use when shaping a spec or ticket, deciding how to fan out work to models, protecting frozen rails during a build, prosecuting a change before merge, or distilling repeated review findings into defenses. Triggers on "shape this spec", "is this ticket ready", "freeze these tests", "prosecute this change", "is this safe to merge", "ADLC", "which gate", "spec-lint", "premortem", "coldstart", "rails-guard", "hollow-test", "behavior-diff".
How this skill is triggered — by the user, by Claude, or both
Slash command
/adlc:adlcThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
The Agentic Development Lifecycle treats agentic development as phases with
The Agentic Development Lifecycle treats agentic development as phases with
explicit, machine-checkable gates. Each gate is a CLI invoked through the
umbrella dispatcher: adlc <tool> [args]. Every tool exits 0 = gate passes,
1 = operational error, 2 = gate fails. Identify the phase, run the gate.
Claude is the model. Every LLM-backed gate supports --prompt-only: it
prints the exact prompt and exits without calling any provider. Inside Claude
Code you do not need API keys — run the tool with --prompt-only, answer the
printed prompt yourself, and apply the judgment. Prefer this over wiring keys.
Prerequisite: the toolkit must be installed (adlc --version works). If not,
the user runs npm i -g @adlc/cli. Run /adlc-init once per repo to create the
.adlc/ workspace.
Vague request, no ticket yet? ───────────────→ P0 /adlc-ticket
Have a spec / acceptance criteria? ──────────→ P1 adlc spec-lint · premortem · parallax
Have tickets, planning fan-out? ─────────────→ P2 adlc coldstart · model-router · merge-forecast
About to build, want to freeze tests? ───────→ P3 adlc rails-guard
Mid-build, agent looping or drifting? ───────→ P4 adlc flail-detector
Hard failing test, need a repair? ───────────→ P4 adlc consensus-fix
Change done, pre-merge prosecution? ─────────→ P5 adlc hollow-test · behavior-diff · review-calibration
Recording / showing gate evidence? ──────────→ — adlc gate-manifest
Repeated review findings to bank? ───────────→ P7 /adlc-distill (lesson-foundry · rejection-mining)
Mine the repo for reusable skills? ──────────→ P7 skill-mining (npx skills add voodootikigod/skill-mining)
Idle-time / post-drift maintenance? ─────────→ — /adlc-maintain (skill-rot · model-ratchet · gate-fuzzing)
/adlc-ticketTurn a request into a self-contained ticket in .adlc/tickets.json. Everything
downstream reads this file; nothing else creates it. Author here first.
adlc spec-lint <spec.md> — every acceptance criterion needs a concrete
verification method; a "wish" with no method gate-fails (exit 2). Add --llm
(or --prompt-only) to also catch vacuous methods.adlc premortem <spec.md> [--prompt-only] — stress-test the approved spec for
failure modes before implementation.adlc parallax --request "…" (or --file req.md) — fan out readers to expose
ambiguity, edge conflicts, or route conflicts. The accuracy dial (D3).adlc coldstart <ticket-id> --prompt-only (or --all) — gate ticket
executability. LLM-backed: in Claude, use --prompt-only and answer the
printed audit yourself (the bare form needs an API key and exits 1 without one).adlc model-router [--floor <n>] — assign tickets to frontier/direct/ladder
model strategies. The cost dial (D1).adlc merge-forecast — estimate fan-out width, dependency pressure, and merge
backpressure. The time dial (D2).adlc rails-guard --base <ref> --ticket <id> — diff-based check that no
committed change touched a frozen rail (exit 2 = a rail was edited). This is the
unbypassable commit-time backstop; run it in CI. The plugin's PreToolUse
rail hook is the in-session layer: it precisely denies Edit/Write/MultiEdit to
declared rail paths and freezes .adlc/tickets.json itself once rails exist.
Bash is not gated in-session — a shell can't be reliably parsed, so rail
mutations via Bash are caught by the CI diff gate (any spelling), not the hook.
Wire that gate with the template at docs/ci/rails-guard.yml and make it a
required check. Override deliberately with ADLC_RAILS_BYPASS=1 (recorded to
the manifest).adlc flail-detector <log-file> [--scope <glob>] — detect repeated errors,
scope violations, edit churn, oversized logs.adlc consensus-fix --test-cmd "…" --files a.mjs,b.mjs — for a hard failing
test, fan out independent candidate repairs and select a gated consensus
winner. Exploits the generator–verifier gap (E1).adlc hollow-test --test-cmd "node --test test/" — mutate changed code to find
tests that pass without actually testing the behavior.adlc behavior-diff capture … / compare before.json after.json — make
behavior change visible for the P6 human gate.adlc review-calibration --review-cmd "… {base} …" — measure reviewer recall
by scoring whether review catches injected mutants ("who reviews the reviewer").This gate is a human decision, not something an agent passes. Surface the
evidence: adlc gate-manifest show and the behavior-diff compare output, then
let the human decide. Record outcomes with adlc gate-manifest record <gate>.
/adlc-distilladlc lesson-foundry --prompt-only — mine repeated findings into deterministic
defenses (lint checks, skills). LLM-backed: answer the printed prompt yourself.adlc rejection-mining --prompt-only — mine human PR rejections into reusable
review lenses (needs the gh CLI). /adlc-distill runs both.P7 has a second, complementary axis — mining the codebase itself (not its review findings) for reusable capabilities:
npx skills add voodootikigod/skill-mining, then "mine this
repo for skills") — surveys git churn/conventions/patterns, scores candidates on
a five-axis rubric, dedups against installed skills + the skills.sh registry,
red-teams each authored SKILL.md with a fresh-context agent (Gate B), and emits
a SKILLS_MINED.md report. It is an agentic skill, not a deterministic adlc
gate (no --prompt-only/exit codes). Two uses: (a) standalone, to bootstrap a
repo's skill portfolio; (b) as the validation/registry step for SKILL.md stubs
that /adlc-distill's lesson-foundry scaffolds — dedup + Gate B before they PR.
lesson-foundry emits stubs; skill-mining manages the registry./adlc-maintainadlc skill-rot [path…] — flag skill files with stale validation metadata.adlc model-ratchet --dry-run — identify hot files to re-prosecute after model
or repo drift (a plan, not a gate).adlc gate-fuzzing --suite .adlc/gate-suite.json --prompt-only — play the
adversary against the gate suite to find calibration gaps (needs a suite file)./adlc-maintain runs these; the deterministic two also run on a cron
(docs/ci/adlc-maintenance.yml).--json to any tool for machine-readable output when orchestrating.--write/--record/--append
flag to actually mutate.adlc <tool> --help for a tool's exact flags and exit-code specifics.Provides CDSS development patterns for drug interaction checking, dose validation, clinical scoring (NEWS2, qSOFA), and alert classification integrated into EMR workflows.
npx claudepluginhub voodootikigod/adlc --plugin adlc