Ship production-ready Python projects faster with AI-powered development workflows
Latest Release: v1.7.20260410 - Vivid Cardinal
Modern cookiecutter template delivering enterprise-grade Python projects with OpenCode AI agents, TDD/BDD workflows, and zero-config quality standards.
π€ Enterprise AI Team - 5 specialized agents: Developer, Architect, Business Analyst, QA Specialist, Release Engineer
ποΈ SOLID Architecture - Object Calisthenics, Dependency Inversion, Protocol-based design with architect review
β‘ Zero-Config Setup - UV package manager, Ruff formatting, pytest + Hypothesis testing
π― Mandatory QA Gates - 4 quality checkpoints enforced by QA specialist throughout development
π Smart Releases - Hybrid calver versioning with AI-generated themed names
π Epic-Based Workflow - Requirements-driven development with automatic feature progression
- Startups building MVPs with enterprise standards
- Teams needing consistent code quality and architecture
- Developers wanting AI-assisted TDD/BDD workflows
- Projects requiring rapid iteration with zero technical debt
Install the required tools:
# Install OpenCode AI assistant
curl -fsSL https://opencode.ai/install.sh | sh
# Install UV package manager (replaces pip/poetry/virtualenv)
curl -LsSf https://astral.sh/uv/install.sh | sh
# Install Cookiecutter
pip install cookiecutter# Generate your AI-enhanced Python project
cookiecutter gh:nullhack/python-project-template
# Enter your project directory
cd your-project-name
# Initialize AI development environment
opencode
/init
# Start an epic with requirements gathering
@requirements-gatherer # Business analysis
@developer /skill epic-workflow start-epic "MVP Features"# Install dependencies and activate virtual environment
uv venv && uv pip install -e '.[dev]'
# Run the complete development workflow
task test # 100% coverage + property-based tests
task lint # Ruff formatting + static analysis
task doc-serve # Live documentation server
# Deploy with confidence
@repo-manager /skill git-release- Requirements Gathering β Business analyst conducts stakeholder interviews
- QA Gate #1 β Requirements completeness review by QA specialist
- Test-Driven Development β BDD-style tests with pytest + Hypothesis
- QA Gate #2 β Test quality and coverage review
- Design & Architecture β Pattern selection and SOLID design by architect
- Implementation β TDD methodology with Red-Green-Refactor cycle
- QA Gate #3 β SOLID/DRY/KISS compliance review
- Final Quality β Comprehensive quality checks
- QA Gate #4 β Final approval before feature completion
- Automatic Progression β System advances to next feature in epic
- Hybrid Versioning:
v{major}.{minor}.{YYYYMMDD}(same-day releases increment minor) - Themed Releases: AI-generated names based on PR sentiment
- Performance:
"Swift Cheetah""Lightning Falcon" - Security:
"Vigilant Owl""Guardian Bear" - Features:
"Creative Fox""Innovative Dolphin"
- Performance:
Development
- Python 3.13+ with modern type hints
- UV for blazing-fast dependency management
- Ruff for linting and formatting (replaces 8+ tools)
- PyTest + Hypothesis for comprehensive testing
AI Integration - Your Enterprise Development Team
- @developer: Development Lead implementing TDD workflow with QA integration
- @architect: Software Architect ensuring SOLID principles and design patterns
- @requirements-gatherer: Business Analyst using BABOK methodology
- @overseer: QA Specialist enforcing mandatory quality checkpoints
- @repo-manager: Release Engineer handling versioning and deployments
Quality Assurance
- 100% test coverage requirement
- Static type checking with Pyright
- Property-based testing for edge cases
- Mutation testing with Cosmic Ray
Documentation & Deployment
- pdoc for API documentation with search
- pytest-html-plus with BDD docstring display
- Docker containerization
- GitHub Actions CI/CD
- Automated documentation deployment
- β¨ AI-powered development workflow with OpenCode integration
- ποΈ SOLID architecture enforcement with object calisthenics
- π€ Automated repository management with smart releases
- β‘ Modern toolchain (UV, Ruff, PyTest, Hypothesis)
- π Epic-based workflow with automatic feature progression
- π― Mandatory QA gates with dedicated QA specialist agent
- πΌ Business analyst agent for requirements gathering
- π Advanced security scanning and SBOM generation
- π Performance benchmarking and optimization workflows
Contributions make this template better for everyone! We welcome:
- π Bug reports and fixes
- β¨ New agents and skills
- π Documentation improvements
- π― Workflow optimizations
# Quick contribution setup
cookiecutter gh:nullhack/python-project-template
cd your-contribution
@developer /skill feature-definition
@repo-manager /skill pr-managementMIT License - see LICENSE for details.
Built on the shoulders of giants:
- OpenCode - AI-powered development platform
- UV - Blazing fast Python package manager
- Ruff - Extremely fast Python linter
- Hypermodern Python - Modern Python practices
- Hypothesis - Property-based testing framework
β Star this repo if it powers your next breakthrough!