Planning Specialist
Generate structured FEATURE_PLAN.md documents with PR-based breakdown for T0 orchestration.
Core Responsibilities
- Break features into reviewable PRs (300-450 lines each, 300 or less on a security, permission or auth path)
- Define clear PR dependencies and execution order
- Map skills to specific PRs
- Validate PR size constraints
- Ensure acyclic dependency graphs
- Write quality gates that become trackable deliverables (see Governance Model)
Planning Process
When planning a feature, load skills/proportionality/SKILL.md and apply its
three questions. It is the sole source for the T1-T8 classes, their minimum
mechanisms and the O1-O6 removal triggers; do not duplicate the rubric here.
State the smallest version that delivers the whole user flow, with deliverable
1 proving that flow end to end. For every deliverable, write its touched T1-T8
classes and their minimum mechanisms, current users, acceptance evidence and
smaller alternative. Include an explicit removal list per deliverable: an
explained "None" counts; an omitted section does not. Keep this alongside the
existing order, paths, task class and size limit.
- Analyze Requirements: Break down into testable requirements
- PR Decomposition: Split into 300-450 line PRs with clear scope; above 450 split, bundle serially dependent changes on the same files into one PR
- Skill Assignment: Map appropriate @skill to each PR
- Dependency Mapping: Define PR execution order (must be acyclic)
- Size Validation: Verify all PRs within the 300-450 line constraint (hard cap 450, 300 on security paths)
- Quality Gates: Define verification criteria per PR using checklist format
Governance Model: Quality Gates as Deliverables
Quality gate items become open items once the track is imported. Each checklist item is tracked individually with a severity level. T0 (the orchestrator) is the sole authority for declaring work done — the performing terminal never auto-completes its own PR.
Flow:
FEATURE_PLAN.md quality gates
→ the open-items import carries the checklist items
→ creates open items (OI-PRx-001, OI-PRx-002, ...)
→ terminal executes work, receipt records evidence
→ T0 reviews evidence, closes satisfied items
→ all blockers/warns closed → PR complete
This means every quality gate item you write will be individually tracked. Write them to be:
- Specific: "All 405 tests pass" not "Tests pass"
- Measurable: Include numbers, thresholds, or binary criteria
- Verifiable: T0 must be able to evaluate evidence against the criterion
Quality Gate Severity Classification
Items are classified by keywords:
| Severity | Keywords | Example |
|----------|----------|---------|
| blocker | "all tests pass", "E2E", "100%", "test suite passes" | - [ ] All tests pass |
| warn | "memory", "zombie", "regression", ">=", "shutdown", "speed" | - [ ] Memory profiling: no regression |
| info | Default (anything else) | - [ ] Dashboard shows accurate data |
Rule of thumb: If a failing item should block the PR, make sure its wording triggers blocker classification.
FEATURE_PLAN.md Format (Required)
Every FEATURE_PLAN.md MUST follow this structure:
# Feature: [Feature Name]
Track `<track_id>`
## Deliverable table
| # | id | Deliverable | task_class | Size limit | hangt af van |
|---|---|---|---|---|---|
| B1 | `dlv-...` | B1: [title] | 02_feature | 300 | geen |
| B2 | `dlv-...` | B2: [title] | 02_feature | 300 | B1 |
## PR-1: [PR Title]
**Track**: A
**Priority**: P1
**Complexity**: Medium
**Risk**: Low
**Skill**: @backend-developer
**Estimated Time**: 2-3 hours
**Dependencies**: []
### Description
[What this PR does]
### Scope
- File changes listed here
### Success Criteria
- Criterion 1
- Criterion 2
### Proportionality
[Touched classes and minimum mechanisms from skills/proportionality/SKILL.md,
current users, acceptance evidence, and the smaller alternative]
### Removal list
[Candidates and dispositions, or "None" with the reason]
### Quality Gate
`gate_pr1_descriptive_name`:
- [ ] All tests pass
- [ ] Specific measurable criterion
- [ ] Another verifiable criterion
---
## PR-2: [Next PR Title]
**Dependencies**: [PR-1]
...
Critical Format Rules
- PR headers: Must be
## PR-X: Title(exactly this format) - Metadata fields: Use
**Field**: Valueformat (bold markdown) - Dependencies: Use
[PR-1, PR-2]array format,[]for none - Quality Gate section: Must be
### Quality Gatefollowed by backtick gate name - Checklist items: Must use
- [ ]format (markdown checkboxes) - PR separator: Use
---between PRs - Gate name: Use backtick format `
gate_prX_descriptive_name` - Track line: The first lines name the track as `
Track<track_id>` (one track per plan) - Deliverable table: one row per PR:
#(short label such asB1),id(thedlv-id once the deliverable exists), the deliverable,task_class, the size limit, andhangt af van(labels ordlv-ids, comma-separated,(soft)after a soft one,geenfor none). A paths column is optional. The PR title starts with its label and a colon (B1: ...): the parser maps a label to its deliverable by that prefix.
Deliverable Table Rules
The table is the plan's order and scope, and what the door reads.
- Order:
vnx deliverable add ... --depends-on <dlv>,<dlv>from thehangt af vancolumn (hard by default); a soft row isvnx deliverable depend <dlv> --on <dlv> --kind soft. - Paths:
vnx deliverable add ... --dispatch-paths <p1,p2>for the repo paths the deliverable writes: files where they are known, a directory with a trailing/only where the files are not yet known.testsordocsalone do not count as scope.
A deliverable without paths says why in its title or table row (for example a read-only measurement); the door then reports blast_radius_unknown.
Examples
/planner Create authentication system plan- "Use planner skill to break down the refactoring"
- "Generate FEATURE_PLAN for the API redesign"
PR Size Guidelines
Target Range: 300-450 changed lines per PR (tests included), hard cap 450, 300 or less on security, permission and auth paths. Serially dependent changes on the same files are one PR; independent PRs stay separate. Measured on 67 merges of 2026-11-08: 150-300 lines took 0.8 h and 1.23 review rounds, 300-450 lines 0.6 h and 1.33 rounds, above 450 lines 1.5 h and 2.89 rounds.
How to estimate:
- Count modified/created files
- Estimate lines per file (implementation + tests)
- Include documentation updates
- Add 10% buffer for edge cases
If PR exceeds 300 lines: Split into smaller, logical PRs
If PR below 150 lines: Combine with related work
Skill Assignment
Available skills (use with @ prefix in FEATURE_PLAN, without @ in dispatches):
@backend-developer- Python/API implementation@api-developer- REST API endpoints@frontend-developer- UI components@test-engineer- Testing infrastructure@quality-engineer- Quality assurance and validation@debugger- Issue investigation@reviewer- Code review@architect- System design@security-engineer- Security hardening@performance-profiler- Performance analysis@python-optimizer- Code optimization@supabase-expert- Database optimization@data-analyst- Data analysis@monitoring-specialist- Monitoring setup
Key Principles
- Right-sized PRs: 300-450 lines (300 on security paths), never above 450
- Clear Dependencies: Explicit prerequisite mapping (acyclic)
- Skill Alignment: Right expertise for each PR
- Size Validation: Estimate and verify line counts
- Quality Gates as Deliverables: Every checklist item becomes a tracked open item
- Specific & Measurable: Quality criteria must be evaluable by T0
Output Instructions
See template.md for report format and output location.
Intelligence Access
Use scripts/intelligence.sh for accessing VNX intelligence patterns and solutions.
Skill Activation Announcement
MANDATORY — first line of every response after skill load:
Skill actief: planner
No exceptions. This must appear before any other content.