specrew-capacity-planning
Analyze in-scope requirements, produce a taskable effort model, and make overcommit visible before the plan is approved.
- License 许可
- MIT
- 最近更新
- 2026-08-28
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- specrew-capacity-planning
- domain
- lifecycle-planning
- source
- Specrew governance pillar — planning ceremony helper
- confidence
- high
- description
- Analyze in-scope requirements, produce a taskable effort model, and make overcommit visible before the plan is approved.
02 资源文件 1
- 其他.specrew-managed82 B
03 SKILL.md 正文
specrew-capacity-planning
Type: Planning Skill
Schema: v1
Status: Active planning method
Purpose
Analyze in-scope requirements, produce a taskable effort model, and make overcommit visible before the plan is approved.
When to Use
- During the Planning ceremony
- When re-planning after needs-rework or abandonment
- For deferral and what-if sequencing decisions
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
| spec_requirements | array | Yes | List of requirements to plan for this iteration |
| iteration_config | object | Yes | Config from .specrew/iteration-config.yml |
| iteration_config.capacity_per_iteration | number | Yes | Max effort units for this iteration |
| iteration_config.effort_unit | string | Yes | Unit of effort measurement |
| iteration_config.overcommit_threshold | float | Yes | Ratio for overcommit warning |
| role_assignments | array | Yes | Available roles from .specrew/role-assignments.yml |
| historical_velocity | number? | No | Average effort per iteration for calibration |
Process
- Break each requirement into executable work and enabling work
- Estimate effort per task and by phase:
- planning
- discovery/spikes
- implementation
- review
- expected rework
- Assign tasks to role owners, not individual nicknames
- Calculate total effort and compare it to configured capacity
- If over capacity:
- rank deferral candidates from the lowest-priority requirement slices first
- identify the requirement impact of each deferral
- surface whether approval is needed
- Return a plan-ready task list plus a capacity narrative
Outputs
| Output | Type | Description |
|---|---|---|
| tasks[] | array | Decomposed task list |
| tasks[].id | string | Task identifier |
| tasks[].title | string | Task description |
| tasks[].requirement_ref | string | Requirement this task implements |
| tasks[].effort | number | Estimated effort in the configured unit |
| tasks[].owner | string | Assigned role name |
| total_effort | number | Sum of all task efforts |
| capacity_status | enum: ok, warn, error | Capacity check result |
| capacity_message | string? | Warning or error message if not ok, including explicit defer guidance |
| suggested_deferrals[] | array? | Lowest-priority tasks/requirements to defer if overcommitted |
| phase_baseline[] | array | Planned effort by phase for retro comparison |
Side Effects
None. This skill informs plan.md; it does not approve the plan.
Error Handling
- If
iteration_configis missing: use defaults (capacity=20,unit=story_points) - If
role_assignmentsare missing: assign tasks tounassigned - If the requirements array is empty: return an empty plan and
capacity_status: ok
Review Standard
The output is only good enough for planning when it makes deferral choices, requirement-priority impact, and phase-level variance explicit.
04 同仓库更多 Skills
windows-compatibility
Cross-platform path handling and command patterns
versioning-policy
Semver versioning rules for Squad SDK and CLI — prevents prerelease version incidents
tiered-memory
Three-tier agent memory model (hot/cold/wiki) for context reduction per spawn
test-discipline
Update tests when changing APIs — no exceptions
squad
Squad's command catalog and interactive menu. Invoke via /squad (slash command) or natural language ("squad commands", "what can squad do", "show me squad options"). Presents categorized operations (Install & Upgrade, Team Management, Issues & PRs, Plugins & Skills, Model & Cost, Sessions & State) as an interactive picker. Routes to the right squad CLI command or the Squad coordinator agent.
squad-version-check
Internals of how @bradygaster/squad-cli stamps its version, how `squad upgrade` works (what it preserves vs overwrites), and how to probe the npm registry for the latest version from a coordinator prompt.