Imported from shramee/ai-sdlc (
AGENTS.md). Install upstream withnpx skills add shramee/ai-sdlc. Copyright stays with the author.
ai-sdlc
Skills/subagents config for an agentic SDLC: a main agent (Claude Code)
orchestrates, and code gets written by opencode workers running inside
agent-sandbox containers. See
README.md for the full picture and docs/PLAYBOOK.md for how this maps to
the AI-native SDLC playbook.
The three layers
cli— mechanics only: git worktrees,ag-sbx/dockercalls,ghbookkeeping, the quality gate. No judgment about what to dispatch or whether work is good..claude/skills/sdlc-*— the runbook. Load the one matching what you're doing rather than improvising the workflow from scratch..claude/agents/reviewer.md— the judgment about code, gating every merge. Read-only, host-side, adversarial by design.
What to do, when
Work through the skills in this order for a fresh piece of work; jump to whichever stage you're actually at when resuming:
sdlc-intent— turn an ask intotemplates/intent.md, then split it intotemplates/spec.mdfiles.sdlc-dispatch— run a spec throughcli dispatch.sdlc-ship—cli ship: tests + quality gate, then push and open a PR.sdlc-review— thereviewersubagent gates the merge; remediate throughsdlc-dispatchand re-review.sdlc-sync— after a human merges, pull the default branch forward.
Anytime: sdlc-status (read-only
fleet view — run it before picking up new work) and
sdlc-checkout (the one sanctioned
exception for writing code directly instead of dispatching).
Division of labor
opencodeworkers (viacli dispatch) write and commit code. They never push and never open PRs — no GitHub credentials reach the sandbox.- The reviewer subagent judges code. It never writes to git state (see its own file for why) and its verdict never merges anything by itself.
- The orchestrating session (you) drives the skills above — branching,
validating, shipping, syncing — but does not write or commit code fixes
itself, even small ones a failed
cli shipsurfaces. Hand those tosdlc-dispatchon the same branch. The one exception issdlc-checkoutdirect-edit mode, entered deliberately and announced. - A human code owner approves the PR. Nothing in this repo merges a PR
without that — see
docs/REVIEW.md.
Working on this repo itself
bash -n cliafter every edit to the mechanics layer;cli configin a real consuming project is the cheapest end-to-end smoke test.- Nothing project-specific belongs in
cli— it all comes fromsdlc.confwith a sane default. A change that needs a project-specific branch needs a new config knob instead. quality/grade.sh . "" quality/thresholds.confshould stay green here — this repo eats its own quality gate.