How to Add Pages
Workflow
Section titled “Workflow”- Choose the destination section:
getting-started,commands, orcontributing. - Create a new Markdown file under
docs/<section>/. - Add frontmatter:
---title: Your Page Titledescription: One sentence explaining why this page exists.---- Add links from at least one section index or related page.
- Update sidebar navigation in
astro.config.mjsif the page needs top-level visibility. - Run validation commands before opening a pull request.
Required Checks
Section titled “Required Checks”pnpm lintpnpm validate:links:internalpnpm validate:a11yReview Expectations
Section titled “Review Expectations”- Follow Content Style.
- Follow Navigation Rules.
- Use Page Template for new operational pages.
Command Contract Changes
Section titled “Command Contract Changes”When the CLI adds, removes, or renames a top-level command, keep the canonical command surfaces in sync:
- Add, remove, or rename
docs/commands/<command>.md. - Update the command list in
docs/commands/index.md. - Add the page to
coreOrderinscripts/generate-agent-exports.tswhen it belongs in the curated command sequence. The generated files underpublic/are outputs, not canonical command catalogs. - Coordinate the companion skills coverage manifest and cross-repository contract check with the CLI change.
- Run the complete
pnpm validatecheck before review.