Skip to content

alirezarezvani/claude-skills / engineering/book-to-skill/skills/book-to-skill

book-to-skill

Unverified

Use when turning a book, docs folder or spec collection (PDF, EPUB, DOCX, HTML, Markdown) into an agent skill, before summarizing it by hand. Extracts with extract_document.py, compiles chapters, glossary and cheatsheet, validates with book_skill_validator.py and enforces a rights gate.

assets/cheatsheet_template.md

View on GitHub
# <Source Title> — Cheatsheet

<!--
BUDGET: under 1,200 tokens. One printed page you keep beside you while working.
The constraint is the point: it forces ranking.

This is the most differentiated file in a compiled skill. Anyone can grep the glossary for a
term. This file captures the author's JUDGMENT — the decisions they would make and why. It is
what turns "I know the words" into "I would act the way the author would."

AVOID: bare term → definition rows (that is glossary.md) and prose paragraphs (that is a
chapter file). Every line here helps the reader DECIDE something.
-->

## Decision Rules

<!-- Highest priority. The if/then logic the author applies, stated so it can be used without
     re-reading the book. Always include the "because" — a rule without its reason cannot be
     applied outside the case it was learned on. -->

| When | Do | Because |
|------|----|---------|
| <situation> | <action> | <the author's reason> |
| <situation> | <action> | <the author's reason> |

## Choosing Between <N> Options

<!-- For branching choices. Nested bullets or a small table — whichever reads faster. -->

- Is <condition>?
  - **Yes** → <option A>, because <reason>
  - **No** → is <second condition>?
    - **Yes** → <option B>
    - **No** → <option C>

## Trade-off Matrix

<!-- Competing options scored on the dimensions THIS AUTHOR cares about, so the reader can
     pick under their own constraints rather than taking the author's default on faith. -->

| Option | <dimension> | <dimension> | <dimension> | Pick when |
|--------|-------------|-------------|-------------|-----------|
| <option> | <high/med/low> | <…> | <…> | <condition> |
| <option> | <…> | <…> | <…> | <condition> |

## Thresholds & Defaults

<!-- The specific numbers, ratios and rules of thumb the author actually commits to. If the
     author gives a number, it belongs here — vague guidance is not a threshold. -->

| Metric | Threshold | What it means |
|--------|-----------|---------------|
| <metric> | <number> | <what crossing it implies> |

## Tells & Smells

<!-- Fast heuristics for recognizing a situation: "if you see X, you are probably in Y."
     This is recognition-primed decision making — see references/knowledge_extraction_canon.md.
     It is what the reader needs when they do NOT already know what they are looking at. -->

| If you see… | You are probably… | Check |
|-------------|-------------------|-------|
| <observable signal> | <the named situation> | <the confirming test> |
canvas-designanthropics/skillsCreate beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
docxanthropics/skillsUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', '.dotx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx or .dotx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
pdfanthropics/skillsUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
pptxanthropics/skillsUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates (.potx), layouts, speaker notes, or comments. Trigger whenever the user mentions "deck," "slides," "presentation," or references a .pptx or .potx filename, regardless of what they plan to do with the content afterward. If a .pptx or .potx file needs to be opened, created, or touched, use this skill.Stars: 198kUpdated Claude CodeCodexVerifiedInstall