一键导入
bootstrap
Generate feature plan with codebase-aware context. Use when starting a new feature in an existing codebase to skip full spec workflow.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generate feature plan with codebase-aware context. Use when starting a new feature in an existing codebase to skip full spec workflow.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Add a properly formatted TODO item to TODOS.md. Use when you need to capture a new task, bug, or feature request during development.
Have OpenAI Codex review the current branch with documentation research. Use for second-opinion code reviews or when you want cross-AI verification.
Configure verification commands for this project. Use when setting up a new project or when verification-config.json is missing or incomplete.
Analyze and prioritize TODO items from TODOS.md. Use when planning work or deciding what to implement next.
Implement [ready]-tagged TODO items with commits. Use after /list-todos has clarified requirements and marked items as ready.
Update documentation after commits. Syncs README, AGENTS.md, CHANGELOG, and docs/ with code changes. Use after commits or to analyze working tree changes.
| name | bootstrap |
| description | Generate feature plan with codebase-aware context. Use when starting a new feature in an existing codebase to skip full spec workflow. |
| allowed-tools | Read, Write, Edit, Glob, Grep, Bash, AskUserQuestion |
Generate a feature plan with codebase-aware context. Scans your codebase, understands existing patterns, and creates a targeted feature specification and execution plan.
/adopt from the orchestrator and saved contextCopy this checklist and track progress:
Bootstrap Progress:
- [ ] Step 1: Gather initial description
- [ ] Step 2: Orient to project root
- [ ] Step 3: Run /setup automatically
- [ ] Step 4: Codebase scan
- [ ] Step 5: Check for unfinished plans
- [ ] Step 6: Ask clarifying questions (if needed)
- [ ] Step 7: Derive and confirm feature name
- [ ] Step 8: Create feature directory and documents
- [ ] Step 9: Update CLAUDE.md
- [ ] Step 10: Clean up and report
Check for existing context:
cat .claude/bootstrap-context.md 2>/dev/null
If exists, offer to use it. Otherwise, ask:
What would you like to build?
Store as USER_DESCRIPTION.
git rev-parse --show-toplevelPROJECT_ROOTEnsure the toolkit is installed in the project:
Determine toolkit location:
GENERATOR_PROMPT.md exists in CWD), use that path.claude/toolkit-version.json if present~/Projects/ai_coding_project_base)Run /setup PROJECT_ROOT (idempotent — safe to run multiple times)
Continue after setup completes (no user interaction needed for idempotent runs)
See CODEBASE_SCAN.md for detailed scanning procedures.
Compile findings as CODEBASE_CONTEXT with:
find PROJECT_ROOT -name "EXECUTION_PLAN.md" -type f
For each found plan:
.claude/phase-state.json exists, use it for completion status- [x] (completed) vs - [ ] (incomplete) criteriaIf unfinished plans exist, report:
UNFINISHED EXECUTION PLANS DETECTED
===================================
- EXECUTION_PLAN.md: Phase 2 of 4 (5/12 tasks complete)
- features/analytics/EXECUTION_PLAN.md: Phase 1 of 2 (3/8 tasks complete)
Ask with AskUserQuestion:
Question: "There are unfinished execution plans. How should I proceed?"
Options:
- "Continue anyway" — Create new feature plan alongside existing work
- "Add TODO reminder" — Add reminder to TODOS.md and continue
- "Cancel" — Stop bootstrap to focus on existing work
If "Add TODO reminder":
echo "- [ ] [backlog] Complete unfinished execution plans before starting new work" >> PROJECT_ROOT/TODOS.md
If "Cancel": Stop and report existing plans that need attention.
Only ask what's necessary. Do NOT ask about:
Store as FEATURE_NAME.
mkdir -p PROJECT_ROOT/features/FEATURE_NAME
Create:
FEATURE_SPEC.md — Problem, solution, scope, acceptance criteriaEXECUTION_PLAN.md — Phases, tasks, files to modifySee TEMPLATES.md for document templates.
If CLAUDE.md doesn't reference AGENTS.md, add:
@AGENTS.md
After creating documents, run cross-model review if Codex CLI is available:
codex --version/codex-review on the generated documentsReview invocation:
/codex-review --mode research --research "{detected technologies from codebase scan}" PROJECT_ROOT/features/FEATURE_NAME/EXECUTION_PLAN.md
If Codex finds issues:
If Codex unavailable: Skip silently and proceed to Step 10.
If bootstrap-context.md was used, offer to delete it.
FEATURE PLAN CREATED
====================
Feature: {FEATURE_NAME}
Location: PROJECT_ROOT/features/FEATURE_NAME/
Files created:
- FEATURE_SPEC.md
- EXECUTION_PLAN.md — {N} phases, {M} tasks
Cross-Model Review: PASSED | PASSED WITH NOTES | SKIPPED
Next steps:
1. Review: cat PROJECT_ROOT/features/FEATURE_NAME/FEATURE_SPEC.md
2. Start: cd PROJECT_ROOT/features/FEATURE_NAME && /fresh-start && /phase-start 1
Input: "Add dark mode toggle to settings page with localStorage persistence"
Codebase scan finds: React app, Settings.tsx, existing Toggle component, CSS modules
Output: Feature directory at features/dark-mode/ with FEATURE_SPEC.md and EXECUTION_PLAN.md referencing existing patterns and files.