一键导入
work-plan
Plan the implementation of a feature. Use when the user wants to plan, architect, define an approach, or before coding a complex feature.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Plan the implementation of a feature. Use when the user wants to plan, architect, define an approach, or before coding a complex feature.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Multi-agent team orchestration with native Agent Teams. Trigger when the user wants to launch a team of agents, coordinate parallel work with inter-agent communication, or use swarm mode.
Perform a thorough code review. Use when the user requests a review, wants to verify code quality, or before merging a PR.
Context transfer between AI sessions. Trigger when the user wants to save the context, resume a task, or hand off the work to another session.
API mock configuration for tests. Trigger when the user wants to mock APIs, use MSW, or test without a backend.
Debug and resolve problems. Use when the user has a bug, an error, an unexpected behavior, or wants to understand why something is not working.
TDD development with Red-Green-Refactor cycle. Use to implement a feature by writing tests BEFORE the code. Trigger automatically when the user asks for TDD, wants to write tests first, mentions "test first", or asks to implement, add, create, fix, correct code, a new feature, a bugfix, or a functionality.
| name | work-plan |
| description | Plan the implementation of a feature. Use when the user wants to plan, architect, define an approach, or before coding a complex feature. |
| allowed-tools | ["Read","Glob","Grep","Bash"] |
| context | fork |
| disable-model-invocation | true |
Define an action plan BEFORE coding. The plan must be validated before implementation.
Questions to clarify:
# Search for similar code
grep -rn "similar_pattern" --include="*.ts" | head -20
# Identify dependencies
cat package.json | grep -A 20 '"dependencies"'
Decisions to make:
Break down into atomic tasks of 1-2h max.
## Plan: [Feature name]
### Objective
[Description in 1-2 sentences]
### Files to create
| File | Description |
|---------|-------------|
| `src/xxx.ts` | [Role] |
### Files to modify
| File | Modifications |
|---------|---------------|
| `src/yyy.ts` | [Changes] |
### Tests to write
- [ ] Nominal case test
- [ ] Edge cases test
- [ ] Error test
### Implementation steps
1. [ ] [Task 1]
2. [ ] [Task 2]
3. [ ] [Task 3]
### Identified risks
| Risk | Mitigation |
|--------|------------|
| [Risk 1] | [Solution] |
### Dependencies
- [ ] [Prerequisite 1]