A Cookiecutter template for Python applications and libraries built with a controlled, approval-gated, AI-assisted Software Development Life Cycle workflow.
This template helps teams start Python projects with:
- a reproducible repository layout;
- built-in quality tooling;
- skill-driven SDLC stages;
- human approval gates between workflow stages;
- centrally maintained Agent Skills that can be updated independently of the template.
Before generating a project, install:
- Python;
- Cookiecutter;
- Node.js and npm.
Node.js/npm are required because the template installs the AI SDLC Agent Skills during project creation with the skills CLI through npx.
Verify that npx is available:
npx --versionIf npx is not available, install a current Node.js release using your operating system package manager or the official Node.js distribution.
Choose one option:
uv tool install cookiecutterpipx install cookiecutterpython -m pip install cookiecutternpx --versioncookiecutter https://github.com/ecarrenolozano/ai-assisted-python-template.gitDuring project generation, the template downloads the AI SDLC skills from:
https://github.com/ecarrenolozano/ai-sdlc-skills
The skills are installed with:
npx skills add ecarrenolozano/ai-sdlc-skills --allcd <your-project-slug>
uv sync --all-groups
uv run pre-commit install
uv run pytestCookiecutter asks for prompt values and generates a new repository from this template.
Run with prompts:
cookiecutter https://github.com/ecarrenolozano/ai-assisted-python-template.gitReuse previous answers:
cookiecutter https://github.com/ecarrenolozano/ai-assisted-python-template.git --replaysrc/package layout with Hatchling;uv, pytest, pytest-bdd, Ruff, mypy, coverage, and pre-commit configuration;- reusable AI SDLC Agent Skills installed during project creation;
- a provider-neutral canonical skills location under
.agents/skills/; - compatibility with supported AI coding agents through the
skillsCLI; - staged SDLC documentation under
sdlc_docs/; - workflow traceability and approval-gated transitions;
- documentation placeholders for MkDocs or Zensical;
- issue and change-request templates.
The Agent Skills are maintained separately from this Cookiecutter template in the ai-sdlc-skills repository. This allows existing generated projects to receive newer versions of the workflow without regenerating the project.
Generated projects can update their installed skills independently of the Cookiecutter template.
From the root of a generated project, run:
npx skills updateYou do not need to regenerate the project to receive skill updates.
Start here after generation:
sdlc_docs/trace_workflow.mdsdlc_docs/00_inception/sources/WORKFLOW.md
The Agent Skills under .agents/skills/ drive stage transitions from inception through release preparation.
cookiecutter: command not found: reopen your shell, or run withuvx cookiecutter.npx: command not found: install Node.js/npm and verify withnpx --version.- Skill installation fails during project generation: verify internet access and run
npx skills add ecarrenolozano/ai-sdlc-skills --allfrom the generated project directory. - Destination folder already exists: choose another output folder, or remove the old generated repository.
- Wrong prompt values: re-run with
--replayor pass explicit key-value arguments.
This template provides reusable process and infrastructure. Project-specific requirements, architecture, code, datasets, and exercises are added after generation.
| Edwin Carreño | Scientific Software Center | Heidelberg, Germany |
| Maxim Scheremetjew | Max Plank Institute of Molecular Cell Biology and Genetics | Dresden, Germany |

