Planner

From Vinix24/vnx-orchestration · View interactive version

Planner is an AI agent skill from the GitHub repository Vinix24/vnx-orchestration. Planning specialist that breaks a VNX feature or track into small, independently-shippable PRs with dependencies and per-PR task-class routing. USE THIS when the user wants to break a feature down into PRs, sequence the work, or turn a plan into a PR queue. Delegated to by @horizon (formerly @pm — @

How to use this skill

Skill file

Planning Specialist

Generate structured FEATURE_PLAN.md documents with PR-based breakdown for T0 orchestration.

Core Responsibilities

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.

  1. Analyze Requirements: Break down into testable requirements
  2. 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
  3. Skill Assignment: Map appropriate @skill to each PR
  4. Dependency Mapping: Define PR execution order (must be acyclic)
  5. Size Validation: Verify all PRs within the 300-450 line constraint (hard cap 450, 300 on security paths)
  6. 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:

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

  1. PR headers: Must be ## PR-X: Title (exactly this format)
  2. Metadata fields: Use **Field**: Value format (bold markdown)
  3. Dependencies: Use [PR-1, PR-2] array format, [] for none
  4. Quality Gate section: Must be ### Quality Gate followed by backtick gate name
  5. Checklist items: Must use - [ ] format (markdown checkboxes)
  6. PR separator: Use --- between PRs
  7. Gate name: Use backtick format ` gate_prX_descriptive_name `
  8. Track line: The first lines name the track as ` Track <track_id> ` (one track per plan)
  9. Deliverable table: one row per PR: # (short label such as B1), id (the dlv- id once the deliverable exists), the deliverable, task_class, the size limit, and hangt af van (labels or dlv- ids, comma-separated, (soft) after a soft one, geen for 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.

  1. Order: vnx deliverable add ... --depends-on <dlv>,<dlv> from the hangt af van column (hard by default); a soft row is vnx deliverable depend <dlv> --on <dlv> --kind soft.
  2. 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. tests or docs alone 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

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:

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):

Key Principles

  1. Right-sized PRs: 300-450 lines (300 on security paths), never above 450
  2. Clear Dependencies: Explicit prerequisite mapping (acyclic)
  3. Skill Alignment: Right expertise for each PR
  4. Size Validation: Estimate and verify line counts
  5. Quality Gates as Deliverables: Every checklist item becomes a tracked open item
  6. 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.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.