ワンクリックで
plan
Turn an approved spec.md into a plan.md (plus research, data-model, contracts as needed) that passes the Constitution Check.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Turn an approved spec.md into a plan.md (plus research, data-model, contracts as needed) that passes the Constitution Check.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Check for drift between spec.md, plan.md, tasks.md, and the actual code. Reports the gaps; does not fix them.
Run a category-specific quality pass (security / performance / accessibility / i18n / privacy / observability) against the current plan and code.
Surface [NEEDS CLARIFICATION] markers in spec.md (or plan.md) to the user, one at a time, and edit the file with the answers.
Bootstrap or amend constitution.md (framework, preset, or project). Inspects existing project context first; enforces the amendment process: issue first, one article per PR, reviewer non-author.
Print the pipeline quick-reference — a one-screen summary of every /aia:* command and its hand-offs, prefixed by a state-aware "Próximo passo" line.
Execute an approved plan + tasks list by dispatching one fresh subagent per task and applying two-stage review (spec compliance, then code quality) before moving on.
| name | plan |
| description | Turn an approved spec.md into a plan.md (plus research, data-model, contracts as needed) that passes the Constitution Check. |
| metadata | {"aiadev":{"version":"0.2.0","inputs":[{"type":"file","path":"specs/<branch>/spec.md"}],"outputs":[{"type":"file","path":"specs/<branch>/plan.md"}],"requires":["constitution","templates/plan-template.md"],"handoffs":["tasks","clarify"]}} |
Write the implementation plan from a clean spec.md. The plan says how the spec will be realized, without diving into task-level code (that is tasks).
Announce at start: "Using the plan skill. I will produce plan.md and pass the Constitution Check before handing off."
aiadev preflight plan --feature <slug>. Abort on non-zero exit unless AIADEV_PREFLIGHT=warn is set.spec.md exists, reviewer-approved, and contains zero [NEEDS CLARIFICATION] markers. If not → invoke clarify or specify first.constitution.md is readable.Copy the template. templates/plan-template.md → specs/<branch>/plan.md. Fill the header placeholders.
Write the Summary (one paragraph) and Technical context table from the active preset plus the spec's non-goals and performance budget.
Fill the Constitution Check table. One row per applicable article. For each: mark PASS, FAIL, or N/A, and give concrete evidence (file path, test name, or "no provider added"). If any article is FAIL, you must add a row to Complexity tracking with the waiver reason.
Add Architecture decisions. Short ADR-style entries — decision, rationale, trade-off. One per non-trivial choice.
Project structure changes. Diff-style listing of files to create, modify, or remove.
Phase breakdown. Group the work into phases whose order matters. Within a phase, tasks will be independent. Do not enumerate individual tasks here — that is tasks's job.
Next-invocation hints — do NOT write in this call. The plan may
reference auxiliary artifacts that, when needed, belong in follow-up
invocations of this skill (or in a separate spec). This call writes
plan.md only. Hints for future invocations:
research.md for investigations the plan depends on.data-model.md for schema diagrams or field lists.contracts/ for API payloads, event shapes, CLI grammars.When aiadev.tools.plan(...) is the entry point, the orchestrator
passes a Single required artifact directive that forbids these
auxiliary paths in the current turn — honour it.
Dispatch plan-document-reviewer if available. Iterate until approved.
Report in 3-5 lines: phases, #tasks forecast, any waivers requested, link to the file.
tasks from running.tasks.md is the only source of truth for the task list.tasks.clarify with specific markers added to spec.md (not plan.md).