Skip to main content

ai-sdlc-kit

ai-sdlc-kit

Spec-driven SDLC skills that make AI coding agents work like real engineers.

PyPI version npm version MIT License


What is it?

ai-sdlc-kit installs a set of skills for Claude Code, Cursor, Windsurf, and Gemini CLI that take an agent through a real engineering workflow instead of one-shot code generation:

understand → decide → plan in verifiable steps → build with checks after every step → gate → ship

Skill Does
sdlc-init One-time setup: project facts + the code-craft rulebook (.sdlc/CRAFT.md)
roadmap Splits a PRD into ordered, shippable features
spec Plans one feature: decisions, tasks with contracts + verify commands
build Executes the spec task-by-task, verifying after every step
qa Re-runs verifies + acceptance checks; failures become fix-tasks
ship Branch guard, staged commit built from the spec — never pushes
automate Hands-free spec → build → qa for one feature; decisions auto-picked and logged
architecture-diagram Renders a self-contained HTML/SVG architecture diagram
mentor Teaches you a topic — or a whole codebase — one tracked lesson at a time

Install

# Python
pip install ai-sdlc-kit        # or: uv tool install ai-sdlc-kit

# Node
npm install -g ai-sdlc-kit     # or one-off: npx ai-sdlc-kit install --agent claude

Both give you the same ai-sdlc command and the same skills — pick whichever ecosystem you already have.

Use

ai-sdlc install --agent claude   # or cursor / windsurf / gemini / all

This copies the skills into your agent's skills directory. They then appear as slash commands: /sdlc-init, /roadmap, /spec, /build, /qa, /ship, /automate, /mentor.

Flag Effect
--agent all install for every supported agent at once
--target PATH install into a specific project directory (default: .)
--global install into your home directory instead of a project
--force overwrite existing skill folders
ai-sdlc list         # see bundled skills
ai-sdlc --version    # print the installed version

Monorepo, or no Python project at the root? Not a problem — ai-sdlc install only copies skill files into .claude/skills/ (or your agent's folder); it never reads pyproject.toml or anything else at the target. Install the CLI once with pipx install ai-sdlc-kit or uv tool install ai-sdlc-kit so it works from any directory, then run it at your repo root — or run it from anywhere with --target /path/to/root.

Getting started

Every project starts with /sdlc-init — run it once, in your agent, inside your project folder. It writes .sdlc/PROJECT.md (project facts + commands), .sdlc/CRAFT.md (the code rulebook: pinned stack versions with modern-idiom rules, folder structure, coding style, config & security rules — every build follows it), and .sdlc/STATE.md (feature tracker). It works two ways:

  • New project/sdlc-init <path-to-your-PRD-or-description>. It reads the doc and asks a few multiple-choice questions to fill any gaps (framework, DB, test runner, etc.).
  • Existing codebase/sdlc-init with no argument. It detects your stack and rules from lockfiles, manifests, and a handful of source files instead of asking you to describe it.

Either way you choose how the rules are set — provide your own, answer questions, or let the agent propose best practices — and it always shows you the stack and rules for approval before writing anything.

From there, pick the path that matches what you're doing:

Situation Commands
Building a whole project from a PRD /sdlc-init <PRD>/roadmap <PRD> → then /spec <feature>/build <feature>/qa <feature>/ship <feature> for each feature in order
Adding one feature to an existing codebase /sdlc-init (skip if already run) → /spec <feature description>/build <feature>/qa <feature>/ship <feature>
Something else — bugfix, refactor, exploration Skills are for planned feature work; for anything smaller just talk to your agent directly
Learning a codebase or a technology /mentor — see Learning a codebase below

/roadmap only makes sense for a whole project — it turns a PRD into an ordered feature list. For a single feature, skip straight to /spec.

The /build → /qa → /build loop is self-healing: QA never edits code, it appends fix-tasks to the spec, and /build executes them like any other task. /ship commits once QA passes — it never pushes.

Three workflow controls on top of that:

  • Skip a stage/sdlc-init --skip-ship (or --skip-qa) drops a stage from the flow; toggle any time mid-project with --unskip-<stage>. Handoffs and /automate bypass skipped stages; invoking one directly still runs it.
  • Hands-free mode/automate <feature> runs spec → build → qa back-to-back with zero questions: every design choice takes the recommended production-standard option and is recorded in the spec marked (auto), so you can audit each one afterwards. It stops only for real blockers (a verify failing after 3 attempts, an unfixable regression). Add --ship to include the commit stage.
  • Bug memory/qa keeps .sdlc/BUGS.md, a plain-English log anyone can read: what went wrong, why it happened, how to avoid it. /spec and /build read it on every run so the same bug never ships twice.

Learning a codebase

The other skills build software; /mentor teaches it. Point it at a topic ("teach me Kafka") or at the repo you're sitting in ("teach me this codebase") and it builds a curriculum, then teaches one lesson per session — never dumping the whole course at once — quizzing you at the end of each and only advancing once you pass.

For a codebase it reads the repo first, then runs a short course of one or two modules:

  • Map & Run — what the project does, a guided tour of the directories, getting it running locally, and one core flow traced end-to-end through the real files.
  • Work On It — the subsystems that change most often (picked from git log), the repo's conventions, and how a change actually ships here: branch, tests, CI, PR.

Every lesson cites real file:line locations and the exercises happen inside the repo — run it, trace it, write a failing test. The final project is a real change with tests passing, so you finish able to contribute rather than just able to describe the code.

State lives in curriculum/<topic>/ (tracker, lessons, quizzes, projects), so progress survives across days and machines. Say next to continue, quiz me for a cumulative check, or status to see where you are.

Changelog

  • 0.1.8 — PyPI and npm realigned on one version number, so pip and npm always ship the same kit
  • 0.1.7 — new /mentor skill: a long-term, file-tracked teacher for any topic, with a codebase mode that onboards you to a repo well enough to contribute to it
  • 0.1.6 — same kit on npm: npm install -g ai-sdlc-kit (zero-dependency Node CLI); releases now publish to PyPI and npm together
  • 0.1.5/automate hands-free flow, stage skipping (--skip-qa / --skip-ship), plain-English bug log (.sdlc/BUGS.md) that feeds future specs, and specs now open with a mental-model section (what / why / how) presented in chat
  • 0.1.4 — code-craft rulebook: .sdlc/CRAFT.md pins stack versions + modern idioms, enforces folder structure (one concern per file), env-based config with .env.example, and a security baseline across /spec, /build, /qa
  • 0.1.3 — added a Getting started section: how to actually invoke the skills for a new project, an existing codebase, or a single feature
  • 0.1.2 — automated PyPI releases via GitHub Actions trusted publishing
  • 0.1.1 — cleaner README, professional package presentation
  • 0.1.0 — initial release: 6 core skills + architecture-diagram, pip-installable CLI

Related prior art: github/spec-kit.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ai_sdlc_kit-0.1.8.tar.gz (32.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ai_sdlc_kit-0.1.8-py3-none-any.whl (42.6 kB view details)

Uploaded Python 3

File details

Details for the file ai_sdlc_kit-0.1.8.tar.gz.

File metadata

  • Download URL: ai_sdlc_kit-0.1.8.tar.gz
  • Upload date:
  • Size: 32.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for ai_sdlc_kit-0.1.8.tar.gz
Algorithm Hash digest
SHA256 036918472a69be36beb1872bfed88bd7e7af1780ba18c090be9f688a9c161cfe
MD5 e9c8de54cf0e8536c3411f05ed360227
BLAKE2b-256 3967cf5143bbb08e212a4facae16f4276d4cb2bfae0c308df0dbff0a10b9bb77

See more details on using hashes here.

Provenance

The following attestation bundles were made for ai_sdlc_kit-0.1.8.tar.gz:

Publisher: publish.yml on xajeel/AI-SDLC

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ai_sdlc_kit-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: ai_sdlc_kit-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 42.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for ai_sdlc_kit-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 3e70319e336c7cf5f15c507bb64b67824badc77b144df1197f1a8f1410187350
MD5 74dcd978ce601482a5317d59bd3df1f8
BLAKE2b-256 24082f964a729163581924610a7da062db82f98af8833bf3e40e08505052d366

See more details on using hashes here.

Provenance

The following attestation bundles were made for ai_sdlc_kit-0.1.8-py3-none-any.whl:

Publisher: publish.yml on xajeel/AI-SDLC

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.2.0

2 files

This release

0.1.8 This release

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page