init-project-cookiecutter

Create BDD CLI projects from Git-based cookiecutter templates.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/lilliangreenberg/gherkin-expansion --skill init-project-cookiecutter
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: init-project-cookiecutter
Source: https://github.com/lilliangreenberg/gherkin-expansion/tree/main/skills/init-project-cookiecutter
Command: npx skills add https://github.com/lilliangreenberg/gherkin-expansion --skill init-project-cookiecutter

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires PyYAML, and includes scripts (resource) components.

What problem does it solve?

This skill automates the creation of production-ready BDD CLI projects from Git-based cookiecutter templates, reducing boilerplate and setup time.

Core Features & Use Cases

  • Dynamically discover templates from a Git-backed registry (template_sources.yaml) and ad-hoc URLs
  • Generate a full project skeleton with a chosen CLI framework (Click, Typer, or argparse)
  • Post-generation setup including git initialization, virtual environment creation, and dependency installation
  • Use case: bootstrap a new BDD CLI with API integration in minutes

Quick Start

Run the skill in interactive mode or provide project details to generate a template-backed project quickly.

Frequently Asked Questions about init-project-cookiecutter

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a BDD CLI project from a Git template?

To scaffold a BDD CLI project from a Git template, this skill automates fetching cookiecutter templates from a registry, applying user overrides, and generating a production-ready project skeleton with your chosen CLI framework.

Can I generate a CLI project using Click, Typer, or argparse with cookiecutter?

Yes, you can generate a CLI project using Click, Typer, or argparse. The cookiecutter integration allows you to select your preferred CLI framework during the interactive or scripted project generation workflow.

What is the best way to automate boilerplate setup for a new BDD CLI project?

The best way to automate boilerplate setup is using this skill to dynamically discover templates, fetch them from Git, and perform post-generation setup like git initialization, virtual environment creation, and dependency installation.

Do I need PyYAML to generate projects from a cookiecutter registry?

Yes, you need PyYAML installed to generate projects from a cookiecutter registry. PyYAML is a required dependency for parsing the template_sources.yaml registry used to dynamically discover available Git-backed templates.

How does cookiecutter handle subdirectories and specific Git checkouts during project generation?

Cookiecutter handles subdirectories and specific Git checkouts by applying checkout handling and subdirectory targeting during template fetching. This ensures the correct template version is pulled from the Git repository before applying user overrides.

What happens if a cookiecutter template is missing or prerequisites are not installed?

If a cookiecutter template is missing or prerequisites are not installed, the skill implements error handling to gracefully catch these issues. It prevents project generation from failing silently by identifying missing templates or unmet environment prerequisites.