ai-sdlc-kit
A spec-driven, test-first code factory for AI coding agents.
ai-sdlc-kit gives your coding agent an engineering team's workflow. It plans with you, writes the tests before the code, builds to those tests, and has a different model try to break the result — for one ticket or a whole PRD. Works with Claude Code, Cursor, Windsurf, and Gemini CLI.
Install
pip install ai-sdlc-kit # or: uv tool install ai-sdlc-kit
npm install -g ai-sdlc-kit # or: npx ai-sdlc-kit install
ai-sdlc install --agent claude # cursor | windsurf | gemini | all
install adds the skills, five stage subagents, the Bug Ledger MCP config, and — for Claude Code — two guard hooks. Existing config files are merged, never overwritten.
Quick start
/sdlc-init once per project: stack, code rules, git workflow, models
/plan <ticket> understand the problem and agree on a fix — no code yet
/factory <feature> spec → review → tests → build → QA, unattended after one review
Commands
| Command | What it does |
|---|---|
/sdlc-init |
Sets up .sdlc/: project facts, the code rulebook, git workflow, a model per role |
/roadmap <PRD> |
Splits a PRD into ordered, shippable features |
/plan <ticket> |
Traces the bug or feature through the real code and explains it — never writes code |
/design new|redesign|change |
Designs UI before code; keeps .sdlc/DESIGN.md |
/spec <feature> |
Turns the agreed plan into ≤ 8 tasks with contracts and verify commands |
/test <feature> |
Reviews the spec, then writes a focused test suite before the code exists |
/build <feature> |
Implements task by task until the tests pass — never edits them |
/qa <feature> |
Gate, adversarial review, blast-radius check, and UI check, in parallel |
/ship <feature> [--pr] |
Commits per your git workflow; --pr opens the pull request |
/factory … |
Runs the whole pipeline for any scope (below) |
/mentor |
Teaches you a topic or a codebase, one tracked lesson at a time |
/architecture-diagram |
Renders an HTML/SVG architecture diagram |
The factory
/factory <feature> one feature or ticket
/factory f1 f2 f3 several features
/factory --roadmap every open roadmap feature
/factory <PRD path> a whole project: roadmap first, then every feature
--auto no stops — a reviewer model replaces your review
--ship open one PR per feature (never merged for you)
It plans every feature, has the reviewer critique each plan, and stops once for your approval. Then it builds unattended: independent features run in parallel git worktrees, each passing feature merges into an integration branch, and a stuck feature is parked while the rest continue. Progress and resume commands live in .sdlc/RUN.md.
How it works
- Separate roles. Every stage runs in a fresh agent. The tester writes tests before the code; the builder can't edit them.
- A second opinion. A reviewer on a different model attacks every plan and every diff. Claude Code defaults: Opus 5.5 plans, Sonnet 5.5 builds, Opus 4.8 reviews.
- Evidence, not confidence. Claims about the code carry
[read path:line]or[ran cmd]; nothing ships on[assumed]. A QA finding blocks only with proof. - Focused tests. About 15 per feature, each naming the bug it catches.
- Readable plans. Each feature keeps a human
walkthrough.md, in simplified technical English, next to a machinespec.md. - Bug memory. Fixed bugs go to Bug Ledger after your yes, and every stage checks it before working in that area.
CLI
ai-sdlc install [--agent NAME] [--target PATH] [--global] [--force] [--no-bugledger] [--no-hooks]
ai-sdlc list # bundled skills, agents, and hooks
ai-sdlc ste-check FILE... # check a walkthrough against the writing rules
ai-sdlc --version
Requirements
- Python 3.9+ or Node 18+ for the CLI, and git
uvfor Bug Ledgerpython3on your PATH for the guard hooks- Optional: codebase-memory-mcp for faster caller search
Upgrading from 0.2.x
ai-sdlc install --agent claude --force # replaces /automate with /factory
Then run /sdlc-init in each project — it upgrades .sdlc/ in place.
Links
The writing rules are an unofficial paraphrase in the style of ASD-STE100; this project is not affiliated with or endorsed by ASD. ASD-STE100 is a trademark of ASD.
Metadata
Release files for ai-sdlc-kit 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ai_sdlc_kit-0.3.0.tar.gz | 68.2 kB | With provenance | Details for ai_sdlc_kit-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ai_sdlc_kit-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for ai_sdlc_kit-0.3.0-py3-none-any.whl |
Total release size: 152.3 kB
Release files / ai_sdlc_kit-0.3.0.tar.gz
| Download URL | ai_sdlc_kit-0.3.0.tar.gz |
|---|---|
| Size | 68.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
92e4e78297db95a2762ac17ecf455e7c2539dba64464fcadbdef79654b96592c
|
|
BLAKE2b-256 checksum How to use checksums |
81b8e740c5a4eaab475a21fb2481cebb078253cfd7762362296347b455339348
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 18, 2026.
Transparency logRelease files / ai_sdlc_kit-0.3.0-py3-none-any.whl
| Download URL | ai_sdlc_kit-0.3.0-py3-none-any.whl |
|---|---|
| Size | 84.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
08d43db2d73dc137a5e81578ac38a1c9e541522820b8e6679efdce03fb207d33
|
|
BLAKE2b-256 checksum How to use checksums |
a507d30316bde280d805982949d2d229ba6a38e74ef1d5a111eea70bb8fc61ca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 18, 2026.
Transparency logSecurity for ai-sdlc-kit 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for ai_sdlc_kit-0.3.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 18, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.