/infrastructure-cost-audit
#reference#pipeline#strategy
David Olsson/infrastructure-cost-audit
Full infrastructure, cost, and scaling audit. Maps service topology, projects costs from MVP to 10K users, and produces a vendor-agnostic requirements spec plus recommended stack.
Trigger: "infrastructure audit", "cost audit", "scaling audit", "how much does this cost to run", "cost to scale", "infrastructure report"
Output: docs/02-infrastructure-cost/
Reports: 8 (00–07) · Self-contained
Reports
| # | File | What it covers |
|---|---|---|
| 00 | 00-executive-summary.md | Key metrics, total costs per tier, top risks, next investment |
| 01 | 01-infrastructure-services-map.md | Service topology, data flows, dependencies, failure modes |
| 02 | 02-cost-analysis-scaling.md | Per-service pricing tiers: MVP → 100 → 1K → 10K users |
| 03 | 03-loc-complexity-costing.md | LOC benchmarking, complexity scoring, development cost estimation |
| 04 | 04-technology-roadmap-costs.md | Stage-by-stage progression from idea through scale |
| 05 | 05-executive-report.md | Full synthesis of 01–04 with charts and recommendations |
| 06 | 06-technology-requirements-spec.md | Vendor-agnostic capability requirements |
| 07 | 07-recommended-stack.md | Recommended stack + key findings |
Workflow
- Scan codebase for infrastructure dependencies (package.json, docker-compose, env files, config)
- Map service topology with data flow directions
- Research current pricing tiers for each identified service
- Project costs across four scaling tiers
- Analyze codebase complexity and development cost
- Produce technology roadmap with migration plan
- Generate vendor-agnostic requirements + opinionated recommendation
Integration
- Reads from:
project-scanneroutput; doc-suite tech spec if available - Feeds into: /moat-audit references cost structure for competitive analysis
- Pairs with: /doc-suite-generator for complete project picture
Use Cases
Share