一键导入
bootstrap-project
Analyze an existing repository and normalize it into standard engineering structure. One-time setup for brownfield projects.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Analyze an existing repository and normalize it into standard engineering structure. One-time setup for brownfield projects.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Requires the user to explicitly review and approve a generated specification before implementation begins.
Archives completed milestone artifacts and infrastructure reports while preserving complete engineering history. Includes Structure Cleanup mode to enforce 3-layer registry pattern.
Semantic repository search and skeleton generation for OMP AEF infrastructure.
Analyze recent project artifacts and Session Audit Reports (SA1, SA2, SA3...) to learn from mistakes, identify workflow inefficiencies, and automatically update/version our SDD SKILL.md files. Handles multiple session audits and TEMP milestones.
Transform an approved milestone document into a detailed implementation specification. Supports followup specifications for existing milestones.
Transform an implementation specification into a verification protocol defining how correctness will be evaluated. Supports followup specifications referencing multiple sources.
| name | bootstrap-project |
| version | 1.0.1 |
| description | Analyze an existing repository and normalize it into standard engineering structure. One-time setup for brownfield projects. |
| tools | read, write, bash, glob, grep, lsp, edit |
| user-invocable | true |
You are a repository analyzer that transforms existing codebases into the project's canonical knowledge layer.
Typically executed once per repository or after major architectural changes.
glob to map the codebase, identify languages/build systems.package.json, Cargo.toml, requirements.txt, Makefile, etc.lsp and grep to identify components, entry points, interfaces.README.md, docs/, any project guides.docs/ directory — Generate CHANGELOG.md, FRAMEWORK.md, SPEC.md, ROADMAP.md, PLAYBOOK.md, DATA.md, MILESTONES.md, and EXPERIENCES.md as needed.README.md and AGENTS.md (repository overview, build commands, preferred tool patterns) as needed.milestones/ and milestones/archive/ directories exist.package.json, Cargo.toml, pom.xml, requirements.txtsrc/, lib/, pkg/, root files.env, config/, deployment filestest/, spec/, pytest.ini, test scriptsREADME.md, docs/, wiki content.github/workflows/, .gitlab-ci.yml, etc.Prefer semantic discovery:
code-search skill if available: ~/devcode/aef/agent/skills/code-search/code-search.sh --skeletonsmain functions, route handlers, public APIsRead selectively:
- [M{X}] - {goal} (active) for active work- [M{X}] - {goal} (archived) → milestones/archive/M{X}/ for archived work{repository}/
├── README.md # Created or updated with project overview and quick start
├── AGENTS.md # Created or updated (agent entry point)
{repository}/docs/
├── CHANGELOG.md # Created (chronological record of changes)
├── FRAMEWORK.md # Created if missing
├── SPEC.md # Created or updated
├── ROADMAP.md # Created or updated
├── PLAYBOOK.md # Created or updated
├── DATA.md # Created if data components exist
├── MILESTONES.md # Created (empty initially)
└── EXPERIENCES.md # Created with Active Friction Points and Applied Skill Updates
{repository}/milestones/
├── archive/ # Created for archived milestones
└── M{X}/ # Future milestone directories
{repository}/
├── README.md # Created or updated with project overview and quick start
├── AGENTS.md # Created or updated (agent entry point)
{repository}/docs/
├── CHANGELOG.md # Created (chronological record of changes)
├── FRAMEWORK.md # Created if missing
├── SPEC.md # Created or updated
├── ROADMAP.md # Created or updated
├── PLAYBOOK.md # Created or updated
├── DATA.md # Created if data components exist
└── MILESTONES.md # Created (empty initially)
{repository}/milestones/
├── archive/ # Created for archived milestones
└── M{X}/ # Future milestone directories
Never:
bash)For simple one-line edits, bash with sed is simpler and less error-prone:
# Replace line 27 with new text
sed -i.bak '27s/.*/NEW_TEXT/' /path/to/file
# Example: Fix a single instruction line
sed -i.bak '27s/.*/13. **Write the specification** — Use the template at `~/devcode/aef/agent/templates/specification_template.md`. If you determined a multi-spec approach is needed, ONLY generate the specification for the current {Y} sequence. Add a 'Next Steps' section at the bottom advising the user to run `generate-verification` for the verification protocol./' skills/generate-spec/SKILL.md
edit)For structural changes with multiple lines, use the edit tool:
Steps:
read to get [PATH#HASH]SWAP N.=N: to replace a single lineSWAP.BLK N: to replace a complete block+ prefix for new linesExample:
[SKILL.md#ABC123]
SWAP 27.=27:
+13. **Write the specification** — Use the template at `~/devcode/aef/agent/templates/specification_template.md`. If you determined a multi-spec approach is needed, ONLY generate the specification for the current `{Y}` sequence. Add a 'Next Steps' section at the bottom advising the user to run `generate-verification` for the verification protocol.