project-bootstrapper
Initialize or enhance projects with .claude configuration folders. Provides templates (minimal, hooks-demo, full-stack) for quick setup. Use when starting a new project, adding Claude Code configurati
SKILL.mdskills/21-toolkit/project-bootstrapper/SKILL.md
GitHubProject Bootstrapper
Initialize projects with .claude/ configuration folders using battle-tested templates. Transform any project into a Claude Code-powered workspace.
When to Use
Use this skill when:
- Starting a new project
- Adding Claude Code configuration to existing project
- Setting up automatic validation (hooks)
- Need example command or skill structure
- Want proven .claude folder patterns
Templates Available
1. Minimal Template
Purpose: Basic .claude/ setup with project context
Includes:
settings.json- Empty configuration ready to customizeCLAUDE.md- Project context and instructions template
Best for:
- Simple projects
- Quick Claude Code enablement
- Projects that don't need validation
2. Hooks-Demo Template
Purpose: Self-validating project with example hooks
Includes:
settings.json- Configured with PostToolUse and Stop hooksCLAUDE.md- Context with hook documentationcommands/build.md- Example command with Stop hookhooks/validators/ruff-validator.py- Python linting validatorhooks/validators/template-validator.py- Template validator you can customize
Best for:
- Projects needing automatic validation
- Learning hook patterns
- Python projects
- Quality-first workflows
3. Full-Stack Template
Purpose: Complete agentic setup for complex projects
Includes:
- Everything from hooks-demo
- Additional validators
- Example skills
- Example agents
- Comprehensive settings
- Full CLAUDE.md with architecture patterns
Best for:
- Large, complex projects
- Team projects
- Production codebases
- Full automation needs
Workflow
Bootstrap New Project
- Detect project type (check for package.json, pyproject.toml, etc.)
- Ask user which template (minimal, hooks-demo, full-stack)
- Copy template to
.claude/ - Customize CLAUDE.md with detected project info
- Explain what was created
Add to Existing Project
- Check if
.claude/already exists - If exists:
- Ask if user wants to merge or replace
- Backup existing if replacing
- Copy template
- Merge settings if needed
- Update CLAUDE.md with existing project details
Customize Template
After installing:
- Review CLAUDE.md - Add project-specific context
- Adjust settings.json - Enable/disable features
- Customize validators - Add project-specific checks
- Test hooks - Trigger validation to verify setup
Template Selection Guide
Choose Minimal if:
- Just want CLAUDE.md for project context
- Don't need automatic validation
- Exploring Claude Code
- Small/simple project
Choose Hooks-Demo if:
- Want self-correcting workflow
- Python project needing linting
- Learning hook patterns
- Medium-sized project
Choose Full-Stack if:
- Large/complex project
- Team environment
- Need comprehensive automation
- Production codebase
Project Type Detection
The skill auto-detects project type by checking for:
Python:
pyproject.tomlrequirements.txtsetup.py
JavaScript/TypeScript:
package.jsontsconfig.json
Rust:
Cargo.toml
Go:
go.mod
General:
.git/(git repository)README.md
Detection informs template customization and validator selection.
Files Created
Minimal Template
.claude/
├── settings.json # Empty config
└── CLAUDE.md # Project context template
Hooks-Demo Template
.claude/
├── settings.json # With PostToolUse and Stop hooks
├── CLAUDE.md # Context + hook docs
├── commands/
│ └── build.md # Example command with hooks
└── hooks/
└── validators/
├── ruff-validator.py # Python linter
└── template-validator.py # Customizable template
Full-Stack Template
.claude/
├── settings.json # Comprehensive config
├── CLAUDE.md # Full documentation
├── commands/
│ ├── build.md
│ └── test.md
├── skills/
│ └── project-specific/
│ └── SKILL.md
├── agents/
│ └── specialized-agent.md
└── hooks/
└── validators/
├── ruff-validator.py
├── manifest-validator.py
└── custom-validator.py
Examples
User: "Initialize this Python project with validation"
→ Detect: Python project (pyproject.toml found) → Recommend: hooks-demo template → Copy template to .claude/ → Customize CLAUDE.md with project name and Python details → Result: Self-validating Python project
User: "Add .claude folder to this project"
→ Check: .claude/ doesn't exist → Ask: Which template? (minimal/hooks-demo/full-stack) → User chooses: hooks-demo → Copy template → Result: Project now has validation hooks
User: "Setup comprehensive Claude configuration"
→ Recommend: full-stack template → Copy template → Explain components: commands, skills, agents, hooks → Customize for project → Result: Fully automated development environment
Template Customization
After installing a template, help user:
Update CLAUDE.md:
- Project name and description
- Tech stack details
- Architecture notes
- Common commands
- Team conventions
Configure settings.json:
- Model preferences
- Tool permissions
- Hook configuration
- Custom paths
Customize validators:
- Add project-specific checks
- Remove irrelevant validators
- Adjust validation rules
Add commands:
- Common development tasks
- Build/test/deploy workflows
- Project-specific operations
Best Practices
✓ Start with minimal, upgrade to hooks-demo/full-stack as needed ✓ Always customize CLAUDE.md with project-specific info ✓ Test validators after installation ✓ Review and adjust hooks for your workflow ✓ Document custom patterns in CLAUDE.md
Reference
Template location: @project-bootstrapper/templates/
Templates: minimal/, hooks-demo/, full-stack/
Target location: .claude/ (project root)
Integration with Other Skills
Works well with:
- hooks-mastery - Learn to customize validators
- skill-manager - Install additional skills to project
Workflow:
- Use project-bootstrapper to create .claude/
- Use hooks-mastery to understand validators
- Customize validators for project needs
- Use skill-manager to add specialized skills