Create a new project using the specified template: $ARGUMENTS
Output Format: Use clear section headers, timestamps for each step, and progress indicators for setup operations.
Tool Validation: First verify that required tools are installed (git, uv, gh) and the target directory is valid.
Python Project Defaults: All Python projects use UV for virtual environment management and package installation. Never use pip, pipenv, or conda.
Template Options:
python-lib - Python library with pyproject.toml, tests, CI/CD
python-cli - Python CLI application with Click/Typer
python-web - FastAPI web application
python-data - Data science project with Jupyter notebooks
python-langchain - LangChain agent project with LangGraph support
python-adk - Google Agent Development Kit multi-agent system
python-crewai - CrewAI multi-agent orchestration framework
python-autogen - Microsoft AutoGen conversational agents
python-swarm - OpenAI Swarm lightweight agent framework
python-phidata - Phidata AI assistant framework
python-llama-index - LlamaIndex RAG agents with document indexing
python-haystack - Deepset Haystack NLP pipelines
python-semantic-kernel - Microsoft Semantic Kernel plugin architecture
python-agency-swarm - Agency Swarm hierarchical agent framework
node-lib - Node.js library with TypeScript
node-web - React/Next.js web application
rust-lib - Rust library with Cargo.toml
go-cli - Go CLI application
custom - Interactive template selection
Template Loading: Read the template definition from ${CLAUDE_SKILL_DIR}/templates/<template-name>.md for the selected template's directory structure and dependencies.
Project Setup Steps:
- Template Selection: Determine template from argument or prompt interactively
- Load Template: Read the template file from
${CLAUDE_SKILL_DIR}/templates/<template-name>.md
- Directory Creation: Create project directory with proper naming conventions
- Template Scaffolding: Create the directory structure and files defined in the template
- Dependency Management:
- For Python: Use
uv init and uv add exclusively for all dependencies
- For Python: Create virtual environment with
uv venv and activate with uv run
- For other languages: Install language-specific dependencies
- Git Initialization: Initialize repo, create .gitignore, initial commit
- CI/CD Setup: Create GitHub Actions workflows, testing and linting pipelines
- Development Environment: Setup IDE config files, development scripts
- Documentation: Generate README, CONTRIBUTING.md, documentation framework
- Testing Framework: Setup test directory, sample tests, configure runners
- Quality Tools: Configure linting, formatters, type checking
- Final Validation:
- For Python: Run
uv run python -m pytest and uv build
- For other languages: Run initial build/compile and basic tests
Interactive Prompts:
- Project name (default: directory name)
- Author name and email
- License type (MIT, Apache, etc.)
- Description
- Python version (for Python projects)
Template Variables:
{{PROJECT_NAME}} - Project name
{{AUTHOR_NAME}} - Author name
{{AUTHOR_EMAIL}} - Author email
{{DESCRIPTION}} - Project description
{{LICENSE}} - License type
{{YEAR}} - Current year
{{PYTHON_VERSION}} - Python version
Error Handling: If any step fails, attempt to fix the issue automatically. If unable to fix, report the specific error and provide cleanup instructions.
Post-Setup Instructions:
- Display next steps for development
- Show available commands (test, build, etc.)
- Provide quick start guide
- Suggest development workflow
1---2name: scaffold3description: Creates a new project from templates with full setup including directory structure, dependency management, git initialization, CI/CD, testing, and documentation. Supports Python, Node.js, Rust, Go, and 14 AI agent framework templates. Use when the user wants to start a new project, bootstrap a codebase, or create a project from a template.4---56Create a new project using the specified template: $ARGUMENTS78**Output Format**: Use clear section headers, timestamps for each step, and progress indicators for setup operations.910**Tool Validation**: First verify that required tools are installed (git, uv, gh) and the target directory is valid.1112**Python Project Defaults**: All Python projects use UV for virtual environment management and package installation. Never use pip, pipenv, or conda.1314**Template Options**:15- `python-lib` - Python library with pyproject.toml, tests, CI/CD16- `python-cli` - Python CLI application with Click/Typer17- `python-web` - FastAPI web application18- `python-data` - Data science project with Jupyter notebooks19- `python-langchain` - LangChain agent project with LangGraph support20- `python-adk` - Google Agent Development Kit multi-agent system21- `python-crewai` - CrewAI multi-agent orchestration framework22- `python-autogen` - Microsoft AutoGen conversational agents23- `python-swarm` - OpenAI Swarm lightweight agent framework24- `python-phidata` - Phidata AI assistant framework25- `python-llama-index` - LlamaIndex RAG agents with document indexing26- `python-haystack` - Deepset Haystack NLP pipelines27- `python-semantic-kernel` - Microsoft Semantic Kernel plugin architecture28- `python-agency-swarm` - Agency Swarm hierarchical agent framework29- `node-lib` - Node.js library with TypeScript30- `node-web` - React/Next.js web application31- `rust-lib` - Rust library with Cargo.toml32- `go-cli` - Go CLI application33- `custom` - Interactive template selection3435**Template Loading**: Read the template definition from `${CLAUDE_SKILL_DIR}/templates/<template-name>.md` for the selected template's directory structure and dependencies.3637**Project Setup Steps**:38391. **Template Selection**: Determine template from argument or prompt interactively402. **Load Template**: Read the template file from `${CLAUDE_SKILL_DIR}/templates/<template-name>.md`413. **Directory Creation**: Create project directory with proper naming conventions424. **Template Scaffolding**: Create the directory structure and files defined in the template435. **Dependency Management**:44 - For Python: Use `uv init` and `uv add` exclusively for all dependencies45 - For Python: Create virtual environment with `uv venv` and activate with `uv run`46 - For other languages: Install language-specific dependencies476. **Git Initialization**: Initialize repo, create .gitignore, initial commit487. **CI/CD Setup**: Create GitHub Actions workflows, testing and linting pipelines498. **Development Environment**: Setup IDE config files, development scripts509. **Documentation**: Generate README, CONTRIBUTING.md, documentation framework5110. **Testing Framework**: Setup test directory, sample tests, configure runners5211. **Quality Tools**: Configure linting, formatters, type checking5312. **Final Validation**:54 - For Python: Run `uv run python -m pytest` and `uv build`55 - For other languages: Run initial build/compile and basic tests5657**Interactive Prompts**:58- Project name (default: directory name)59- Author name and email60- License type (MIT, Apache, etc.)61- Description62- Python version (for Python projects)6364**Template Variables**:65- `{{PROJECT_NAME}}` - Project name66- `{{AUTHOR_NAME}}` - Author name67- `{{AUTHOR_EMAIL}}` - Author email68- `{{DESCRIPTION}}` - Project description69- `{{LICENSE}}` - License type70- `{{YEAR}}` - Current year71- `{{PYTHON_VERSION}}` - Python version7273**Error Handling**: If any step fails, attempt to fix the issue automatically. If unable to fix, report the specific error and provide cleanup instructions.7475**Post-Setup Instructions**:76- Display next steps for development77- Show available commands (test, build, etc.)78- Provide quick start guide79- Suggest development workflow