prompt-book skill
The prompt-book skill is a read-only display skill. It backs the /prompt-book slash command and is also triggered when the user asks to see example prompts, prompt templates, or what they can ask Claude Code to do with these plugins.
| Triggered by | /prompt-book plus phrases like “show me the prompt book”, “what prompts can I use”, “example prompts” |
| Input | Optional section number (e.g. 5) |
| Output | Markdown content from ${CLAUDE_PLUGIN_ROOT}/docs/prompt-book.md, exact and unmodified |
Source of truth
Section titled “Source of truth”The prompt book itself lives at plugins/acss-kit/docs/prompt-book.md and ships with every plugin install. The skill never paraphrases, summarises, or reformats the content — to update the book, edit that file directly and bump plugin.json per the repo’s pre-submit checklist.
Three modes
Section titled “Three modes”Mode 1 — full book (no argument)
Section titled “Mode 1 — full book (no argument)”- Read
${CLAUDE_PLUGIN_ROOT}/docs/prompt-book.md. - Print the file verbatim into the transcript so the user can copy any prompt directly.
Mode 2 — single section (<section-number> argument)
Section titled “Mode 2 — single section (<section-number> argument)”- Read
${CLAUDE_PLUGIN_ROOT}/docs/prompt-book.md. - Locate the section heading that begins with
## <number>.(e.g.## 5. Generate a theme from a brand color). - Print only that section — from the matched heading through the next
---separator (or end of file if no separator follows). - If
<number>does not match any section heading, fall back to Mode 3.
Mode 3 — table of contents (invalid argument fallback)
Section titled “Mode 3 — table of contents (invalid argument fallback)”- Read
${CLAUDE_PLUGIN_ROOT}/docs/prompt-book.md. - Extract every top-level
## <number>. <title>heading. - Print the list as a numbered table of contents and prompt the user to re-run with a valid number.
Constraints
Section titled “Constraints”- Read-only — the skill never calls Write, Edit, or Bash that mutates state.
- Verbatim output — does not collapse whitespace, change wording, or strip formatting.
- Stable section identifiers — matches
## <n>.exactly (digit then period). No fuzzy matches.