What it does
Generates a publication-ready case study for the Valuation101 docs site from a completed valuation run. Each case study is both a demonstration of the plugin’s capabilities and a teaching tool that walks readers through every phase of the valuation. This skill is standalone — it is never called by the fcff orchestrator. Invoke it directly after completing a valuation.Two-pass workflow
Case studies are built in two passes:- Pass 1 — Scaffold: A Python script reads the valuation spreadsheet and generates an MDX file with all data tables pre-populated and narrative markers (
{/*NARRATIVE: section_name */}) where commentary belongs. - Pass 2 — Narrate: The AI reads the scaffold, replaces every narrative marker with company-specific commentary, generates SVG convergence charts, searches for reference links, and updates the docs site configuration.
Data source
The valuation spreadsheet (.xlsx) is the single source of truth for all numbers. If a _manual_override.xlsx variant exists in the run directory, it is preferred — it contains the user’s final adjustments.
Prerequisites
A completed valuation run with a spreadsheet present in the run directory:{TICKER}-valuation-{DATE}-{SEQ}.xlsx(base), or{TICKER}-valuation-{DATE}-{SEQ}_manual_override.xlsx(preferred)
Case study structure
Every case study follows the same section structure (matching the CoreWeave example):- Introduction and manual overrides
- Company identification and industry mapping
- Required filings
- Trailing twelve-month financials (with data gap analysis)
- Shares outstanding
- Tax rates
- Cost of capital (beta, cost of equity, cost of debt, WACC)
- Forecasts (guidance review, revenue growth, operating margin, sales-to-capital, cost of capital convergence)
- Employee stock options
- DCF model output (projection table, terminal value, PV breakdown, equity bridge)
- The verdict (bear case, bull case)
- Diagnostic flags
- What this case study demonstrates
- References
Convergence charts
Four SVG charts are generated per case study, showing the 10-year convergence curves for each forecast variable:- Revenue growth (exponential/linear decay)
- Operating margin (S-curve or linear expansion)
- Sales-to-capital ratio (step-down or linear convergence)
- Cost of capital (exponential decay from WACC to terminal)
How to use
docs.json automatically.