# Writing Plans

> Use when you have a spec, PRD, requirements, or feature request that needs an implementation plan before coding.

- Skill: `majiayu000/writing-plans-24` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add majiayu000/writing-plans-24`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/writing-plans-24/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Product & Planning
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/writing-plans-24

---


> ⚠️ **Spelling:** It's `saurun:` (with U), not "sauron"

# Writing Plans (Router)

## Overview

This skill routes to the appropriate stack-specific planning skill. It does NOT contain planning logic itself.

**Announce at start:** "I'm using the writing-plans skill to route to the appropriate planner."

## When to Use
- Spec, PRD, or requirements document exists
- Work involves multiple implementation steps
- Need a structured plan before coding begins

## When NOT to Use
- Simple single-file change (just do it)
- Exploratory spike work (use investigation skills)
- Plan already exists in `_docs/plans/`

## Route Table

| Work Unit Type | Route To | Context to Load First |
|----------------|----------|----------------------|
| **Backend** | **REQUIRED:** `saurun:dotnet-writing-plans` | **REQUIRED:** `saurun:dotnet-tactical-ddd` |
| **Frontend** | **REQUIRED:** `saurun:react-writing-plans` | **REQUIRED:** `saurun:react-tailwind-v4-components` |
| **Scaffold** | Both skills, backend first | Both context skills |
| **Integration** | Both skills, backend first | Both context skills |

## Detection Heuristics

**Backend signals:**
- Spec mentions: API endpoints, database, entities, domain logic, authentication, authorization
- Files involved: `*.cs`, `Controllers/`, `Services/`, `Domain/`, `Infrastructure/`

**Frontend signals:**
- Spec mentions: components, pages, forms, UI, user interactions, state management
- Files involved: `*.tsx`, `*.ts`, `components/`, `stores/`, `pages/`

**Scaffold signals:**
- No `CLAUDE.md` in working directory
- Spec describes a new application from scratch

**Integration signals:**
- Spec describes end-to-end feature spanning API and UI
- Both backend and frontend files will be created/modified

## Common Mistakes

| Mistake | Fix |
|---------|-----|
| Calling generic planning without routing | Always detect work unit type first |
| Writing one plan for full-stack feature | Create separate backend and frontend plans |
| Skipping context skill before planning | Context skills inform the planner about patterns |
| Frontend plan before backend | Backend first — frontend depends on API contracts |

