一键导入
create-plan
Create an implementation plan from issue analysis or feature concept
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create an implementation plan from issue analysis or feature concept
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Check a PR for review comments, evaluate them, and address valid ones
Post a written review file to GitHub as a proper PR review
Create a GitHub PR review with inline comments, preview before posting
Review changes or PRs against project guidelines
Execute an implementation plan, making changes and committing properly
Create an implementation plan from PR review feedback
| name | create-plan |
| description | Create an implementation plan from issue analysis or feature concept |
| allowed-tools | Read, Grep, Glob, Write |
Generate a detailed implementation plan based on existing analysis or concept documents.
Detect Current Context
feature/42-something → look for .ai/issue-42-*/feature/my-feature → look for .ai/feature-my-feature/Find Source Document
analysis.md (from /analyze-issue) or concept.md (for features)/analyze-issue first or provide contextRead Project Guidelines
Create Implementation Plan
plan.md in the same workflow folderWrite to .ai/<folder>/plan.md:
# Implementation Plan: <branch-name>
## Source
- Issue: #<number> (<link>)
- Analysis: `.ai/<folder>/analysis.md`
## Overview
<Brief summary of what will be implemented>
## Prerequisites
- [ ] Feature branch created: `feature/<name>`
- [ ] Analysis reviewed and understood
- [ ] No blocking questions remain
## Implementation Tasks
### Task 1: <Name>
**Files**: `path/to/file.go`
**Changes**:
- [ ] <Specific change 1>
- [ ] <Specific change 2>
**Details**:
<Any additional context or code snippets>
### Task 2: <Name>
**Files**: `path/to/file1.go`, `path/to/file2.go`
**Changes**:
- [ ] <Specific change>
**Depends on**: Task 1
### Task 3: Add Tests
**Files**: `test/cmd/<file>_test.go`
**Changes**:
- [ ] Add `Test<FunctionName>` - <what it tests>
- [ ] Add `Test<FunctionName>WithError` - <error case>
**Test Requirements**: Per TESTING_GUIDELINES.md
## Test Plan
### Unit Tests
| Test Name | Purpose | File |
|-----------|---------|------|
| `TestXxx` | <purpose> | `test/...` |
### Integration Tests
| Test Name | Scenario | File |
|-----------|----------|------|
| `TestXxxCommand` | <scenario> | `test/cmd/...` |
## Documentation Updates
- [ ] `docs/<command>.1.md` - <changes needed>
- [ ] `docs/gitflow-config.5.md` - <if config changes>
- [ ] Command help text updates
## Checkpoints
After each checkpoint, verify:
1. `go build ./...` succeeds
2. `go test ./...` passes
3. Changes work as expected
| Checkpoint | After Task | Verification |
|------------|------------|--------------|
| 1 | Task 1 | <what should work> |
| 2 | Task 2 | <what should work> |
| 3 | Task 3 | All tests pass |
## Commit Strategy
Plan commits following COMMIT_GUIDELINES.md.
## Estimated Scope
- Files to modify: <count>
- New files: <count>
- Tests to add: <count>
Validate Plan
Report Completion
/validate-tests to verify test approach, then start implementing