Get the FREE Ultimate OpenClaw Setup Guide →

plan-writing

Scanned
npx machina-cli add skill a5c-ai/babysitter/plan-writing --openclaw
Files (1)
SKILL.md
1.7 KB

Plan Writing

Overview

Convert research findings into actionable implementation plans. Scales planning rigor to stakes level. Every code-changing task specifies tests before implementation.

When to Use

  • After research phase identifies what needs to change
  • Before implementing any medium or high stakes changes
  • When requirements are clear and codebase is understood

Process

  1. Load research - Find *-<topic>-research.md in docs/plans/
  2. Classify stakes - Low (isolated, reversible), Medium (multiple files), High (architectural)
  3. Define success criteria - Functional, non-functional, and acceptance criteria
  4. Decompose tasks - Granular steps with file paths, line references, verification methods
  5. Plan tests - Test specification as first sub-step per task (test-first)
  6. Assess risks - Breaking changes, performance, security, dependencies, rollback strategy
  7. Write plan document - docs/plans/YYYY-MM-DD-<topic>-plan.md
  8. Approval gate - Human approves, requests changes, or returns to research

Anti-Patterns to Avoid

  • Vague task descriptions without specific file references
  • Missing verification criteria for any step
  • Combining test writing and implementation into single steps
  • Planning rigor mismatched to stakes level
  • Proceeding without explicit user approval

Tool Use

Invoke via babysitter process: methodologies/rpikit/rpikit-plan

Source

git clone https://github.com/a5c-ai/babysitter/blob/main/plugins/babysitter/skills/babysit/process/methodologies/rpikit/skills/plan-writing/SKILL.mdView on GitHub

Overview

Plan-writing translates research findings into concrete, executable plans with stakes-based rigor. It ensures each code-changing task includes tests before implementation and decomposes work into granular steps for clear accountability.

How This Skill Works

It loads research from docs/plans, classifies each change by stake level, defines comprehensive success criteria, and decomposes tasks with precise file paths, line references, and verification methods. It enforces a test-first approach for every task, assesses risks, writes a formal plan to docs/plans/YYYY-MM-DD-<topic>-plan.md, and passes the plan through an approval gate before coding begins.

When to Use It

  • After research phase identifies what needs to change
  • Before implementing any medium or high-stakes changes
  • When requirements are clear and codebase is understood
  • When you need explicit success criteria and test-first plan
  • When an approval gate is required before coding

Quick Start

  1. Step 1: Load research from docs/plans/*-research.md to scope changes
  2. Step 2: Classify stakes, define success criteria, and decompose into granular tasks with file references
  3. Step 3: Run the rpikit-plan tool to generate docs/plans/YYYY-MM-DD-<topic>-plan.md and submit for approval

Best Practices

  • Load the relevant research file from docs/plans to anchor the plan
  • Classify stakes accurately (Low, Medium, High) to determine rigor
  • Define functional, non-functional, and acceptance criteria before tasks
  • Decompose tasks with concrete file references, paths, and verifications
  • Plan tests as the first sub-step for every task and secure approval before implementation

Example Use Cases

  • Plan to add a small UI tweak with low stakes, including test notes and file references
  • Plan to refactor a module across multiple files with clear success criteria
  • Plan to add a new API endpoint with test-first tasks and acceptance criteria
  • Plan to migrate a database schema with rollback strategy for high-stakes changes
  • Plan to overhaul authentication flow with architecture-level changes and risk assessment

Frequently Asked Questions

Add this skill to your agents
Sponsor this space

Reach thousands of developers