ワンクリックで
code-planner
Analyze requirements and produce a detailed implementation plan before writing code
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Analyze requirements and produce a detailed implementation plan before writing code
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Evaluate workflow run quality by analyzing artifacts and scratch outputs, identify gaps and root causes, and write a structured assessment with actionable recommendations.
Write an Architecture Decision Record (ADR) for a technical decision
Diagnose a bug, identify root cause, implement a targeted fix, and verify it
Create a GitHub branch, commit changes to it, and open a pull request
Explore a newly-loaded workspace, map its structure, and write project notes to memory
Restructure code without changing external behavior — extract, rename, split, move
| name | code-planner |
| description | Analyze requirements and produce a detailed implementation plan before writing code |
Analyze requirements, explore the existing codebase, and write a concrete implementation plan before touching any production code.
Use this skill when:
Read /src/ files and any requirements docs in VFS:
const reqFiles = context.vfs.list().filter(p =>
p.includes('requirement') || p.includes('spec') || p.includes('README')
);
for (const f of reqFiles.slice(0, 5)) {
const content = context.vfs.read(f);
context.emit({ type: 'file_read', path: f });
// analyze...
}
const srcFiles = context.vfs.list().filter(p => p.startsWith('/src/'));
context.emit({ type: 'progress', message: `Analyzing ${srcFiles.length} source files...` });
// Identify:
// - Entry points
// - Key interfaces / contracts
// - Existing patterns to follow
// - Files that will need modification
Save to /scratch/<task-slug>/plan.md:
const plan = [
'# Implementation Plan: <task name>',
'',
'## Goal',
'<one sentence>',
'',
'## Approach',
'<2-3 sentences on strategy>',
'',
'## Files to create',
'| File | Purpose |',
'|------|---------|',
'| /src/services/foo.js | Does X |',
'',
'## Files to modify',
'| File | Change |',
'|------|--------|',
'| /src/index.js | Export new service |',
'',
'## Implementation order',
'1. Create interfaces/types first',
'2. Implement core logic',
'3. Wire into existing system',
'4. Write tests',
'',
'## Risk / unknowns',
'- <thing that might be wrong>',
'',
'## Success criteria',
'- [ ] <testable outcome>',
].join('\n');
context.vfs.write('/scratch/<task-slug>/plan.md', plan);
context.emit({ type: 'file_write', path: '/scratch/<task-slug>/plan.md' });
context.emit({ type: 'result', value: plan });
context.emit({ type: 'done', message: 'Plan written to /scratch/<task-slug>/plan.md — ready to implement' });
/src/ files in the same turn as planning