AgentSkillsCN

plan-writing

任务拆解与项目规划

SKILL.md
--- frontmatter
name: plan-writing
description: Task breakdown and project planning

Plan Writing

Structure tasks for clear execution.


Plan File Format

Location: docs/PLAN-{slug}.md

markdown
# PLAN: [Feature Name]

## Overview
Brief description of what we're building.

## Requirements
- [ ] Requirement 1
- [ ] Requirement 2

## Tasks

### Phase 1: Backend
- [ ] Task 1 [@backend-specialist]
- [ ] Task 2 [@database-architect]

### Phase 2: Frontend
- [ ] Task 3 [@frontend-specialist]

### Phase 3: Testing
- [ ] Task 4 [@test-engineer]

## Verification
- [ ] Run checklist.py
- [ ] Manual testing
- [ ] Code review

Task Breakdown Rules

RuleDescription
SpecificClear deliverable
AtomicSingle responsibility
AssignedAgent specified
OrderedDependencies clear

Naming Convention

RequestSlug
E-commerce cartecommerce-cart
User authenticationuser-auth
Dashboard analyticsdashboard-analytics

Task Sizing

SizeDescriptionTime
SSingle file change< 30 min
MFew files, one domain1-2 hours
LMultiple domains2-4 hours
XLBreak into sub-tasks-

Dependencies

markdown
## Tasks
- [ ] 1. Create database schema [@database-architect]
- [ ] 2. Create API endpoints [@backend-specialist] (depends: 1)
- [ ] 3. Create UI components [@frontend-specialist] (depends: 2)

DO / DON'T

✅ Do❌ Don't
Assign agentsLeave unassigned
Order by dependencyRandom order
Include verificationSkip testing tasks
Break large tasksMassive single tasks
Update planForget to mark task as done

Plan Maintenance

CRITICAL: You MUST update the plan after completing a task.

  1. Read the plan file.
  2. Find the task you just completed.
  3. Mark it as done: change - [ ] to - [x].
  4. Resave the plan file.
markdown
Before: - [ ] Create login component
After:  - [x] Create login component