This skill should be used when the user says "bootstrap a project", "set up a new project", "generate CLAUDE.md", "generate AGENTS.md", "init project config", "start a new app", or needs to generate AI configuration files for a new or existing codebase.
Generate a complete Claude Code configuration for any project: CLAUDE.md, .claude/settings.json (hooks), .claude/agents/ (subagents), .claude/commands/, PRP infrastructure, and project memory.
Ask these questions using AskUserQuestion. Recommend based on complexity.
Q1: Stack
Q2: Project complexity
Q3: Architecture principles (multi-select, recommend based on Q2)
Q4: Internationalization
If user selects yes, ask for: base locale (e.g., en) and list of supported locales (e.g., en, de, es, fr). These go in the project-specific section of CLAUDE.md, not in any atom.
Q5: Project name
Q6: Claude Code hooks (multi-select)
Q7: Subagents
When the user provides a spec/PRD instead of answering questions, analyze it to infer:
Explain each inference briefly before generating. Let the user override any inference.
After gathering inputs (interview or spec), generate all files in the project root.
Read the atom files from ${CLAUDE_PLUGIN_ROOT}/skills/bootstrapper/references/atoms/ and compose:
# CLAUDE.md — {project_name}> Auto-composed on {date}. Audit monthly. Every line must earn its place.base/CLAUDE.md (always)stacks/ with --- separatorprinciples/ with --- separators## i18n section with base locale, supported locales, and tooling notes (e.g., Slang for Flutter, i18next for TS, gettext for Python)Write to CLAUDE.md in project root.
Token budget: Total must be under 2,500 tokens. Report word count and estimated tokens after generation.
Read the appropriate backbone template from ${CLAUDE_PLUGIN_ROOT}/skills/bootstrapper/references/backbone/{stack}.yml (use generic.yml for "None / Other" stack).
{project_name} with the actual project namestructure section to match realitybackbone.yml in project rootThe base atom already references backbone.yml in its Context Hygiene section, so no additional CLAUDE.md wiring is needed.
If the user selected any hooks in Q6, read the appropriate hooks template from ${CLAUDE_PLUGIN_ROOT}/skills/bootstrapper/references/hooks/{stack}.json and generate .claude/settings.json.
Only include the hook events the user selected:
PostToolUse with Write|Edit matcherStop with build + test commandsSessionStart with git status + TODO grepIf the user selected "None / Other" stack, use generic commands:
echo 'No test command configured — update .claude/settings.json'If the user selected subagents in Q7, read the agent templates from ${CLAUDE_PLUGIN_ROOT}/skills/bootstrapper/references/agents/ and generate:
Flat team (always when subagents selected):
.claude/agents/planner.md — architect agent, read-only, produces implementation plans.claude/agents/reviewer.md — review agent, read-only, checks against CLAUDE.md.claude/agents/test-writer.md — test agent, can write test files onlyHierarchical team (when "Hierarchical team" selected):
.claude/agents/orchestrator.md — coordinator agent that decomposes complex tasks, delegates to planner/reviewer/test-writer, aggregates results, and handles escalationAdapt allowed_tools based on stack (e.g., Flutter agents get Bash(fvm:*), TS agents get Bash(npm:*), Bash(npx:*)).
Generate .claude/commands/ with markdown files that include YAML frontmatter (description, allowed-tools).
Read command templates from ${CLAUDE_PLUGIN_ROOT}/commands/ and adapt them.
Universal commands (always include):
commit.md — conventional commit generatorpr.md — PR description generatorPrinciple-based commands (include based on selections):
security-scan.mdreview.mdStack-specific commands (include based on stack selection):
analyze.md (runs fvm flutter analyze)typecheck.md (runs npx tsc --noEmit)lint.md (runs ruff check .)Create the PRP workflow scaffolding:
INITIAL.md template from ${CLAUDE_PLUGIN_ROOT}/skills/bootstrapper/references/prp/INITIAL.md.template to project root, replacing {project_name} with the actual project namePRPs/ directory with a .gitkeep filegenerate-prp.md and execute-prp.md commands exist in .claude/commands/Create examples/ directory with a README.md:
# Examples
Add concrete code examples here for patterns that CLAUDE.md describes.
Claude learns better from examples than from rules alone.
## Usage
Reference examples in CLAUDE.md like:
> See `examples/error-handling.ts` for the pattern.
## Structure
- One file per pattern
- Name files descriptively: `{pattern-name}.{ext}`
- Keep examples minimal — show the pattern, nothing else
Create .claude/skills/ with a template for the user's first skill:
.claude/skills/README.md:# Skills
Skills are installable expertise that Claude loads on demand. If you repeat a structured prompt more than twice, turn it into a Skill.
## Creating a Skill
1. Create a directory: `.claude/skills/{skill-name}/`
2. Add a `SKILL.md` file with frontmatter (name, description) and instructions
3. Claude auto-discovers skills by matching the description to user requests
## Template
Copy `_template/SKILL.md` and customize.
.claude/skills/_template/SKILL.md:---