원클릭으로
writing-plans
Use when a task requires multiple steps and benefits from a structured plan before implementation begins
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Use when a task requires multiple steps and benefits from a structured plan before implementation begins
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Use when a structured PRD document is needed for the ralph loop — generates prd.json and progress.txt
Use when task scope exceeds one context window and decomposes into independent pass/fail stories with clean iteration boundaries
Use when implementation is complete, all tests pass, and you need to decide how to integrate the work — merge, PR, or cleanup
Use when starting feature work that needs isolation from the current workspace or before executing plans that could leave the branch in a broken state
Use when a hard problem was just solved and the solution should be captured as a learning for future reference
Use when 3+ distinct occurrences suggest a skill should be updated with a new trigger, anti-pattern, or verification step
| name | writing-plans |
| description | Use when a task requires multiple steps and benefits from a structured plan before implementation begins |
| tags | ["process","planning","architecture"] |
| triggers | ["plan","implement feature","multi-step task","architecture decision","new feature","requirements clear"] |
| chains_to | ["executing-plans","ralph-loop"] |
| priority | core |
| gate | false |
Before implementing anything non-trivial: write a plan. Plans are ordered lists of concrete steps with clear acceptance criteria. Write them in a plan file, get user approval, then execute.
Before writing anything:
brainstorming if one existsCreate a plan file at docs/plans/<date>-<slug>.md:
---
date: YYYY-MM-DD
topic: <feature-name>
type: implementation-plan
status: draft
---
# <Feature Name>
## Goal
[One sentence: what this achieves]
## Context
[2-3 sentences: what exists now, why this change is needed]
## Steps
### 1. [Step Name]
- **Files**: `path/to/file.ts`
- **What**: [Concrete description of changes]
- **Acceptance**: [How to verify this step is done]
### 2. [Step Name]
...
## Out of Scope
- [Things explicitly NOT included]
## Risks
- [Known risks or unknowns, if any]
Evaluate the plan:
| Signal | Assessment |
|---|---|
| Steps fit in one context window | Normal execution → executing-plans |
| Steps are independent and parallelizable | Use subagent-driven-development during execution |
| Too many steps for one session AND each step has pass/fail criteria AND clean iteration boundaries | Escalate to ralph-loop |
Show the plan to the user. Wait for approval before implementing.
Keep the presentation concise — the plan file has the details, your message should summarize:
Before presenting:
| Anti-Pattern | Why It's Wrong |
|---|---|
| Plans with vague steps ("set up the infrastructure") | Not actionable. Name the files and changes. |
| Plans without acceptance criteria | How do you know a step is done? |
| Over-planning trivial tasks | A 20-step plan for adding a button is waste. |
| Planning without reading the code | Your plan won't match reality. |
| Monolithic steps | Break "implement the feature" into actual steps. |
| Planning in your head | Write it down. Plans drift in memory. |
REQUIRED: syntaxninja-dojo:executing-plans (after user approves the plan) OPTIONAL: syntaxninja-dojo:ralph-loop (when scope exceeds one context window)