AI-SDLC
Markdown-driven software development lifecycle powered by AI agents
uv pip install ai-sdlc
What is AI-SDLC?
AI-SDLC is a CLI tool that guides software development through an 8-step structured workflow. It generates markdown files and AI prompts that help you go from an initial idea to production-ready code with comprehensive tests.
The tool is AI-agnostic—it generates prompts you can use with any AI assistant (Claude, ChatGPT, Cursor, etc.). No API keys or specific AI tools required.
The Problem
Developers often jump straight to coding, skipping important planning steps. This leads to:
- Unclear requirements discovered mid-implementation
- Architecture decisions made ad-hoc
- Missing test coverage
- Poor documentation of decisions
The Solution
AI-SDLC enforces a structured workflow:
- Document decisions and rationale in version-controlled markdown
- Generate comprehensive implementation plans before coding
- Create thorough test strategies
- Maintain project history
Quick Start
1. Install
# Install uv (fast Python package manager)
curl -LsSf https://astral.sh/uv/install.sh | sh
# Install AI-SDLC
uv pip install ai-sdlc
2. Initialize
mkdir my-project && cd my-project
aisdlc init
3. Start a Feature
aisdlc new "Add user authentication system"
aisdlc status
4. Work Through the Steps
- Fill out the generated markdown in
doing/add-user-authentication-system/0.idea-*.md - Run
aisdlc nextto generate a prompt for the next step - Use the prompt with your AI tool and save the response
- Repeat until all 8 steps complete
- Archive with
aisdlc done
The 8-Step Workflow
0.idea → 1.prd → 2.prd-plus → 3.system-template → 4.systems-patterns → 5.tasks → 6.tasks-plus → 7.tests
| Step | Name | Purpose |
|---|---|---|
| 01 | idea | Initial problem statement and strategic pitch |
| 02 | prd | Product requirements document |
| 03 | prd-plus | Enhanced requirements with edge cases |
| 04 | architecture | System architecture design |
| 05 | system-patterns | Design patterns and implementation strategy |
| 06 | tasks | Task breakdown and implementation plan |
| 07 | tasks-plus | Task review and handoff preparation |
| 08 | tests | Test plan and test code generation |
Workflow Modes
| Mode | Steps | Description |
|---|---|---|
| Chat Mode | 1-5 | Iterate with AI chat to refine ideas, requirements, and architecture |
| Manual Mode | 6 | Fill out task list markdown directly |
| Agent Mode | 7-8 | Automated processing for task review and test generation |
Commands
| Command | Description |
|---|---|
aisdlc init |
Initialize AI-SDLC in current directory |
aisdlc new <idea> |
Start new feature with idea description |
aisdlc next |
Generate prompt for next step |
aisdlc status |
Show current project status |
aisdlc done |
Archive completed feature to done/ |
aisdlc --help |
Show all available commands |
aisdlc <command> --help |
Show help for a specific command |
How It Works
When you run aisdlc next:
- Reads the previous step's markdown file
- Merges content into the prompt template for the next step
- Writes the merged prompt to
_prompt-<step>.md - You copy the prompt to your AI tool, get a response, and save it
All state is tracked in files:
.aisdlc- Project configuration (TOML).aisdlc.lock- Current workflow state (JSON)doing/<slug>/- Active feature filesdone/<slug>/- Completed features
Project Structure
.
├── ai_sdlc/ # Main Python package
│ ├── cli.py # Entry point for aisdlc command
│ ├── commands/ # Command implementations (init, new, next, status, done)
│ ├── scaffold_template/ # Default templates for new projects
│ └── utils.py # Shared helpers
├── prompts/ # LLM prompt templates for each step
├── tests/ # Test suite
│ ├── unit/ # Unit tests
│ └── integration/ # Integration tests
├── doing/ # Active features (created by init)
├── done/ # Completed features (created by init)
├── .aisdlc # Project configuration
└── .aisdlc.lock # Current workflow state
Installation
Prerequisites
- Python 3.11+
- uv (recommended) or pip
Install Options
# Using uv (recommended)
uv pip install ai-sdlc
# Using pip
pip install ai-sdlc
# Verify installation
aisdlc --help
Development Setup
git clone https://github.com/ParkerRex/ai-sdlc.git
cd ai-sdlc
uv venv && source .venv/bin/activate
uv sync --all-features
Running Tests
uv pip install -e .[dev]
# Lint and format
uv run ruff check ai_sdlc tests
uv run ruff format ai_sdlc tests
# Type check
uv run pyright
# Run tests
uv run pytest
uv run pytest tests/unit/ # Unit tests only
uv run pytest tests/integration/ # Integration tests only
Technology Stack
| Component | Technology |
|---|---|
| CLI | Python 3.11+, argparse (stdlib) |
| Package manager | uv |
| Dev tools | Ruff, Pyright, pytest |
| Build | setuptools, PEP 621 |
Runtime has zero external dependencies—uses only Python standard library.
Troubleshooting
"Permission denied" errors
- Check file permissions in your project directory
"Invalid .aisdlc configuration"
- Verify
.aisdlchas valid TOML syntax - Run
aisdlc initto regenerate defaults
"Lock file corruption"
- Delete
.aisdlc.lockand runaisdlc status
Contributing
- Fork and clone the repository
- Create a feature branch:
git checkout -b feat/your-feature - Make changes with tests
- Run quality checks:
ruff check,pyright,pytest - Open a PR
Roadmap
- Pluggable AI providers (
--modelflag for GPT-4, Claude, Gemini) - 09-release-plan step for CI/CD and deployment
- Context-window management for large projects
- Template customization per project
- Parallel workflows for multiple features
License
MIT - See LICENSE for details.
Release files for ai-sdlc 0.7.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ai_sdlc-0.7.1.tar.gz | 588.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ai_sdlc-0.7.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 681.4 kB
Release files / ai_sdlc-0.7.1.tar.gz
| Download URL | ai_sdlc-0.7.1.tar.gz |
|---|---|
| Size | 588.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6d14aa76f0f51802b850dc7492d55695a3fc656f5f868b07913c7258817cc6a3
|
|
BLAKE2b-256 checksum How to use checksums |
ca4966ae4b59021d53c4eda4ea8f354dcac1736d6b793daa624bb748d92ee6ad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Jan 2, 2026.
Transparency logRelease files / ai_sdlc-0.7.1-py3-none-any.whl
| Download URL | ai_sdlc-0.7.1-py3-none-any.whl |
|---|---|
| Size | 92.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
35eec93ed8409aefbd254f5ab66d45744bcf7f4ef29d3b1b8a23a664b3f6b5c6
|
|
BLAKE2b-256 checksum How to use checksums |
2542e06bbf2ff1e70d4356343cd312b27d85d9b359313b7619e87ffdfc51738a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Jan 2, 2026.
Transparency log