원클릭으로
auto-plan
Turn an approved spec into ordered slices. Use when framing is accepted and planning begins.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Turn an approved spec into ordered slices. Use when framing is accepted and planning begins.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Optional engineering go/no-go on a plan. Use when execution safety needs review before implementation.
Implement approved plan slices. Use as the execute-stage entry point.
Bound and de-risk a request into SPEC.md. Use when the objective is clear but scope needs constraining.
Sharpen a vague idea into a bounded objective. Use before framing when scope is undefined.
Build project truth from repo evidence. Use when steering is missing or stale.
Recover active change and next action from artifacts. Use on fresh session with existing work.
| name | auto-plan |
| description | Turn an approved spec into ordered slices. Use when framing is accepted and planning begins. |
| metadata | {"stage":"plan"} |
Planning controller. Turns approved framing into ordered slices with verification commands.
First action: run node .agent/.automaton/scripts/get-context.mjs from the project root.
auto-plan builds the smallest plan that makes execution safe while preserving the approved scope. It does not write code or broaden scope beyond the approved spec.
Loading discipline: hold SPEC.md, review state, and source files needed for accurate slices. Read wider project files when understanding existing code informs slice boundaries or verification commands. Read .agent/.automaton/references/CONTEXT-BUDGET.md when wider reads threaten context pressure. When a lookup would otherwise pull wide reads into context, dispatch the read-only automaton-librarian (see .agent/.automaton/references/LIBRARIAN.md): it returns evidence, you keep the decision.
Artifact discipline: PLAN.md is the reloadable execution index, not the whole implementation dossier. Keep PLAN.md compact enough to re-read. For large coherent work, summarize slices in PLAN.md and link optional detail files under .agent/work/<change>/slices/. Split only for independent outcomes, not because one coherent plan has many requirements.
Before finalizing PLAN.md:
references/quality.md when the plan leaves execution decisions to the implementer.Load the canonical SPEC.md, linked spec detail that carries normative requirements, relevant DESIGN.md, and source files needed to choose slice boundaries, dependencies, and verification commands. Do not ignore linked spec/*.md files when they contain requirement IDs, gap IDs, invariants, audit questions, migration checkpoints, coverage targets, or acceptance detail.
Read .agent/wiki/LEARNINGS.md when it exists: one-line facts earlier changes paid to learn, often constraints slices must respect.
If engineering_review exists in current.json for this change, this is a re-plan: read ## Review: Engineering in the prior PLAN.md and address each correction and approved_with_risks risk in the revised plan.
If the engineering approach is complex or risky, recommend auto-eng-review before execution.
If SPEC.md contains content fields or produces writing, articles, briefs, decks, newsletters, documentation, or proposals, read references/content-planning.md; carry forward channel, source policy, factual risk, and format where they affect execution or verification.
If SPEC.md names requirement IDs, gap IDs, invariants, audit questions, migration checkpoints, or coverage targets, preserve them in PLAN.md and attach them to satisfying slices. Do not collapse traceable requirements into untraceable prose.
Break work into ordered execution units, not topic buckets. Each slice must be:
Read references/slice-examples.md when uncertain whether a slice is well-designed.
For content slices, also name the artifact target, allowed sources, factual-risk gate, and format constraint so auto-execute does not invent missing context.
Before writing slices, choose the execution topology: serial order, subagent routes, checkpoints, and parallel-safe groups. Continuation is the default after a verified slice; mark a checkpoint only when the agent must pause for human verification, a human decision, or a human action. Parallel-safe means dependencies are independent and write sets are disjoint; default to none. For multi-slice plans, make clear that execution should continue through all approved slices; execution windows are context-management batches, not planned stopping points.
Frame each slice with required fields first, then only the overrides the slice needs:
### Slice N: [Name]
Required:
**Objective:** [one sentence]
**Acceptance criteria:**
- [observable criterion]
**Verification:** [command or check that proves the slice is done]
Defaults, state only when overriding:
**Execution:** direct | subagent recommended | subagent required (default: direct)
**Depends on:** none
**Checkpoint after:** none | human-verify | decision | human-action (default: none)
**Checkpoint reason:** none
Include when useful:
**Touches:** [files, directories, or subsystems]
**Produces:** [specific artifact or state change]
**Detail:** [linked `slices/slice-NNN.md` file]
Rules:
subagent recommended for broad, cross-subsystem, interface, schema, or review-risk work. Use subagent required only for user-requested multi-agent execution or security-critical, production-data, or irreversible-state changes..agent/.automaton/references/ARTIFACT-LIFECYCLE.md (Slice Defaults)..agent/.automaton/references/ARTIFACT-LIFECYCLE.md (Checkpoint Semantics). Assign a checkpoint only when its definition holds; default to none.slices/slice-NNN.md; split only for independent outcomes.Do NOT write PLAN.md if:
If any of these are true, recommend auto-frame and stop.
Write the plan to .agent/work/<change>/PLAN.md.
Core sections (always present):
none or the slice groups.Conditional sections appear only when their trigger applies; omit or mark "n/a" otherwise:
Apply the Artifact Signal Discipline rules from .agent/.automaton/references/FRAMEWORK.md while writing. Preserve existing ## Review: sections on re-run. Review skills replace their own sections.
Write .agent/work/<change>/DESIGN.md only when all three hold: the decision is hard to reverse, a future reader would be surprised without context, and it resolved a real trade-off between genuine alternatives. Any one missing means the rationale lives in PLAN.md prose. Keep it under 200 lines so it stays a reloadable contract rather than a dossier.
Run node .agent/.automaton/scripts/sync-status.mjs --canonical-plan ".agent/work/<change>/PLAN.md" --stage plan from the project root. Add --canonical-design ".agent/work/<change>/DESIGN.md" when DESIGN.md was written.
PLAN.md: written to .agent/work/<change>/PLAN.mdDESIGN.md: written to .agent/work/<change>/DESIGN.md (if needed).agent/.automaton/state/current.json: records canonical_design (when written), canonical_plan, and stage: plan through sync-status.mjsNext: auto-eng-review (optional review) or Next: auto-execute.