一键导入
create-plan
Create an implementation plan from GitHub issues or a description
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create an implementation plan from GitHub issues or a description
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | create-plan |
| description | Create an implementation plan from GitHub issues or a description |
| argument-hint | <issue numbers or description> |
Create a detailed implementation plan with context, rationale, and tasks for an engineer to follow. Saves the plan as a markdown file in ~/.claude/plans/.
Usage:
/create-plan 222,223,224,225,226 — read GitHub issues and create a plan/create-plan fix the 5 bugs from the audit — create a plan from a description/create-plan — ask the user what to planParse $ARGUMENTS:
222,223,224), treat them as GitHub issue numbersIf GitHub issues were specified:
gh issue view <number>gh api repos/antonsynd/sharpy/issues/<number>/commentsIf a description was provided:
Before writing the plan:
docs/language_specification/ for any applicable specssrc/Sharpy.Compiler.Tests/ and src/Sharpy.Core.Tests/python3 -c "..." where applicablegh issue list --search "..."Write a plan file to ~/.claude/plans/ with a random name (use openssl rand -hex 3 for a short hex suffix, e.g., plan-a1b2c3.md).
The plan must follow this structure:
# <Plan Title>
## Context
<What problem this solves, why it matters, links to GitHub issues>
## Current State
<What exists today, what's broken or missing>
## Design Decisions
<Key architectural choices with rationale. Reference Sharpy axioms where relevant:
- Axiom 1 (.NET compatibility) > Axiom 3 (Type safety) > Axiom 2 (Python syntax)
- Reference docs/language_specification/ where applicable>
## Implementation
### Phase N: <Phase Name>
**Goal:** <What this phase achieves>
#### Tasks
1. **<Task title>** — <file(s) involved>
- <Specific change description>
- <Acceptance criteria>
- Commit: `<conventional commit message>`
2. ...
### Phase N+1: ...
## Testing Strategy
- <New test fixtures needed (.spy + .expected/.error)>
- <Edge cases to cover>
- <Negative test cases>
## Issues to Close
- #NNN — <title> (closed by Phase N, Task M)
- ...
Plan quality requirements:
Tell the user:
/verify-plan <path> before /implement-plan <path>Suggest and apply a semver version bump based on commits since the last tag
Push current branch to remote origin
Scaffold a new Sharpy.Stdlib module (spy-sourced or handwritten C#) with all required files, conventions, docs, and tests
Implement a plan with a coordinated agent team
Run compiler or cross-language benchmarks and compare results
Regenerate C# snapshot tests and spy stdlib after intentional codegen changes