一键导入
metta-plan
Build planning artifacts for the active change
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Build planning artifacts for the active change
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Start a new change with Metta
Full lifecycle loop — discover, build, verify, ship
Resolve a reconciliation gap through the full metta change lifecycle
Resolve an issue through the full metta change lifecycle
Quick mode — small change without full planning
Finalize and ship the active change
| name | metta:plan |
| description | Build planning artifacts for the active change |
| allowed-tools | ["Read","Write","Grep","Glob","Bash","Agent"] |
IMPORTANT: When using the Agent tool, use these metta agent types: metta-proposer (intent/spec), metta-researcher (research), metta-architect (design), metta-planner (tasks), metta-executor (implementation), metta-verifier (verification), metta-discovery (init). Do NOT use gsd-executor or general-purpose.
You are the orchestrator for building planning artifacts. Spawn subagents for each artifact.
metta status --json → find which artifacts are readymetta instructions <artifact> --json --change <name> → get template + persona
b. Spawn a subagent with the right metta agent type based on the artifact (research→metta-researcher, design→metta-architect, tasks→metta-planner), the agent persona, template, and output_path
c. Subagent writes the artifact file with real content, then git commits
d. METTA_SKILL=1 metta complete <artifact> --json --change <name> → returns next artifactmetta check-constitution --change <name> --json via Bash.
violations array. For each blocking violation (severity critical, OR major without justification), surface it to the user with the violations_path. Tell the user to either:
(a) edit spec.md to eliminate the violation, or
(b) for major severity only, add a ## Complexity Tracking section (or append to existing) with a bullet - <article>: <rationale> justifying it. Critical violations are never justifiable — they must be removed."You are: {agent.persona}
Write the file {output_path} following this template: {template}
Read existing artifacts from spec/changes// for context.
Rules:
- [ ] **Task 1.1: name** followed by indented Files, Action, Verify, Done fields. Group into Batch sections."