一键导入
implement-plan
Implement a plan with coordinated agents
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Implement a plan with coordinated agents
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
| name | implement-plan |
| description | Implement a plan with coordinated agents |
| argument-hint | <path/to/plan.md> [--exclude "section1,section2"] |
Implement a verified plan using coordinated agents. Reads the plan, decomposes it into ordered tasks, spawns appropriate agents, and implements with incremental commits.
Parse $ARGUMENTS for:
.md)If $ARGUMENTS is empty, find the most recently modified .md file in ~/.claude/plans/:
ls -t ~/.claude/plans/*.md | head -1
Before spawning any agents, perform these checks yourself:
<!-- Verified by /verify-plan at the top/verify-plan first." Ask whether to proceed or stop.git status — if there are uncommitted changes, warn the user and ask whether to proceed or stash firstgit diff mainline...HEAD --stat to see what's already been changed on this branchEditor/ to understand current implementationsunity-plugin.md for the design spec contextCLAUDE.md for conventionsBreak the plan into commit-sized tasks using TaskCreate. Follow these rules:
addBlockedBy to enforce ordering--exclude flagAssign tasks to agents via TaskUpdate with the owner field. Monitor progress via TaskList.
Each agent receives these instructions along with their specific task:
You are implementing part of a plan for the sharpy-unity Unity package.
CRITICAL RULES:
- This is a UPM package, NOT a Unity project — code can't be tested with Unity directly
- C# style: 4-space indent, Allman braces, no #nullable enable
- Namespace: Sharpy.Unity.Editor for editor code, Sharpy.Unity.Runtime for runtime code
- Unity minimum version: 2022.3 LTS (C# 9.0, netstandard2.1 compatible)
- No Unity-incompatible APIs (check Unity docs if unsure)
- Reference unity-plugin.md for design decisions and architecture
- Reference ../sharpy for compiler interface details (CLI flags, diagnostic JSON format)
WORKFLOW:
1. Read the plan section for your task
2. Read existing code patterns in the files you're modifying
3. Implement the changes
4. Stage ONLY the specific files you changed (never `git add -A` or `git add .`)
5. Commit with a descriptive conventional commit message
6. Mark your task as completed via TaskUpdate
During implementation, if agents discover:
sharpy repo (e.g., missing --namespace flag)unity-plugin.md, document whyAfter each task is completed by an agent:
feat: add JSON diagnostic parsing (plan step 4)Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> in the commitAfter all implementation tasks are complete:
git diff --stat — summarize all changes madePresent a summary report to the user:
## Implementation Summary
**Plan:** [plan file path]
**Branch:** [current branch]
**Commits:** [count]
### What Was Done
- (list each completed task with commit hash)
### What Was Deferred
- (list any items deferred with reasons)
### Upstream Changes Needed
- (list any changes needed in the sharpy repo)
### Files Changed
(output of `git diff mainline...HEAD --stat`)
### Next Steps
- (suggest what to do next — e.g., "Bundle compiler binaries", "Test in a Unity project")
Verify completed plan implementation, fix gaps, and commit fixes
Validate C# scripts compile by running a standalone syntax check
Clean temporary files and build artifacts
Close GitHub issues that have been implemented, with verification
Stage and commit current changes with an auto-generated message
Create an implementation plan from GitHub issues or a description
基于 SOC 职业分类