velocity
Calculate team velocity from historical sprint data Arguments: <project> [--sprints <count>].
SKILL.mdplane-ops/skills/velocity/SKILL.md
GitHubVelocity
Calculate team velocity from completed sprints and show trend analysis.
Arguments
Format: <project> [--sprints <count>]
- project: Project name or identifier (required)
- --sprints: Number of past sprints to analyze (default: 5)
Parse from "$ARGUMENTS".
Process
Bootstrap connector — consult the
connector-bootstrapskill. ProbeToolSearchfor the Plane resource tools referenced below (project,cycle,workitem); their names aremcp__<server>__<resource>, never assume a specific MCP prefix. If multiple Plane instances are connected, ask the user which one to use. All formulas and rules come from theagile-fundamentalsskill. Calls are writtenresource(action=..., ...).Resolve project:
project(action=list)Get completed sprints:
cycle(action=list, project_id, status=completed)Take last N completed cycles (sorted by end_date descending). Sprints that are already archived:
cycle(action=list, project_id, archived=true)(statusis ignored then).Calculate velocity per sprint: For each cycle:
cycle(action=list_workitems, project_id, cycle_id, pql='stateGroup = "completed"', fields="id,point,estimate_point") cycle(action=list_workitems, project_id, cycle_id, fields="id,point,estimate_point")Sum
pointof the completed items (first call) and of all items (second call, total planned); ifpointis empty and the project has an estimate system (project_estimate(action=retrieve, project_id)), sum thevalueof each item'sestimate_pointinstead (project_estimate(action=list_points, project_id, estimate_id)maps ids to values). Items finished per sprint for all completed cycles in one call:workitem(action=count, project_id, pql='cycle IN completedCycles() AND stateGroup = "completed"', group_by=cycle_id).Calculate aggregates:
- Average velocity
- Min/max range
- Average completion rate
- Trend (improving/stable/declining)
Display velocity report:
| Sprint | Planned | Completed | Rate | |--------|---------|-----------|------| | Sprint 11 | 40 | 36 | 90% | | Sprint 10 | 38 | 32 | 84% | | ... Average velocity: 33 pts/sprint Range: 28-36 pts Completion rate: 86% Trend: Stable Recommended next sprint: ~28 pts (velocity × 0.85 buffer)
Example Usage
/velocity "TaskFlow"
/velocity "My Project" --sprints 10