writing-plans
Use when you have a spec or requirements for a multi-step task, before touching code
Skill by thangbuiq
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/thangbuiq-writing-plans
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: writing, productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/writing-plans
What's inside
- Skill name
writing-plans- Description
- Use when you have a spec or requirements for a multi-step task, before touching code
- License
- MIT
- Metadata
- source: https://github.com/obra/superpowers/tree/bb92a77741419a4ab5f06e711a283343f1ada0c3/skills/writing-plans
- Instructions
- 201 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Writing Plans
## Overview
Write implementation plans for an engineer who has not seen this codebase or this spec. Assume they write idiomatic code in the project's language once they know the exact interface and the exact test, and that they will make a reasonable choice wherever the plan leaves one open. What they cannot know is what you decided: which files, which names and signatures, which values from the spec, which tests prove each task. Document those. Give them the whole plan as bite-sized tasks. DRY. YAGNI. TDD. Frequent commits.
**Announce at start:** "I'm using the writing-plans skill to create the implementation plan."
**Context:** If working in an isolated worktree, it should have been created via the `superpowers:using-git-worktrees` skill at execution time.
**Save plans to:** `docs/superpowers/plans/YYYY-MM-DD-<feature-name>.md`
- (User preferences for plan location override this default)
## Scope Check
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.
## File Structure
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.
- Design units with clear boundaries and well-defined interfaces. Each file should have one clear responsibility.
- You reason best about code you can hold in context at once, and your edits are more reliable when files are focused. Prefer smaller, focused files over large ones that do too much.
- Files that change together should live together. Split by responsibility, not by technical layer.
- In existing codebases, follow established patterns. If the codebase uses large files, don't unilaterally restructure - but if a file you're modifying has grown unwieldy, including a split in the plan is reasonable.
This structure informs the task decomposition. Each task should produce self-contained changes that make sense independently.
## Task Right-Sizing
A task is the smallest unit that carries its own test cycle and is worth a
fresh reviewer's gate. When drawing task boundaries: fold setup,
configuration, scaffolding, and documentation steps into the task whose
deliverable needs them; split only where a reviewer could meaningfully
reject one task while approving its neighbor. Each task ends with an
independently testable deliverable.
## Step Granularity
**Each step is one action with a checkable result:**
- "Write the failing test" - step
- "Run it to make sure it fails" - step
- "Implement the minimal code to make the test pass" - step
- "Run the tests and make sure they pass" - step
- "Commit" - step
## Plan Document Header
**Every plan MUST start with this header:**
```markdown
# [Feature Name] Implementation Plan
> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans 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]
**Spec:** [path to the spec/design doc this plan implements - the plan
argues from the spec, so the spec travels with it; executors read both]
## Global Constraints
[The spec's project-wide requirements - version floors, dependency limits,
naming and copy rules, platform requirements - one line each, with exact
values copied verbatim from the spec. Every task's requirements implicitly
include this section.]
## Review Focus
[The five input classes or failure modes the spec implies but no task's
tests exercise that are most likely to bite a person using this software -
one line each, naming the input or condition and the behavior a
reasonable person would expect, most likely first. The spec is a vision
document: it says what the software must do, not everything it will
meet, and its silence on an input is not permission for that input to
break the program. Write the list here, once, with the spec in front of
you. Then, for each line, add the test that pins it to the task that
owns the code, in that task's own step style.]
---
```
## Task Structure
````markdown
### 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`
**Interfaces:**
- Consumes: [what this task uses from earlier tasks - exact signatures]
- Produces: [what later tasks rely on - exact function names, parameter
and return types. A task's implementer sees only their own task; this
block is how they learn the names and types neighboring tasks use.]
- [ ] **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: Implement `function(input: InputType) -> ResultType` in `exact/path/to/file.py`**
One line on the approach when the signature and the test leave a choice
(which library call, which data structure); a code block only for anFrom thangbuiq/universal-ai-agent-kit, MIT.
More from thangbuiq/universal-ai-agent-kit
- 0.565score
git-workflow
thangbuiq
Branching, Conventional Commit messages and pull request practices.
SkillAFreshness: AClaude Code +9 - 0.559score
commit-with-precommit
thangbuiq
Commit in repos that use prek or pre-commit.
SkillAFreshness: AClaude Code +9 - 0.559score
documentation
thangbuiq
Write or update READMEs, API docs, docstrings, ADRs and changelogs.
SkillAFreshness: AClaude Code +9 - 0.556score
refactoring
thangbuiq
Safely restructure code without changing behaviour.
SkillAFreshness: AClaude Code +9 - 0.544score
mcp-builder
thangbuiq
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools.
SkillAFreshness: AClaude Code +9 - 0.541score
webapp-testing
thangbuiq
Toolkit for interacting with and testing local web applications using Playwright.
SkillAFreshness: AClaude Code +9 - 0.539score
receiving-code-review
thangbuiq
Use when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires…
SkillAFreshness: AClaude Code +9 - 0.538score
requesting-code-review
thangbuiq
Use when completing tasks, implementing major features, or before merging to verify work meets requirements
SkillAFreshness: AClaude Code +9 - 0.538score
systematic-debugging
thangbuiq
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes
SkillAFreshness: AClaude Code +9 - 0.536score
frontend-design
thangbuiq
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one.
SkillAFreshness: AClaude Code +9 - 0.534score
subagent-driven-development
thangbuiq
Use when executing implementation plans with independent tasks in the current session
SkillAFreshness: AClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 17, 2026 (11 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from thangbuiq
- 0.565score
git-workflow
thangbuiq
Branching, Conventional Commit messages and pull request practices.
SkillAFreshness: AClaude Code +9 - 0.559score
commit-with-precommit
thangbuiq
Commit in repos that use prek or pre-commit.
SkillAFreshness: AClaude Code +9 - 0.559score
documentation
thangbuiq
Write or update READMEs, API docs, docstrings, ADRs and changelogs.
SkillAFreshness: AClaude Code +9 - 0.556score
refactoring
thangbuiq
Safely restructure code without changing behaviour.
SkillAFreshness: AClaude Code +9 - 0.544score
mcp-builder
thangbuiq
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools.
SkillAFreshness: AClaude Code +9 - 0.541score
webapp-testing
thangbuiq
Toolkit for interacting with and testing local web applications using Playwright.
SkillAFreshness: AClaude Code +9
Cite this page
writing-plans skill. Agent Mart. https://agentmart.dev/skills/thangbuiq-writing-plans (last updated 2026-10-24)