Cookiecutter Project Builder
Creates project scaffolds from Cookiecutter templates with interactive variable resolution. Integrates with cruft for template drift detection and copier for advanced multi-template composition.
npx skills add agentskillexchange/skills --skill cookiecutter-project-builder
The Cookiecutter Project Builder automates project scaffolding from community and custom Cookiecutter templates with intelligent variable resolution and post-generation hooks. It wraps the cookiecutter Python library to render Jinja2-templated project structures, supporting both local template directories and remote GitHub/GitLab repositories. For enterprise use, it integrates with cruft to detect template drift in previously generated projects, showing which files have diverged from the upstream template and offering selective update merging. The tool also supports copier as an alternative templating engine for advanced scenarios including multi-template composition, conditional file inclusion, and migration scripts between template versions. It pre-validates template variables against JSON Schema definitions in cookiecutter.json, providing autocomplete suggestions and type checking before generation begins. Post-generation hooks execute setup scripts for initializing git repositories, installing dependencies via pip/npm/cargo, creating virtual environments, and configuring pre-commit hooks. The builder maintains a local template registry for frequently used scaffolds with pinned versions and organization-specific variable defaults.