一键导入
compute-capacity
Computes team capacity for a sprint or PI from headcount, PTO, and run-rate buffer.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Computes team capacity for a sprint or PI from headcount, PTO, and run-rate buffer.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Generates messages suggesting a ghost-done ticket be transitioned to Done. Helpful tone, evidence-based, always asks rather than commands.
Generates contextual, humble messages designed to unblock stuck tickets. Use when a stuck ticket needs a nudge comment.
Generates a quick morning briefing with what happened, what's stuck, and what needs attention today.
Evaluates whether epics are ready for PI or quarter planning by scoring 7 readiness dimensions.
Estimates completion probability for remaining work using velocity distribution and Monte Carlo-style simulation.
Annotates agent output with inline source citations to eliminate hallucination risk. Ensures every metric, claim, and ticket reference is traceable to a specific data source.
| name | compute-capacity |
| version | 1.0.0 |
| description | Computes team capacity for a sprint or PI from headcount, PTO, and run-rate buffer. |
| category | planning |
| trigger | Sprint planning, PI planning, capacity review, resource allocation. |
| autonomy | autonomous |
| portability | universal |
| complexity | basic |
| type | computation |
| inputs | [{"name":"team_members","type":"structured-text","required":true,"description":"List of team members with role and availability. Per member: name, role (developer, QA, designer, etc.), allocation percentage (default 100%).\n"},{"name":"period","type":"structured-text","required":true,"description":"Time period: start date, end date, known holidays.\n"},{"name":"pto_schedule","type":"structured-text","required":false,"description":"Planned time off. Per entry: person, dates, duration in days.\n"},{"name":"buffer_percentage","type":"number","required":false,"default":20,"description":"Percentage of capacity reserved for meetings, support, incidents, and unplanned work. Default 20%. Typical range: 15-30%.\n"},{"name":"velocity_per_dev_day","type":"number","required":false,"description":"Story points per developer-day (historical average). If provided, capacity is also expressed in story points.\n"}] |
| outputs | [{"name":"capacity_report","type":"structured-text","description":"Gross capacity, net capacity after PTO, plannable capacity after buffer, per-person breakdown, optional SP conversion.\n"}] |
| model_compatibility | ["claude","gpt-4","gemini","llama-3"] |
Calculate how much work a team can realistically take on in a sprint or PI. Prevents over-commitment by accounting for PTO, holidays, and operational overhead.
Count the number of business days (Monday-Friday) in the period. Subtract public holidays.
business_days = weekdays_in_period - public_holidays
Sum available developer-days across the team, accounting for allocation percentage.
gross_capacity = Σ (business_days × allocation_percentage) for each team member
Only count roles that deliver work directly (developers, QA engineers with development tasks). Exclude Scrum Masters, Product Owners, and managers unless they also deliver.
For each team member with planned time off:
net_capacity = gross_capacity - Σ (pto_days × allocation_percentage) for each person
Reserve capacity for meetings, support rotations, incident response, code reviews, and unplanned work.
plannable_capacity = net_capacity × (1 - buffer_percentage / 100)
Buffer guidance:
| Buffer % | Appropriate When |
|---|---|
| 15% | Mature team, low meeting load, no on-call |
| 20% | Typical team (default) |
| 25% | Team with on-call rotation or heavy support duties |
| 30% | New team, many meetings, cross-team dependencies, or high interrupt rate |
If velocity_per_dev_day is provided:
plannable_sp = plannable_capacity × velocity_per_dev_day
If not provided, you can derive it from velocity history:
velocity_per_dev_day = average_sprint_velocity / average_sprint_dev_days
Note this conversion in the output. SP conversion is an approximation — do not present it with false precision.
Show each team member's available days after PTO. This helps identify:
## Capacity Report
**Period**: {start_date} to {end_date}
**Team**: {team_name} ({member_count} members)
### Summary
| Metric | Value |
|--------|-------|
| Business days | {N} |
| Gross capacity | {N} dev-days |
| PTO deduction | -{N} dev-days |
| Net capacity | {N} dev-days |
| Buffer ({buffer}%) | -{N} dev-days |
| **Plannable capacity** | **{N} dev-days** |
| Plannable SP (estimated) | ~{N} SP |
### Per-Person Breakdown
| Name | Role | Allocation | PTO Days | Available Days |
|------|------|-----------|----------|---------------|
| {name} | {role} | {%} | {N} | {N} |
| ... | ... | ... | ... | ... |
| **Total** | | | **{N}** | **{N}** |
### Capacity Notes
- {Any notable observations: e.g., "Week of Mar 16 has only 3 developers available due to overlapping PTO"}
- {Buffer rationale: e.g., "20% buffer applied — standard for this team. Consider 25% if on-call rotation starts this sprint."}
**Confidence**: {High|Medium|Low} — {justification}