/ Docs / Skills & Commands v1 Β· 2026
Process Β· Tooling

Skills & Commands

The repeatable engineering rituals: a skill to follow every time before publishing docs, and a slash command to review every feature in one pass.

Where they live

ArtifactPathInvoke
Skill β€” publish-doc.claude/skills/publish-doc/SKILL.mdAuto-triggers on doc changes / "publish the docs"; or run via the Skill menu
Command β€” /review-features.claude/commands/review-features.mdType /review-features (optionally /review-features payments)

The publish-doc skill β€” follow every time

A blocking checklist that keeps every page identical, every diagram rendering, every link valid, and the resumable plan honest. Summary of the gates:

  1. Shared assets only β€” link ridechain.css + ridechain.js + Mermaid CDN; no inline styles; correct ../ depth.
  2. Consistent chrome β€” topbar, sidebar, footer byte-identical to a sibling; own sidebar link present; title/description/breadcrumb set.
  3. Diagrams β€” every diagram in .rc-figure > pre.mermaid with a caption; valid Mermaid; verify it renders (no syntax-error box).
  4. Content bar β€” ToC, .rc-table wrappers, callouts, and a real "Edge cases & failure modes" section cross-linked to the catalog.
  5. Links & integrity β€” run the link scan; zero broken internal links.
  6. Update the plan β€” set this doc's status chip in plan.html and refresh the resume banner.
  7. Commit/push only if asked β€” docs generation is authorized; git is not, unless the user says so.
Why a skill? Publishing consistency is a rule that must fire every time, automatically β€” exactly what a skill is for. The full machine-readable checklist (with verification commands) lives in .claude/skills/publish-doc/SKILL.md.

Verification commands (from the skill)

flowchart LR
  A["✍️ Edit / create doc"] --> B["publish-doc skill"]
  B --> C{"Assets Β· chrome Β·
diagrams Β· links OK?"} C -- no --> A C -- yes --> D["Update plan.html
status + resume banner"] D --> E{"User asked
to commit?"} E -- no --> F["βœ… Published locally"] E -- yes --> G["Branch β†’ stage docs/
β†’ commit β†’ report"] classDef g fill:#e7f4ec,stroke:#1b7f4b,color:#115c36; class A,B,D,F,G g;
The publishing ritual: nothing ships until the checklist passes and the resumable plan is updated; git only on explicit request.

The two scans the skill runs (see the SKILL.md for the full text):

Render, don't just grep. The grep confirms wiring only. To confirm Mermaid actually parses, open the page in a browser (or drive it with Playwright via the verify skill) and confirm no red "Syntax error in text" box appears in any figure.

The /review-features command β€” audit everything

Runs a completeness, consistency and edge-case audit across the whole product surface (or a single feature if you pass an argument). It fans out parallel review agents β€” one per feature cluster β€” then synthesizes a single ranked findings table.

It checks, per feature…And reports
Documented? has a diagram? has an edge-case section?Coverage verdict
Money numbers, entity names, vehicle types, OTP/POD & routing rules match across docs?Consistency β€” flags contradictions
Which failure modes are missing or under-specified?Edge-case gaps list
Broken links, missing assets, unparseable Mermaid?Integrity issues
Overallβœ… / 🟑 / πŸ”΄ verdict + top-3 fixes

Usage:

/review-features            οΌƒ audit all features
/review-features payments   οΌƒ scope to one feature/component
Cadence. Run /review-features after a batch of docs lands and before any product milestone, and run the publish-doc skill on every individual page. Together they keep the docs trustworthy as the source of truth for the build.

Edge cases & failure modes

RiskMitigation
Page drifts from shared style (inline CSS creeps in)publish-doc gate #1 forbids inline styles; review flags it
Sidebar diverges across pagespublish-doc requires byte-identical chrome vs a sibling
Mermaid silently fails to renderBrowser/Playwright render check, not just grep
Plan board goes stale β†’ not resumablepublish-doc gate #6 forces status + resume-banner update
Money figures contradict between docs/review-features consistency pass cross-checks commission/split/payments

The exhaustive product failure-mode catalog is in Edge-Case Catalog.