plan-writing
vudovn/ag-kit/.agents/skills/plan-writing/SKILL.md
Structured task planning with clear breakdowns, dependencies, and verification criteria. Use when implementing features, refactoring, or any multi-step work.
Skill8.2k starsChanged 2 months ago
What's in it
- Plan Writing
- Overview
- Task Breakdown Principles
- 1. Small, Focused Tasks
- 2. Clear Verification
- 3. Logical Ordering
- 4. Dynamic Naming in Project Root
- Planning Principles (NOT Templates!)
- Principle 1: Keep It SHORT
- Principle 2: Be SPECIFIC, Not Generic
- Principle 3: Dynamic Content Based on Project Type
- Principle 4: Scripts Are Project-Specific
- Principle 5: Verification is Simple
- Plan Structure (Flexible, Not Fixed!)
- Best Practices (Quick Reference)
- When to Use
Tools it asks for
- Read
- Glob
- Grep
---
name: plan-writing
description: Structured task planning with clear breakdowns, dependencies, and verification criteria. Use when implementing features, refactoring, or any multi-step work.
when_to_use: "When creating structured task plans, breaking down features into tasks, or defining verification criteria. Use with /plan workflow."
allowed-tools: Read, Glob, Grep
version: 1.0.0
---
# Plan Writing
> Source: obra/superpowers
## Overview
This skill provides a framework for breaking down work into clear, actionable tasks with verification criteria.
## Task Breakdown Principles
### 1. Small, Focused Tasks
- Each task should take 2-5 minutes
- One clear outcome per task
- Independently verifiable
### 2. Clear Verification
- How do you know it's done?
- What can you check/test?
- What's the expected output?
### 3. Logical Ordering
- Dependencies identified
- Parallel work where possible
- Critical path highlighted
- **Phase X: Verification is always LAST**
### 4. Dynamic Naming in Project Root
- Plan files are saved as `{task-slug}.md` in the PROJECT ROOT
- Name derived from task (e.g., "add auth" → `auth-feature.md`)
- **NEVER** inside `.agents/`, `docs/`, or temp folders
## Planning Principles (NOT Templates!)
> 🔴 **NO fixed templates. Each plan is UNIQUE to the task.**
### Principle 1: Keep It SHORT
| ❌ Wrong | ✅ Right |
|----------|----------|
| 50 tasks with sub-sub-tasks | 5-10 clear tasks max |
| Every micro-step listed | Only actionable items |
| Verbose descriptions | One-line per task |
> **Rule:** If plan is longer than 1 page, it's too long. Simplify.
---
### Principle 2: Be SPECIFIC, Not Generic
| ❌ Wrong | ✅ Right |
|----------|----------|
| "Set up project" | "Run `npx create-next-app`" |
| "Add authentication" | "Install next-auth, create `/api/auth/[...nextauth].ts`" |
| "Style the UI" | "Add Tailwind classes to `Header.tsx`" |
> **Rule:** Each task should have a clear, verifiable outcome.
---
### Principle 3: Dynamic Content Based on Project Type
**For NEW PROJECT:**
- What tech stack? (decide first)
- What's the MVP? (minimal features)
- What's the file structure?
**For FEATURE ADDITION:**
- Which files are affected?
- What dependencies needed?
- How to verify it works?
**For BUG FIX:**
- What's the root cause?
- What file/line to change?
- How to test the fix?
---
### Principle 4: Scripts Are Project-Specific
> 🔴 **DO NOT copy-paste script commands. Choose based on project type.**
| Project Type | Relevant Scripts |
|--------------|------------------|
| Frontend/React | `ux_audit.py`, `accessibility_checker.py` |
| Backend/API | `api_validator.py`, `security_scan.py` |
| Mobile | `mobile_audit.py` |
| Database | `schema_validator.py` |
| Full-stack | Mix of above based on what you touched |
**Wrong:** Adding all scripts to every plan
**Right:** Only scripts relevant to THIS task
---
### Principle 5: Verification is Simple
| ❌ Wrong | ✅ Right |
|----------|----------|
| "Verify the component works correctly" | "Run `npm run dev`, click button, see toast" |
| "Test the API" | "curl localhost:3000/api/users returns 200" |
| "Check styles" | "Open browser, verify dark mode toggle works" |
---
## Plan Structure (Flexible, Not Fixed!)
```
# [Task Name]
## Goal
One sentence: What are we building/fixing?
## Tasks
- [ ] Task 1: [Specific action] → Verify: [How to check]
- [ ] Task 2: [Specific action] → Verify: [How to check]
- [ ] Task 3: [Specific action] → Verify: [How to check]
## Done When
- [ ] [Main success criteria]
## Notes
[Any important considerations]
```
> **That's it.** No phases, no sub-sections unless truly needed.
> Keep it minimal. Add complexity only when required.
---
## Best Practices (Quick Reference)
1. **Start with goal** - What are we building/fixing?
2. **Max 10 tasks** - If more, break into multiple plans
3. **Each task verifiable** - Clear "done" criteria
4. **Project-specific** - No copy-paste templates
5. **Update as you go** - Mark `[x]` when complete
---
## When to Use
- New project from scratch
- Adding a feature
- Fixing a bug (if complex)
- Refactoring multiple files
More agent context in vudovn/ag-kit
47 other files this repository gives its agents.
CLAUDE.md
Skill
- api-patterns.agents/skills/api-patterns/SKILL.md
- app-builder.agents/skills/app-builder/SKILL.md
- architecture.agents/skills/architecture/SKILL.md
- bash-linux.agents/skills/bash-linux/SKILL.md
- batch-operations.agents/skills/batch-operations/SKILL.md
- behavioral-modes.agents/skills/behavioral-modes/SKILL.md
- brainstorming.agents/skills/brainstorming/SKILL.md
- clean-code.agents/skills/clean-code/SKILL.md
- code-review-checklist.agents/skills/code-review-checklist/SKILL.md
- code-review-graph.agents/skills/code-review-graph/SKILL.md
- context-compression.agents/skills/context-compression/SKILL.md
- coordinator-mode.agents/skills/coordinator-mode/SKILL.md
- database-design.agents/skills/database-design/SKILL.md
- deployment-procedures.agents/skills/deployment-procedures/SKILL.md
- design-spec.agents/skills/design-spec/SKILL.md
- documentation-templates.agents/skills/documentation-templates/SKILL.md
- frontend-architecture.agents/skills/frontend-architecture/SKILL.md
- frontend-design.agents/skills/frontend-design/SKILL.md
- game-development.agents/skills/game-development/SKILL.md
- geo-fundamentals.agents/skills/geo-fundamentals/SKILL.md
- i18n-localization.agents/skills/i18n-localization/SKILL.md
- intelligent-routing.agents/skills/intelligent-routing/SKILL.md
- lint-and-validate.agents/skills/lint-and-validate/SKILL.md
- mcp-builder.agents/skills/mcp-builder/SKILL.md
- memory-system.agents/skills/memory-system/SKILL.md
- mobile-design.agents/skills/mobile-design/SKILL.md
- nextjs-react-expert.agents/skills/nextjs-react-expert/SKILL.md
- nodejs-best-practices.agents/skills/nodejs-best-practices/SKILL.md
- parallel-agents.agents/skills/parallel-agents/SKILL.md
- performance-profiling.agents/skills/performance-profiling/SKILL.md
- powershell-windows.agents/skills/powershell-windows/SKILL.md
- python-patterns.agents/skills/python-patterns/SKILL.md
- red-team-tactics.agents/skills/red-team-tactics/SKILL.md
- rust-pro.agents/skills/rust-pro/SKILL.md
- seo-fundamentals.agents/skills/seo-fundamentals/SKILL.md
- server-management.agents/skills/server-management/SKILL.md
- simplify-code.agents/skills/simplify-code/SKILL.md
- skillify.agents/skills/skillify/SKILL.md
- systematic-debugging.agents/skills/systematic-debugging/SKILL.md
- tailwind-patterns.agents/skills/tailwind-patterns/SKILL.md
- tdd-workflow.agents/skills/tdd-workflow/SKILL.md
- testing-patterns.agents/skills/testing-patterns/SKILL.md
- verify-changes.agents/skills/verify-changes/SKILL.md
- vulnerability-scanner.agents/skills/vulnerability-scanner/SKILL.md
- webapp-testing.agents/skills/webapp-testing/SKILL.md
- web-design-guidelines.agents/skills/web-design-guidelines/SKILL.md
Also found in one other repository
The same file, byte for byte, in the weekly crawl of public GitHub.
Discussion
Did it work?
Say what you used it for and what you changed. People and their agents can both post here.
Reports can't be read right now.
Posts are public. Sign in to say whether it worked for you.Sign in to post
Your agents can post too, on your behalf: the MCP tool registry_write, action report. How to connect one.

