用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/appautomaton/mlx-speech --skill auto-plan命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| 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.
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. Syncing the revised plan clears the standing verdict (.agent/.automaton/references/ARTIFACT-LIFECYCLE.md, Review Verdict Routing).
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 a slice may need the subagent route, or when rendering the topology section.
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 when the trigger does not apply:
Apply the Artifact Signal Discipline rules from .agent/.automaton/references/FRAMEWORK.md while writing. Preserve existing ## Review: sections on re-run unless the user explicitly requests consolidation. 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.
Planning always stops. The edge's why: .agent/.automaton/references/ARTIFACT-LIFECYCLE.md (Handoff Contract).
Report the slice count, the execution topology, and any checkpoint. Then end the turn with **Next:** auto-execute, <reason>, or **Next:** auto-eng-review, <reason> when the plan carries non-trivial engineering risk.
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.mjsauto-frame; planning never expands scope.基于 SOC 职业分类