一键导入
implement
Implement an approved spec — reads plan from specs_dir, executes phase by phase, updates checkboxes, verifies after each phase, and commits completed work
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Implement an approved spec — reads plan from specs_dir, executes phase by phase, updates checkboxes, verifies after each phase, and commits completed work
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Create GitHub pull requests — picks the most token-efficient available method (gh CLI, GitHub MCP, or git push), and sources the PR body from an existing spec/plan instead of re-analyzing the diff
Prime — load project context by reading docs, the docs_context layer, core docs, and TODO before starting any task
Feature planning — research codebase, design options, write a structured spec/implementation plan to the project specs directory
Generate feature documentation by analyzing code changes and specifications — creates markdown docs in docs/core/ with conditional context
Bootstrap any project's AI workspace — detect the current tool, extract hardcoded paths from skill/command/agent files, write a central workspace.md, update all files to use config keys
Build or refresh the codebase graph indexes (codebase-memory-mcp structural index + graphify semantic graph) that other skills read from. The single writer — idempotent, incremental, safe to call repeatedly.
| name | implement |
| description | Implement an approved spec — reads plan from specs_dir, executes phase by phase, updates checkboxes, verifies after each phase, and commits completed work |
| metadata | {"phase":"implement","input":"path to the spec file (e.g. docs/specs/1234567-feature-name.md)","output":"implemented feature with updated spec checkboxes, verification results, and committed phases","dependencies":"onboard-project"} |
Implement an approved spec from specs_dir. Execute every step in order, verify after each phase, update checkboxes as you go, and commit completed work.
Use this skill when the user:
spec_file: $ARGUMENTS — path to the spec (e.g. docs/specs/feature-to-bootstrap-package.md)
onboard-project skill before continuing
docs/CONTEXT.md and any matching docs/core/*.md — and # WORKSPACE rules automatically# WORKSPACE → Context Loading, matching Tier 1 on Files (the spec's Relevant Files) or Keywords (its feature description) — matched docs may carry conventions this implementation must follow- [x])If no spec path is provided, ask for one before proceeding.
Use the branch convention from # WORKSPACE (default: feat-{short-description} or feat-{adw_id}-{short-description}).
If not already on a feature branch, create one. Skip if the branch already exists.
Always ask before creating a branch unless the spec or user explicitly says to proceed automatically.
For each phase in the spec's Step by Step Tasks section:
# WORKSPACE conventions, or feedback memory — surface the conflict first (see "When the plan doesn't match reality"). A spec that names a specific class/method placement is expressing intent, not a mandate to violate the thin-model / jobs-orchestrate rules.
1.1 Before creating new files, check whether existing files could be reused or extended instead. If so, follow the existing conventions and code patterns. or think hard about whether it's worth proposing new conventions and code patterns that could be useful for this feature and reusable in the future. If so, propose them to the team.- [ ] → - [x]) and mark the phase header ✅ when fully donecommit skill to generate the commit message; ask for confirmation before committingSurface mismatches immediately — never silently deviate, and never silently comply with a step that violates a convention. Two triggers:
# WORKSPACE, or feedback memory. Example: spec says "add cancel_siblings class method on the model" but the thin-model rule says business logic belongs in a service.Report either as:
Issue in Phase [N] — Step [X]:
Expected: <what the spec says>
Found: <the reality drift, or the convention it conflicts with>
Impact: <why this matters>
Proposed: <how you suggest proceeding — e.g. implement the behavior as a service instead>
# WORKSPACE → Code governs whether code should exist and how much of it (YAGNI, reuse, no unrequested abstractions). The rules below govern how the code that must exist is shaped — apply both:
validate*(), extract*(), build*(), verify*(), check*(), process*(), persist*()If the spec already has checkmarks when you start:
- [ ] itemAfter all phases are complete, run the full Validation Commands block from the spec. Every command must pass before reporting done. Fix any failures first.
Ask whether the user wants to run the project's full test suite (not just the spec's targeted commands). If yes, run it directly and fix any regressions before reporting done.
While implementing, list all steps as they complete.
When all phases are complete:
git diff --stat