/rulebook:rulebook-publishfrom rulebook
Publishes a rulebook as a self-contained HTML page, PDF, or to Notion/Google Drive/Confluence. Builds from Markdown cards and offers OKF bundle export.
Ships in rulebook. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The Markdown cards in rulebook/ are the source of truth. Publishing makes a readable copy;
it never changes the cards.
CLI. rulebook … below means the rulebook CLI: rulebook, or npx --yes rulebook-cli@latest. Without Node, use the manual column of references/cli.md.
rulebook doctor --quiet and report its warnings (don't fix them
silently). Then build the document: rulebook build → rulebook/rulebook.html (one self-contained
file: works offline, can be emailed, prints to PDF from a browser).
--since <YYYY-MM-DD> to choose the "changes since" baseline, --out <path>.rulebook export okf → rulebook/okf/, the same rulebook as an
Open Knowledge Format bundle for data catalogs, wikis and other agents
(references/okf.md). Run it when the user wants the rulebook shared with other tools, or
when a connector below takes Markdown files.rulebook.html or .published.json unless asked.rulebook build writes rulebook.html: never write, patch or replace it yourself (references/cli.md).references/audit.md (opens in a new tab)references/card-template.md (opens in a new tab)references/cli.md (opens in a new tab)references/data.md (opens in a new tab)references/hotspots.md (opens in a new tab)references/ids.md (opens in a new tab)references/okf.md (opens in a new tab)references/policy-vs-rule.md (opens in a new tab)references/vocabulary.md (opens in a new tab)references/writing-style.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub gregorybabonaux/rulebook --plugin rulebook5 skills in this plugin
/rulebook-edge-casesUse when asked for the edge cases, boundary conditions, corner cases or "cas limites" of a documented business rule or domain in rulebook/, or when a rule card has no Edge cases section and someone asks what happens at its limits./rulebook-extractUse when rulebook/index.md exists and the business rules of one or more domains must be written down — "extract the rules", "document the business rules of ORD", "règles de gestion", "règles métier" — or when a domain listed in the map has no rulebook/<CODE>-*.md file yet./rulebook-mapUse when a codebase's business rules are to be documented and no rulebook/index.md exists yet, or when asked to map, list or split the business domains of an application ("what are the domains", "cartographie des domaines", first step of a rulebook)./rulebook-syncUse when rulebook/inbox.md has pending detections ("traiter l'inbox", "mettre à jour les règles"), when a hook or `rulebook check` reports that a rule "may have changed", "may have been removed" or "possible new rule", or when asked to sync, realign or update the rulebook after code changes.Other plugins' skills for the same job