focused-fix
Deep-dive feature repair — systematically fix an entire feature/module across all its files and dependencies. Usage: /focused-fix <feature-path>
/cs:book-to-skill <path|folder|glob>... [skill-name] — convert a book, documentation folder, or source collection into a structured agent skill (core frameworks + on-demand chapters + glossary + patterns + cheatsheet). Use when the user wants to study a document with an agent,
$ npx -y skills add alirezarezvani/claude-skills --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
/cs-book-to-skillContext preview
What this command does when you run it.
/cs:book-to-skill <path|folder|glob>... [skill-name] — convert a book, documentation folder, or source collection into a structured agent skill (core frameworks + on-demand chapters + glossary + patterns + cheatsheet). Use when the user wants to study a document with an agent,
name: "cs-book-to-skill" description: "/cs:book-to-skill <path|folder|glob>... [skill-name] — convert a book, documentation folder, or source collection into a structured agent skill (core frameworks + on-demand chapters + glossary + patterns + cheatsheet). Use when the user wants to study a document with an agent, apply an author's frameworks while working, or turn internal docs into a reusable knowledge base."
**Command:** `/cs:book-to-skill <path|folder|glob>... [skill-name-slug]`
Runs the converter end to end: extract → analyze → chapter files → supporting files → master `SKILL.md` → validate. Add "analyze only" to stop after the extraction report.
The command refuses, with a reason, when:
| Gate | Refusal | |------|---------| | No path given | Prints usage. This tool converts files on disk — not titles from memory, not URLs. | | No supported file resolves | Names what was searched and the supported extensions. | | Source is smaller than ~3× the compiled skill | Says converting is not worth it and recommends handing the agent the document. | | Cost estimate not approved | Waits. Generation is the expensive step and the user approves it with numbers in front of them. | | Validation errors after generation | Blocks. Dead chapter links and dangling topic references break navigation silently. |
Asked one at a time, each with a recommended answer.
*Recommended:* convert when it is > 3× the compiled skill's size **and** you will return to it. One-shot reads are cheaper unconverted. `token_budget_estimator.py` prints the verdict.
*Recommended:* reference, unless you intend to internalize the author's reasoning. Study depth roughly doubles generation cost and only earns it with real worked examples.
*Recommended:* technical only when tables, code, or formulas carry meaning. Docling costs ~1.5s/page and buys nothing on a prose book.
*Recommended:* name three real questions before generating. They decide what belongs in Core Frameworks and what the topic index must resolve.
*Recommended:* assume not. Keep it local unless the source is public-domain, openly licensed, your organisation's own documentation, or you have written permission.
*Recommended:* check for a compiled skill on the same subject first. Folding new sources into one skill beats two skills that half-cover a topic and give the agent no way to choose.
SKILL_ROOT=engineering/book-to-skill/skills/book-to-skill # 0. environment (optional — reports extractors, installs nothing) python3 "$SKILL_ROOT/scripts/extract_document.py" --check # 1. extract python3 "$SKILL_ROOT/scripts/extract_document.py" <paths> --mode text|technical # 2. worth-it verdict, before spending a generation pass python3 "$SKILL_ROOT/scripts/token_budget_estimator.py" --full-text "$WORKDIR/full_text.txt" # 3. generate (agent work: chapters, glossary, patterns, cheatsheet, SKILL.md) # 4. gate python3 "$SKILL_ROOT/scripts/book_skill_validator.py" "$SKILLS_HOME/<slug>" python3 "$SKILL_ROOT/scripts/token_budget_estimator.py" --skill-dir "$SKILLS_HOME/<slug>"
✅ <slug> — <Title> by <Author> <N> chapters SKILL.md ~<N> tokens (resident) · chapters ~<N> each (on demand) validator: <N> error(s), <N> warning(s) next: /cs:book-to-plugin to package it for this repo
388 production-ready Claude Code skills, plugins, and agent skills for 13 AI coding tools. The most comprehensive open-source library of Claude Code skills and agent plugins — also works with OpenAI Codex, Gemini CLI, Cursor, and 9 more coding agents.
Repo: alirezarezvani/claude-skills
Deep-dive feature repair — systematically fix an entire feature/module across all its files and dependencies. Usage: /focused-fix <feature-path>
Clean up merged branches locally and on remote, keeping only main, dev, and gh-pages.
Stage, commit, and push the current branch following git governance rules.
Comprehensive audit pipeline for skills, plugins, agents, and commands. Validates structure, quality, security, marketplace compliance, cross-platform…