writing-plans

Use when you have a spec or requirements for a multi-step task, before touching code

60 stars

Best use case

writing-plans is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Use when you have a spec or requirements for a multi-step task, before touching code

Teams using writing-plans should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/writing-plans/SKILL.md --create-dirs "https://raw.githubusercontent.com/alffei/skill_share/main/superpowers-antigravity/skills/writing-plans/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/writing-plans/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How writing-plans Compares

Feature / Agentwriting-plansStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Use when you have a spec or requirements for a multi-step task, before touching code

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Writing Plans

## Overview

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. Frequent commits.

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 writing-plans skill to create the implementation plan."

**Context:** This should be run in a dedicated worktree (created by brainstorming skill).

**Save plans to:** `docs/plans/YYYY-MM-DD-<feature-name>.md`

## Bite-Sized Task Granularity

**Each step is one action (2-5 minutes):**
- "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 Claude:** REQUIRED SUB-SKILL: Use superpowers:executing-plans to implement this plan task-by-task.

**Goal:** [One sentence describing what this builds]

**Architecture:** [2-3 sentences about approach]

**Tech Stack:** [Key technologies/libraries]

---
```

## 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`

**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

**Step 5: Commit**

```bash
git add tests/path/test.py src/path/file.py
git commit -m "feat: add specific feature"
```
```

## Remember
- Exact file paths always
- Complete code in plan (not "add validation")
- Exact commands with expected output
- Reference relevant skills with @ syntax
- DRY, YAGNI, TDD, frequent commits

## Execution Handoff

After saving the plan, offer execution choice:

**"Plan complete and saved to `docs/plans/<filename>.md`. Two execution options:**

**1. Subagent-Driven (this session)** - I dispatch fresh subagent per task, review between tasks, fast iteration

**2. Parallel Session (separate)** - Open new session with executing-plans, batch execution with checkpoints

**Which approach?"**

**If Subagent-Driven chosen:**
- **REQUIRED SUB-SKILL:** Use superpowers:subagent-driven-development
- Stay in this session
- Fresh subagent per task + code review

**If Parallel Session chosen:**
- Guide them to open new session in worktree
- **REQUIRED SUB-SKILL:** New session uses superpowers:executing-plans

Related Skills

writing-wechat-tech-posts

60
from alffei/skill_share

Writes complete WeChat tech posts (hook, TOC, body, checklists, image placement, layout notes, summaries). Use when the user asks to draft a WeChat tech article, generate reusable prompts for writing, or turn a topic/outline into a publish-ready post.

writing-skills

60
from alffei/skill_share

Use when creating new skills, editing existing skills, or verifying skills work before deployment

executing-plans

60
from alffei/skill_share

Use when you have a written implementation plan to execute in a separate session with review checkpoints

titling-wechat-tech-posts

60
from alffei/skill_share

Crafts and rewrites WeChat tech post titles across multiple patterns (list, contrast, outcome, scenario, anti-myth, template). Use when the user needs headline brainstorming or “restrained but clickable” title rewrites for tech/engineering WeChat公众号.

planning-wechat-tech-account

60
from alffei/skill_share

Defines WeChat tech public-account positioning, audience segmentation, content pillars, and long-term columns. Use when the user asks about account positioning, reader personas, content strategy, or column planning for a tech/engineering WeChat公众号.

outlining-wechat-tech-posts

60
from alffei/skill_share

Builds WeChat-friendly outlines for tech posts, including multi-level TOC, reader-benefit lines per section, pitfalls and action checklists, and 30-second skim summaries. Use when the user asks for outlines, structures, or tutorial-style blueprints for tech/engineering WeChat公众号.

iterating-wechat-tech-posts

60
from alffei/skill_share

Generates endings/CTAs, pre-publish editorial QA, sentence sharpening, and post-performance retrospectives for WeChat tech posts. Use when the user needs a strong ending, final edit pass, or analytics-driven iteration plan for tech/engineering WeChat公众号.

ideating-wechat-tech-topics

60
from alffei/skill_share

Generates WeChat tech article topics, series, and angles with difficulty and “hit potential” scoring. Use when the user asks for topic ideas, content calendars, anti-myth angles, or serialized planning for tech/engineering WeChat公众号.

formatting-wechat-tech-posts

60
from alffei/skill_share

Designs image plans and rewrites formatting for WeChat-friendly readability (short paragraphs, bolding, separators, restrained emoji). Use when the user asks for illustration ideas, layout guidance, or to convert a draft into publish-ready WeChat formatting.

evidencing-wechat-tech-posts

60
from alffei/skill_share

Produces credible case-study writeups, non-hallucinated data handling, and fact-check lists for WeChat tech posts. Use when the user needs a project recap, results narrative, citations guidance, or “what to verify” checklists in tech/engineering WeChat公众号.

tech-explainer-writer

60
from alffei/skill_share

Use when drafting, rewriting, or polishing public-facing tech explainers for general readers. Trigger on requests to explain complex technical concepts, AI products, system mechanisms, industry trends, or jargon-heavy material in plain language; to turn notes, links, transcripts, slides, or drafts into popular-science articles,公众号内容, scripts, summaries, or “一看就懂” explanations.

verification-before-completion

60
from alffei/skill_share

Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always