ワンクリックで
ss-writing-plans
Use when you have a spec or requirements for a multi-step task, before touching code
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Use when you have a spec or requirements for a multi-step task, before touching code
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Use before creating features, building components, adding functionality, or modifying behavior to explore user intent, requirements, and design before implementation
Use when a change packet's implementation is complete and you want to promote it into the project's permanent spec layout before closing the change out. Typical trigger phrases include "archive this change", "we're done with change X", or invocation after ss-executing-plans / ss-subagent-driven-development report all tasks complete.
Use when a non-engineer (PM / designer / product owner) has opened a frontend PR sketching a new feature's UI and user-flow with mocked data or stubbed API calls, and engineering needs to extract requirements, reason about backend / API support, and produce an OpenSpec change directory ready for ss-writing-plans
Use when executing implementation plans with independent tasks in the current session
Use when starting a new session to understand how superspec skills work and when to invoke them
| name | ss-writing-plans |
| description | Use when you have a spec or requirements for a multi-step task, before touching code |
Write comprehensive implementation plans assuming the engineer has zero context for our codebase and questionable taste. Document everything they need to know: which files to touch for each task, code, testing, docs they might need to check, how to test it. Give them the whole plan as bite-sized tasks. DRY. YAGNI. TDD.
Assume they are a skilled developer, but know almost nothing about our toolset or problem domain. Assume they don't know good test design very well.
Announce at start: "I'm using the ss-writing-plans skill to create the implementation plan."
Context: Invoked by ss-brainstorming after the design phase. Both Standard and One-shot modes produce a design.md before handing off — use it as the primary reference. The change directory should already exist. In One-shot mode, plan + tasks generation happens in the same continuous pass as the design (no separate user gate between them); the user reviews all three artifacts together afterwards.
Save plans to: changes/YYYY-MM-DD-<topic>/plan.md (in the change directory)
Also generate: changes/YYYY-MM-DD-<topic>/tasks.md — a standalone task checklist extracted from the plan for cross-session persistence. Each task is a - [ ] checkbox line with a brief description. This file is the persistent tracking mechanism that survives across conversations (unlike TodoWrite which is ephemeral).
If the spec covers multiple independent subsystems, it should have been broken into sub-project specs during brainstorming. If it wasn't, suggest breaking this into separate plans — one per subsystem. Each plan should produce working, testable software on its own.
Before defining tasks, map out which files will be created or modified and what each one is responsible for. This is where decomposition decisions get locked in.
This structure informs the task decomposition. Each task should produce self-contained changes that make sense independently.
Each step is one action (2-5 minutes):
Note: Do NOT include git commit steps in plans. The user handles their own git workflow.
Every plan MUST start with this header:
# [Feature Name] Implementation Plan
> **For agentic workers:** REQUIRED SUB-SKILL: Use ss-subagent-driven-development to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking.
**Goal:** [One sentence describing what this builds]
**Architecture:** [2-3 sentences about approach]
**Tech Stack:** [Key technologies/libraries]
---
### Task N: [Component Name]
**Files:**
- Create: `exact/path/to/file.py`
- Modify: `exact/path/to/existing.py:123-145`
- Test: `tests/exact/path/to/test.py`
- [ ] **Step 1: Write the failing test**
```python
def test_specific_behavior():
result = function(input)
assert result == expected
```
- [ ] **Step 2: Run test to verify it fails**
Run: `pytest tests/path/test.py::test_name -v`
Expected: FAIL with "function not defined"
- [ ] **Step 3: Write minimal implementation**
```python
def function(input):
return expected
```
- [ ] **Step 4: Run test to verify it passes**
Run: `pytest tests/path/test.py::test_name -v`
Expected: PASS
After writing the complete plan, dispatch a general-purpose subagent to review it against the spec (if any). Inline self-review is not acceptable — empirically the author rubber-stamps their own work and skips codebase verification. The reviewer must open the repo to verify concrete claims (file paths, symbol names, fixtures, signatures, that referenced types/functions actually exist).
Use the template at plan-document-reviewer-prompt.md. Pass the absolute path of plan.md and, if it exists, design.md.
When the subagent returns:
plan.md so the user can adjudicate), then re-dispatch the reviewer on the updated file. Loop until approved.Calibration: the reviewer is instructed to flag only issues that would cause an implementer to build the wrong thing or get stuck. Minor wording is not an issue.
After writing the plan, generate a tasks.md file in the same change directory. This file extracts the high-level task checklist from the plan:
# Tasks: [Feature Name]
**Change:** changes/YYYY-MM-DD-<topic>/
**Plan:** plan.md
**Design:** design.md *(omit this line if no design.md exists)*
## Tasks
- [ ] Task 1: [Component Name] — [one-line summary]
- [ ] Task 2: [Component Name] — [one-line summary]
- [ ] Task 3: [Component Name] — [one-line summary]
...
Each line corresponds to a ### Task N section in the plan. Execution skills will mark these - [x] as tasks complete, providing persistent cross-session tracking.
After saving the plan and tasks.md:
changes/YYYY-MM-DD-<topic>/plan.md. Tasks tracked in tasks.md."If invoked with mode: one-shot (handoff from ss-brainstorming One-shot, or user explicitly states one-shot):
Otherwise (Standard mode or no signal) — use AskUserQuestion with these options:
REQUIRED SUB-SKILL: Use ss-subagent-driven-development (subagent mode or inline mode)