The open-source AI-native SDLC platform.
Ship software faster with AI — without losing control, traceability, or engineering discipline.
15 stages · 8 roles · 6 stacks · Agents · Skills · Rules · One sdlc CLI
Works in Terminal · Cursor · Claude Code
Problem · Why · Quick Start · Features · Architecture · Who It's For · Docs · Contributing
Every engineering team using AI today runs into the same wall:
- Fragmented prompts — every engineer has their own AI workflow, nothing is shared
- Zero traceability — a PR ships and nobody can trace it back to a requirement
- "Release readiness" is tribal knowledge — it lives in 2 people's heads
- Governance is either absent or a bottleneck — AI acts without human approval, or gates are so heavy nobody uses them
- New engineers take weeks to onboard — because "how we work here" isn't written down
AI moves fast. Process doesn't keep up. Quality suffers.
One CLI. Every team. Every IDE. Full traceability. Humans stay in control.
| Without AI-SDLC | With AI-SDLC |
|---|---|
| Every team invents their own AI workflow | Shared stages, agents, skills, and rules — one playbook |
| Traceability is manual and often missing | PRD → Master Story → Sprint → Task → Branch → PR → ADO — automatic chain |
| Onboarding a new engineer takes weeks | sdlc doctor + offline User Manual — productive from day 1 |
| Quality gates are informal | Pre-commit hooks, rules, and template DoD enforce quality at the right moments |
| AI makes changes without asking | Ask-first protocol — AI proposes, human approves every gate and destructive action |
| Token costs are unpredictable | Budget per role, visible via sdlc tokens, module slices cut waste |
git clone https://github.com/YOUR_GITHUB_USER/ai_sdlc_platform.git
cd ai_sdlc_platform
./setup.sh /path/to/your/project # or just ./setup.sh for in-repo use
sdlc doctor # verify hooks and health
sdlc use backend --stack=java # pick your role and stack
sdlc context # confirm current state
sdlc run 05-system-design # jump into any stageIDE integration — zero extra config after setup:
| Interface | How |
|---|---|
| Cursor | Use /project:* slash commands; rules auto-load from .cursor/rules/ |
| Claude Code | Skills and rules available via .claude/ symlinks |
| Terminal | Full sdlc CLI — same commands everywhere |
Full install walkthrough: SETUP_GUIDE.md
Offline searchable manual: User_Manual/manual.html — open in any browser after clone
A numbered, named stage for every phase — intake through post-release close. Smart routing skips unnecessary stages based on change type, so a config change doesn't run the full 15-stage gauntlet.
| Route | Stages | Use case |
|---|---|---|
NEW_FEATURE |
All 15 | New capability end-to-end |
BUG_FIX |
~10 | Fix with full test cycle |
HOTFIX |
~4 | Critical fix, fast path |
CONFIG_CHANGE |
~5 | Env vars, feature flags |
REFACTOR |
~10 | Quality work, behavior unchanged |
PRD → Master Story → Sprint Story → Tech Task → Branch → PR → ADO Work Item
sdlc story create sprint # scaffold a sprint story from template
sdlc story validate # check AC format, traceability
sdlc story push # push to Azure DevOps as linked work itemAI never acts without asking. Every destructive action, state change, and gate transition requires explicit human approval. Not as a block — as a habit.
AI: "I plan to modify 3 files for US-1234:
1. UserService.java — add validation
2. UserController.java — new endpoint
3. api.yaml — update contract schema
Proceed? (1) Yes (2) Edit plan (3) Cancel"
For changes touching multiple files, the platform enforces a serialized workflow with human approval at each phase — no silent rewrites.
sdlc run 08-implementation # triggers RPI loop for the current taskDesign and implementation stay anchored to real artifacts, not abstract bullets:
- Design template §0 captures existing paths, contracts, and backward-compatibility risks before any code is written
- Module knowledge (
.sdlc/module/) refreshed withsdlc module update .; loaded efficiently withsdlc module load api(not the whole tree) - Rules enforce regression-aware testing at implementation complete (
rules/repo-grounded-change.md)
sdlc module init . # generate module knowledge for your app repo
sdlc module show # compact overview
sdlc module load api|data|events|logic # load only the slice you need
sdlc module validate # check for breaking changes before merge22 hooks covering: secrets detection, commit message format, documentation sync, token budget checks, module contract validation, semantic memory sync, and pre-merge test enforcement. Issues caught at commit — not at PR review.
Semantic Memory Hooks:
semantic-memory-pre-commit.sh— Exports active semantic memory to JSONL for team syncsemantic-memory-post-merge.sh— Imports team semantic memory after pull/merge
Pre-merge Test Enforcement:
pre-merge-test-enforcement.md— Policy requiring tests to pass before merge (with structured bypass viasdlc skip-tests)test-bypass-escalation.sh— Escalation workflow for test bypass approval
10 quality gates. All advisory. AI validates evidence and surfaces findings. Humans decide to proceed, fix, skip, or pause. No bottlenecks; full audit trail.
Roles → Agents → Skills → Stages
├── agents/ # AI personas — compose skills, no duplicated logic
├── skills/ # Atomic, single-responsibility capabilities
├── rules/ # Governance: ask-first, gates, traceability, quality, tokens
├── stages/ # 01-requirement-intake → 15-summary-close
├── stacks/ # Stack conventions: Java, Kotlin/Android, Swift/iOS, React Native, JMeter, Figma
├── roles/ # 8 role definitions with token budgets
├── cli/ # sdlc CLI (Bash + completions) + utilities (ado-html-to-validator-md.js)
├── hooks/ # 22 git hooks + semantic memory sync
├── templates/ # PRD, 4-tier stories, design, ADR, test plans
├── workflows/ # Workflow YAML (full-sdlc, quick-fix, perf-cycle, …)
├── orchestrator/ # Smart routing, gate enforcement, ADO observer (2-way sync)
├── memory/ # Semantic memory system (SQLite + JSONL team sync)
└── User_Manual/ # Markdown manual + searchable manual.html (see build-manual-html.mjs ORDER)
Context loading is tiered: Tier 1 (always) → Tier 2 (if space) → Tier 3 (on demand). Stage files specify exactly what to load. See
User_Manual/Architecture.md.
| Role | What you get |
|---|---|
| CTO / Engineering Director | Org-wide governance, audit trail, token cost visibility, extensible without rewrites |
| Engineering Lead | Architecture enforcement, cross-pod contract validation, quality gates |
| Developer | One CLI, atomic skills, guided error recovery, RPI workflow |
| Product Manager | Story pipeline, PRD-to-ADO traceability, grooming flows |
| QA Engineer | Test design stage, regression scope in templates, pre-merge enforcement |
| TPM | Sprint visibility, gate status, cross-team dependency tracking |
- Atomic skills, thin agents — skills have single responsibility; agents compose them, never duplicate logic
- Ask-first — AI proposes, humans decide; no silent production actions ever
- Gates inform, don't block — advisory checkpoints with justifiable skip; not bottlenecks
- Repo-grounded — work anchors to real files, contracts, and tests; not abstract descriptions
- Token-aware — smart context loading per stage; sliced module access; budget per role
- Single source of truth — one
User_Manual/, one CLI, one registry per asset type
Everything lives in User_Manual/ — one hub, one source of truth.
| Need | Read |
|---|---|
| Browse offline (searchable HTML) | User_Manual/manual.html — open in browser after clone |
| What is this? | System Overview |
| First run | Getting Started |
| Commands reference | Commands |
| End-to-end happy path | Happy Path End to End |
| Agents, skills, rules inventory | Agents Skills Rules |
| ADO / MCP integration | ADO MCP Integration |
| Semantic Memory System | Persistent Memory |
| Pre-merge Test Enforcement | Pre-Merge Test Enforcement |
| Cursor / Claude / CLI | CANONICAL_REPO_AND_INTERFACES |
| Architecture deep-dive | Architecture |
| Troubleshooting | FAQ |
The platform includes git hooks that automatically regenerate User_Manual/manual.html whenever documentation files change. No manual intervention needed.
Setup hooks (one-time):
# Linux/Mac:
bash hooks/setup-hooks.sh
# Windows:
setup-hooks.cmdHow it works:
- Pre-commit hook — Detects changes to
User_Manual/*.md,docs/*.md,rules/*.md,skills/*.md,agents/*.md,stages/*.md, ortemplates/*.mdand auto-regeneratesmanual.htmlbefore every commit - Pre-push hook — Verifies
manual.htmlis current before allowing push to remote (blocks push if outdated)
Manual regeneration (if needed):
node User_Manual/build-manual-html.mjsNo platform rewrites. Add capabilities by following existing patterns:
| Add | What to create | Also update |
|---|---|---|
| New role | roles/ + agents/ folder |
agent-registry.json, relevant stages |
| New skill | skills/<role>/<skill>/SKILL.md |
skills/SKILL.md registry |
| New stack | stacks/<stack>/ conventions |
cli/lib/config.sh |
| New stage | stages/<n>-name/STAGE.md |
Routing + adjacent stages |
| New rule | rules/<rule>.md |
rules/README.md index |
- Fork and create a feature branch
- For changes touching multiple files, follow the RPI workflow and repo-grounded rules
- Run
sdlc doctorbefore submitting - Open a PR — commit messages and traceability matter (see
rules/commit-conventions.md)
All contributions pass pre-commit hooks: secrets detection, commit format, documentation sync.
GNU General Public License v3.0 — open source, share alike.
94+ files from earlier versions remain available in git history.
AI-SDLC Platform — Calm, precise, traceable delivery with AI.
If this helps your team, ⭐ the repo — it helps others find it.