Capacity planning and scaling — demand forecasting, load models, headroom policy, saturation signals, vertical vs horizontal scaling, autoscaling configuration, limits of downstream dependencies, cost of capacity. Use before growth events or when scaling decisions are needed (capacity planning, scaling, autoscaling, headroom, forecast).
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Capacity Planning?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/vectora-os-capacity-planning)
---
name: capacity-planning
description: Capacity planning and scaling — demand forecasting, load models, headroom policy, saturation signals, vertical vs horizontal scaling, autoscaling configuration, limits of downstream dependencies, cost of capacity. Use before growth events or when scaling decisions are needed (capacity planning, scaling, autoscaling, headroom, forecast).
metadata:
category: performance
---
# Capacity planning
## Purpose
Have enough capacity for expected load plus headroom, at reasonable cost.
**Use when:** launches, peaks, growth planning.
**Not for:** micro-optimizing code.
## Inputs
- Traffic history and forecast, load test results, cost.
## Outputs
- Capacity plan with limits, headroom and scaling settings.
## Read first
- [Project Brain](../../../project-brain/README.md) — `npm run brain -- query "capacity planning"` for prior decisions, patterns and anti-patterns.
## Steps
1. **Demand.** Forecast peak with uncertainty.
Done when peak has a range.
2. **Limits.** Find per-component limits from load tests.
Done when first bottleneck known.
3. **Plan.** Capacity = peak × headroom (approved); autoscaling bounds.
Done when plan covers upper forecast.
4. **Downstream.** Check databases, third parties, quotas.
Done when no hidden limit.
## Best practices
- Scale on saturation signals (queue age, concurrency), not only CPU.
- Pre-scale before known peaks.
## Common mistakes
- Autoscaling beyond database connection limits.
- Forgetting third-party quotas.
## Example
Peak forecast 3.2–4.0k rps; limit 2.6k at DB pool; plan: read replicas + pool tuning, HPA max 20.
## Reusable prompt
```text
Apply the Capacity planning skill (.agents/skills/capacity-planning/SKILL.md).
Context: {{task card or question; links to PRD, ADRs, code paths}}
Constraints: {{approved thresholds, deadlines, allowed files}}
Forecast demand, identify limits, and produce a capacity plan with headroom and scaling settings.
Return: Capacity plan with limits, headroom and scaling settings..
Cite evidence (file:line, command output, source) for every claim; list open questions separately.
```