Markdown-driven software development lifecycle powered by AI agents
uv pip install ai-sdlcAI-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.
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
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
# Install uv (fast Python package manager)
curl -LsSf https://astral.sh/uv/install.sh | sh
# Install AI-SDLC
uv pip install ai-sdlcmkdir my-project && cd my-project
aisdlc initaisdlc new "Add user authentication system"
aisdlc status- 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
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 |
| 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 |
| 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 |
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
.
├── 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
- Python 3.11+
- uv (recommended) or pip
# Using uv (recommended)
uv pip install ai-sdlc
# Using pip
pip install ai-sdlc
# Verify installation
aisdlc --helpgit clone https://github.com/ParkerRex/ai-sdlc.git
cd ai-sdlc
uv venv && source .venv/bin/activate
uv sync --all-featuresuv 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| 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.
"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
- 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
- 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
MIT - See LICENSE for details.
