Skip to content
writing-plans logo

Writing Plans

writing-plans

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

kaivyy/kabot0installs20stars

SKILL.md

Full skill instructions

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:

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

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

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

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

More skills from kaivyy

things-mac logo
kaivyy/kabot

things-mac

Manage Things 3 via the `things` CLI on macOS (add/update projects+todos via URL scheme; read/search/list from the local Things database). Use when a user asks Kabot to add a task to Things, list inbox/today/upcoming, search tasks, or inspect projects/areas/tags.

20 0
View
perseus:report logo
kaivyy/perseus

perseus:report

Use when generating the final executive security report (Phase 4)

68 0
View
perseus-supply-chain logo
kaivyy/perseus

perseus-supply-chain

Supply chain security analysis (CVEs, dependencies, typosquatting, licenses)

68 0
View
session-logs logo
kaivyy/kabot

session-logs

Search and analyze your own session logs (older/parent conversations) using jq.

20 0
View
config-manager logo
kaivyy/kabot

config-manager

Inspect and safely update Kabot configuration, model/memory/provider settings, channel account policies, allowlists, and related status or log evidence when debugging why a setting or runtime behavior is wrong.

20 0
View
perseus:start logo
kaivyy/perseus

perseus:start

Use when you want to run a full, automated penetration test from start to finish (Scan -> Audit -> Exploit -> Report)

68 0
View
blogwatcher logo
kaivyy/kabot

blogwatcher

Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.

20 0
View
camsnap logo
kaivyy/kabot

camsnap

Capture frames or clips from RTSP/ONVIF cameras.

20 0
View
perseus-logic logo
kaivyy/perseus

perseus-logic

Business logic, race conditions, and AI security analysis

68 0
View
voice-call logo
kaivyy/kabot

voice-call

Start voice calls via the Kabot voice-call plugin.

20 0
View
perseus:audit logo
kaivyy/perseus

perseus:audit

Use when analyzing components for vulnerabilities (Phase 2 - Parallel Analysis)

68 0
View
file-sender logo
kaivyy/kabot

file-sender

Capability to send files to the user

20 0
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View