The CLI reference page at /cli is auto-generated, never hand-edited. It combines two data sources:
.claude/docs/sport/F02-COMMAND-INVENTORY.md) : the single source of truth for every top-level command name, subcommand list, and short description.cli/.github/wiki/cmd-*.md) - extended per-command documentation. When a wiki page exists, its first paragraph is used as the command description.node scripts/gen-cli-ref.mjsThis writes src/app/cli/page.tsx. The file is committed to the repo so the build does not need SPORT access at build time on Vercel.
The generator also runs automatically as part of the prebuild script:
pnpm --filter web-docs prebuildCI runs a diff test that checks the generated page matches what would be produced by running the generator against current SPORT. If the generated file is out of date, the CI build fails with a drift error.
# Local check
node scripts/gen-cli-ref.mjs
git diff --exit-code src/app/cli/page.tsxThe plugin catalog at /plugins is generated by the same pattern from SPORT F03 (free) and F04 (pro):
node scripts/gen-plugin-index.mjsWrites src/app/plugins/page.tsx.
Never edit SPORT files directly. They are code-verified snapshots. To update the CLI reference, update the CLI code and re-run the SPORT generator, then re-run the docs generator.