[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ABFA2PWJVM4DQ05NVAR5Z1":3,"skill-same:01M7ABFA2PWJVM4DQ05NVAR5Z1":79},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":14,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M7ABFA2PWJVM4DQ05NVAR5Z1","skill-from-book",null,"Create Claude skills from book content (markdown files). Transforms long-form book knowledge into structured, context-efficient skill packages with granular reference files, workflows, and use-case guidelines.\n\nUse this skill when:\n- Converting a book (markdown) into a reusable Claude skill\n- Creating knowledge bases from technical books, guides, or documentation\n- Building skills that need progressive disclosure of large content\n- Structuring book knowledge for efficient context loading","NeelakshSaxena\u002FVayu","NeelakshSaxena","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F87892838?v=4","01M7A3B9YFS6F6N9DD1787DT86","Neelaksh Saxena","01M7A3B9ZKBT09MNMPX2XN69BY",0,"MIT","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fskill-from-book\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fskill-from-book\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\ndescription: \"Create Claude skills from book content (markdown files). Transforms long-form book knowledge into structured, context-efficient skill packages with granular reference files, workflows, and use-case guidelines.\\n\\nUse this skill when:\\n- Converting a book (markdown) into a reusable Claude skill\\n- Creating knowledge bases from technical books, guides, or documentation\\n- Building skills that need progressive disclosure of large content\\n- Structuring book knowledge for efficient context loading\\n\"\n---\n# Skill From Book\n\nTransform book content into structured, context-efficient Claude skills.\n\n## Overview\n\nThis skill guides you through converting a book (in markdown format) into a well-organized skill with:\n- Granular knowledge files (one concept per file)\n- Workflows for repeatable tasks\n- Use-case guidelines (mapping tasks to relevant files)\n- Progress tracking for multi-session work\n- Subagent extraction tasks\n\n## CRITICAL INSTRUCTIONS\n\n**YOU MUST FOLLOW THIS WORKFLOW STRICTLY. DO NOT SKIP OR REORDER PHASES.**\n\n1. **DO NOT read the book markdown file content before starting Phase 1**\n2. **MUST read each reference file BEFORE starting its corresponding phase**\n3. **MUST complete each phase before moving to the next**\n4. **MUST use subagents for extraction tasks**\n5. **MUST propose workflows to user before finalization**\n\n---\n\n## Workflow\n\n### Phase 1: Analysis\n\n**STOP! Before proceeding, you MUST:**\n1. Read `references\u002Fanalysis-guide.md` completely\n2. Only then proceed with the steps below\n\n**Phase 1 Steps:**\n\n1. **Extract TOC and outline ONLY** (DO NOT read full book content)\n   ```bash\n   # Count total lines\n   wc -l book.md\n   \n   # Extract headers\u002FTOC - THIS IS ALL YOU NEED\n   grep -E \"^#{1,3} \" book.md\n   ```\n\n2. **Identify knowledge categories from outline**\n   - Core principles\u002Fphilosophy\n   - Rules and guidelines\n   - Examples (good vs bad)\n   - Patterns and anti-patterns\n   - Checklists and quick references\n\n3. **Define use cases**\n   - Who will use this skill?\n   - What tasks will they perform?\n   - What questions will they ask?\n\n4. **Ask user to confirm** the identified categories and use cases before proceeding\n\n---\n\n### Phase 2: Planning\n\n**STOP! Before proceeding, you MUST:**\n1. Read `references\u002Fextraction-patterns.md` completely\n2. Read `references\u002Ffile-templates.md` completely\n3. Only then proceed with the steps below\n\n**Phase 2 Steps:**\n\n1. **Design file structure with required files per category**\n\n   Each category MUST contain these 3 basic files:\n   - `knowledge.md` - Core concepts, definitions, and foundational understanding\n   - `rules.md` - Specific guidelines, do's and don'ts\n   - `examples.md` - Good\u002Fbad code examples, before\u002Fafter comparisons\n\n   Additional files as needed:\n   - `patterns.md` - Reusable solutions\n   - `smells.md` - Anti-patterns and what to avoid\n   - `checklist.md` - Quick reference checklists\n\n   ```\n   skill-name\u002F\n   ├── SKILL.md\n   ├── progress.md\n   ├── guidelines.md\n   ├── workflows\u002F           # NEW: Step-by-step processes\n   │   ├── [task-1].md\n   │   └── [task-2].md\n   └── references\u002F\n       ├── category-1\u002F\n       │   ├── knowledge.md    # REQUIRED\n       │   ├── rules.md        # REQUIRED\n       │   ├── examples.md     # REQUIRED\n       │   ├── patterns.md     # Optional\n       │   └── checklist.md    # Optional\n       └── category-2\u002F\n           ├── knowledge.md    # REQUIRED\n           ├── rules.md        # REQUIRED\n           ├── examples.md     # REQUIRED\n           └── smells.md       # Optional\n   ```\n\n2. **Create progress.md**\n   - List ALL files to create (required + optional)\n   - Group by phase\u002Fpriority\n   - Track completion status\n\n3. **Plan extraction tasks**\n   - One task per knowledge file\n   - Define input (book section with line ranges) and output (file path)\n   - Identify dependencies between tasks\n\n4. **Ask user to confirm** the file structure and extraction plan before proceeding\n\n---\n\n### Phase 3: Extraction\n\n**STOP! Before proceeding, you MUST:**\n1. Have completed Phase 1 and Phase 2\n2. Have user confirmation on the plan\n3. Only then proceed with extraction\n\n**CRITICAL: You MUST use subagents (Task tool) for extraction. One subagent per topic - each subagent creates ALL files for that topic.**\n\n#### Main Agent Instructions for Phase 3\n\n**YOU MUST follow these steps:**\n\n1. **One subagent per topic** - Each subagent reads a book section ONCE and creates all files for that topic (knowledge.md, rules.md, examples.md, plus any optional files)\n2. **Prepare the subagent prompt** by filling in the template below with specific values\n3. **Calculate line ranges** from your Phase 1 analysis (TOC with line numbers)\n4. **Create the complete prompt** - do NOT leave placeholders unfilled\n5. **Launch subagents in parallel** for different topics\n6. **Update progress.md** after all subagents complete\n\n#### Subagent Prompt Template\n\n**IMPORTANT: Copy this template and replace ALL bracketed placeholders with actual values before launching subagent.**\n\n```markdown\n## Task: Extract [TOPIC] Knowledge Base\n\nYou are extracting knowledge from a book section to create a complete topic reference.\n\n### Prerequisites - Read These Files First:\n1. `skills\u002Fskill-from-book\u002Freferences\u002Ffile-templates.md` - Templates for all file types\n2. `skills\u002Fskill-from-book\u002Freferences\u002Fextraction-patterns.md` - Extraction rules\n\n### Source Material:\n- **Book**: [BOOK_PATH]\n- **Section**: [CHAPTER\u002FSECTION_NAME]\n- **Line range**: Read with offset=[START_LINE], limit=[LINE_COUNT]\n\n### Output Directory: [OUTPUT_TOPIC_PATH]\n\n### Files to Create (in this order):\n\n#### 1. knowledge.md (REQUIRED)\nCore concepts, definitions, and foundational understanding.\n- Extract: definitions, terminology, key concepts, how things relate\n- Use the \"Knowledge File\" template\n\n#### 2. rules.md (REQUIRED)\nSpecific guidelines, do's and don'ts.\n- Extract: explicit rules, guidelines, best practices, exceptions\n- Use the \"Rules File\" template\n\n#### 3. examples.md (REQUIRED)\nGood\u002Fbad code examples, before\u002Fafter comparisons.\n- Extract: all code samples, refactoring examples, comparisons\n- Use the \"Examples File\" template\n\n#### 4. [OPTIONAL_FILES - list any additional files needed]\n[e.g., patterns.md, smells.md, checklist.md - specify what each should contain]\n\n### Your Instructions:\n1. Read the two prerequisite files FIRST to understand templates and extraction rules\n2. Read the book section ONCE using: offset=[START_LINE], limit=[LINE_COUNT]\n3. From that single read, extract content for ALL files listed above\n4. For each file:\n   - Transform content (prose → bullets, extract rules, include examples)\n   - Format using the appropriate template from file-templates.md\n   - Keep each file under 200 lines\n   - Write to [OUTPUT_TOPIC_PATH]\u002F[filename].md\n5. Create files in order: knowledge.md → rules.md → examples.md → optional files\n\n### Content Guidance:\n[SPECIFIC_GUIDANCE - what to focus on, what to skip]\n\n### Language Conversion (if applicable):\n- Source: [SOURCE_LANG or \"N\u002FA\"]\n- Target: [TARGET_LANG or \"N\u002FA\"]\n- Convert ALL code examples to target language\n```\n\n#### Example: Filled Subagent Prompt\n\n```markdown\n## Task: Extract Functions Knowledge Base\n\nYou are extracting knowledge from a book section to create a complete topic reference.\n\n### Prerequisites - Read These Files First:\n1. `skills\u002Fskill-from-book\u002Freferences\u002Ffile-templates.md` - Templates for all file types\n2. `skills\u002Fskill-from-book\u002Freferences\u002Fextraction-patterns.md` - Extraction rules\n\n### Source Material:\n- **Book**: \u002Fpath\u002Fto\u002Fclean-code.md\n- **Section**: Chapter 3 - Functions\n- **Line range**: Read with offset=450, limit=380\n\n### Output Directory: skills\u002Fclean-code\u002Freferences\u002Ffunctions\n\n### Files to Create (in this order):\n\n#### 1. knowledge.md (REQUIRED)\nCore concepts, definitions, and foundational understanding.\n- Extract: what makes a function clean, key terminology (side effects, arguments, abstraction levels), how functions relate to other concepts\n- Use the \"Knowledge File\" template\n\n#### 2. rules.md (REQUIRED)\nSpecific guidelines, do's and don'ts.\n- Extract: size rules, argument limits, naming conventions, single responsibility, do one thing principle\n- Use the \"Rules File\" template\n\n#### 3. examples.md (REQUIRED)\nGood\u002Fbad code examples, before\u002Fafter comparisons.\n- Extract: all code samples showing good vs bad functions, refactoring walkthroughs\n- Use the \"Examples File\" template\n\n#### 4. checklist.md (OPTIONAL)\nQuick reference for reviewing functions.\n- Create a checklist from the rules for code review\n\n### Your Instructions:\n1. Read the two prerequisite files FIRST to understand templates and extraction rules\n2. Read the book section ONCE using: offset=450, limit=380\n3. From that single read, extract content for ALL files listed above\n4. For each file:\n   - Transform content (prose → bullets, extract rules, include examples)\n   - Format using the appropriate template from file-templates.md\n   - Keep each file under 200 lines\n   - Write to skills\u002Fclean-code\u002Freferences\u002Ffunctions\u002F[filename].md\n5. Create files in order: knowledge.md → rules.md → examples.md → checklist.md\n\n### Content Guidance:\nFocus on practical, actionable content. Skip author anecdotes and historical context. Prioritize rules that are universally applicable.\n\n### Language Conversion:\n- Source: Java\n- Target: TypeScript\n- Convert ALL code examples to TypeScript\n```\n\n#### Parallel Extraction Strategy\n\n**Run in parallel**: Different topics (each handled by one subagent)\n- Subagent 1: functions\u002F (Chapter 3)\n- Subagent 2: naming\u002F (Chapter 2)\n- Subagent 3: classes\u002F (Chapter 10)\n\n**Must wait**: guidelines.md and workflows creation waits for ALL topic subagents to complete\n\n#### Main Agent Checklist Before Launching Subagent\n\n- [ ] All placeholders replaced with actual values\n- [ ] Line offset and limit calculated from Phase 1 TOC\n- [ ] Output directory path follows naming convention\n- [ ] All required files (knowledge.md, rules.md, examples.md) listed\n- [ ] Optional files specified with clear content guidance\n- [ ] Content guidance is specific to this topic\n- [ ] Language conversion specified if needed\n\n---\n\n### Phase 4: Guidelines Creation\n\n**STOP! Before proceeding, you MUST:**\n1. Have completed all extraction tasks in Phase 3\n2. Read `references\u002Fguidelines-template.md` completely\n3. Only then proceed with guidelines creation\n\n**Phase 4 Steps:**\n\nCreate `guidelines.md` that maps:\n- Tasks → relevant files (and workflows)\n- Code elements → relevant files\n- Symptoms\u002Fproblems → relevant files\n- Decision trees for common scenarios\n\n---\n\n### Phase 5: Workflow Proposal\n\n**STOP! Before proceeding, you MUST:**\n1. Have completed Phase 4 (Guidelines)\n2. Read `references\u002Fworkflow-templates.md` completely\n3. Only then proceed with workflow proposal\n\n**Phase 5 Steps:**\n\n1. **Identify potential workflows** from the book content\n\n   Look for:\n   - Process descriptions (\"how to do X\")\n   - Repeated tasks (mentioned multiple times)\n   - Checklists in the book\n   - Anti-pattern sections (imply correct process)\n   - Multi-step procedures\n\n2. **Propose workflows to user**\n\n   Present a list of potential workflows:\n   ```\n   Based on the book content, I recommend these workflows:\n   \n   | Workflow | Purpose | Key Steps |\n   |----------|---------|-----------|\n   | [name] | [what it does] | [brief step summary] |\n   | [name] | [what it does] | [brief step summary] |\n   ```\n\n3. **Ask user to select** which workflows to create\n\n   ```\n   Which workflows would you like me to create?\n   - Select from the list above\n   - Suggest additional workflows\n   - Skip workflow creation\n   ```\n\n4. **Create selected workflows**\n\n   For each selected workflow:\n   - Use the template from `references\u002Fworkflow-templates.md`\n   - Include cross-references to relevant knowledge files\n   - Add checkboxes for each step\n   - Define clear exit criteria\n\n5. **Update guidelines.md** to include workflow references\n\n   Add a \"Workflows\" section at the top of guidelines.md:\n   ```markdown\n   ## Workflows\n   \n   | Task | Workflow |\n   |------|----------|\n   | [task description] | `workflows\u002F[name].md` |\n   ```\n\n---\n\n### Phase 6: Finalization\n\n**Phase 6 Steps:**\n\n1. Review all files for consistency\n2. Update progress.md (mark complete)\n3. Test with sample queries\n4. Refine guidelines based on testing\n5. Ask user to review the final skill\n\n---\n\n## Key Principles\n\n### Granularity\n- One concept per file\n- Files should be 50-200 lines\n- Split large topics into subtopics\n\n### Context Efficiency\n- Only load what's needed\n- Guidelines file routes to specific knowledge\n- Avoid duplication across files\n\n### Actionable Content\n- Rules over explanations\n- Examples over theory\n- Checklists for quick reference\n- **Workflows for repeatable tasks**\n\n### Subagent-Friendly\n- Each extraction task is independent\n- Clear input\u002Foutput specification\n- Can run multiple extractions in parallel\n\n## File Naming Conventions\n\n```\nskill-name\u002F\n├── SKILL.md\n├── guidelines.md\n├── progress.md\n├── workflows\u002F                # Step-by-step processes\n│   ├── [verb]-[noun].md      # e.g., code-review.md, bug-fix.md\n│   └── ...\n└── references\u002F\n    ├── [category]\u002F           # Noun, plural (e.g., functions, classes)\n    │   ├── knowledge.md      # REQUIRED: Core concepts and definitions\n    │   ├── rules.md          # REQUIRED: Specific guidelines\n    │   ├── examples.md       # REQUIRED: Good\u002Fbad examples\n    │   ├── patterns.md       # Optional: Reusable solutions\n    │   ├── smells.md         # Optional: Anti-patterns\n    │   └── checklist.md      # Optional: Quick reference\n```\n\n## Progress Tracking\n\nAlways maintain `progress.md`:\n\n```markdown\n# [Skill Name] - Creation Progress\n\n## Status: [X\u002FY files complete]\n\n## Phase 1: Foundation\n- [x] SKILL.md\n- [x] progress.md\n- [ ] guidelines.md\n\n## Phase 2: Workflows\n- [ ] workflows\u002F[name].md\n- [ ] workflows\u002F[name].md\n\n## Phase 3: [Category Name]\n- [ ] category\u002Fknowledge.md   # REQUIRED\n- [ ] category\u002Frules.md       # REQUIRED\n- [ ] category\u002Fexamples.md    # REQUIRED\n- [ ] category\u002Fpatterns.md    # Optional\n...\n```\n\n## Quick Start\n\n1. User provides the book markdown file path\n2. **DO NOT read the book content yet**\n3. Run Phase 1: Analysis (extract TOC only)\n4. Get user confirmation\n5. Run Phase 2: Planning\n6. Get user confirmation\n7. Run Phase 3: Extraction (use subagents)\n8. Run Phase 4: Guidelines Creation\n9. Run Phase 5: Workflow Proposal (get user selection)\n10. Run Phase 6: Finalization\n","# Skill From Book\n\nTransform book content into structured, context-efficient Claude skills.\n\n## Overview\n\nThis skill guides you through converting a book (in markdown format) into a well-organized skill with:\n- Granular knowledge files (one concept per file)\n- Workflows for repeatable tasks\n- Use-case guidelines (mapping tasks to relevant files)\n- Progress tracking for multi-session work\n- Subagent extraction tasks\n\n## CRITICAL INSTRUCTIONS\n\n**YOU MUST FOLLOW THIS WORKFLOW STRICTLY. DO NOT SKIP OR REORDER PHASES.**\n\n1. **DO NOT read the book markdown file content before starting Phase 1**\n2. **MUST read each reference file BEFORE starting its corresponding phase**\n3. **MUST complete each phase before moving to the next**\n4. **MUST use subagents for extraction tasks**\n5. **MUST propose workflows to user before finalization**\n\n---\n\n## Workflow\n\n### Phase 1: Analysis\n\n**STOP! Before proceeding, you MUST:**\n1. Read `references\u002Fanalysis-guide.md` completely\n2. Only then proceed with the steps below\n\n**Phase 1 Steps:**\n\n1. **Extract TOC and outline ONLY** (DO NOT read full book content)\n   ```bash\n   # Count total lines\n   wc -l book.md\n   \n   # Extract headers\u002FTOC - THIS IS ALL YOU NEED\n   grep -E \"^#{1,3} \" book.md\n   ```\n\n2. **Identify knowledge categories from outline**\n   - Core principles\u002Fphilosophy\n   - Rules and guidelines\n   - Examples (good vs bad)\n   - Patterns and anti-patterns\n   - Checklists and quick references\n\n3. **Define use cases**\n   - Who will use this skill?\n   - What tasks will they perform?\n   - What questions will they ask?\n\n4. **Ask user to confirm** the identified categories and use cases before proceeding\n\n---\n\n### Phase 2: Planning\n\n**STOP! Before proceeding, you MUST:**\n1. Read `references\u002Fextraction-patterns.md` completely\n2. Read `references\u002Ffile-templates.md` completely\n3. Only then proceed with the steps below\n\n**Phase 2 Steps:**\n\n1. **Design file structure with required files per category**\n\n   Each category MUST contain these 3 basic files:\n   - `knowledge.md` - Core concepts, definitions, and foundational understanding\n   - `rules.md` - Specific guidelines, do's and don'ts\n   - `examples.md` - Good\u002Fbad code examples, before\u002Fafter comparisons\n\n   Additional files as needed:\n   - `patterns.md` - Reusable solutions\n   - `smells.md` - Anti-patterns and what to avoid\n   - `checklist.md` - Quick reference checklists\n\n   ```\n   skill-name\u002F\n   ├── SKILL.md\n   ├── progress.md\n   ├── guidelines.md\n   ├── workflows\u002F           # NEW: Step-by-step processes\n   │   ├── [task-1].md\n   │   └── [task-2].md\n   └── references\u002F\n       ├── category-1\u002F\n       │   ├── knowledge.md    # REQUIRED\n       │   ├── rules.md        # REQUIRED\n       │   ├── examples.md     # REQUIRED\n       │   ├── patterns.md     # Optional\n       │   └── checklist.md    # Optional\n       └── category-2\u002F\n           ├── knowledge.md    # REQUIRED\n           ├── rules.md        # REQUIRED\n           ├── examples.md     # REQUIRED\n           └── smells.md       # Optional\n   ```\n\n2. **Create progress.md**\n   - List ALL files to create (required + optional)\n   - Group by phase\u002Fpriority\n   - Track completion status\n\n3. **Plan extraction tasks**\n   - One task per knowledge file\n   - Define input (book section with line ranges) and output (file path)\n   - Identify dependencies between tasks\n\n4. **Ask user to confirm** the file structure and extraction plan before proceeding\n\n---\n\n### Phase 3: Extraction\n\n**STOP! Before proceeding, you MUST:**\n1. Have completed Phase 1 and Phase 2\n2. Have user confirmation on the plan\n3. Only then proceed with extraction\n\n**CRITICAL: You MUST use subagents (Task tool) for extraction. One subagent per topic - each subagent creates ALL files for that topic.**\n\n#### Main Agent Instructions for Phase 3\n\n**YOU MUST follow these steps:**\n\n1. **One subagent per topic** - Each subagent reads a book section ONCE and creates all files for that topic (knowledge.md, rules.md, examples.md, plus any optional files)\n2. **Prepare the subagent prompt** by filling in the template below with specific values\n3. **Calculate line ranges** from your Phase 1 analysis (TOC with line numbers)\n4. **Create the complete prompt** - do NOT leave placeholders unfilled\n5. **Launch subagents in parallel** for different topics\n6. **Update progress.md** after all subagents complete\n\n#### Subagent Prompt Template\n\n**IMPORTANT: Copy this template and replace ALL bracketed placeholders with actual values before launching subagent.**\n\n```markdown\n## Task: Extract [TOPIC] Knowledge Base\n\nYou are extracting knowledge from a book section to create a complete topic reference.\n\n### Prerequisites - Read These Files First:\n1. `skills\u002Fskill-from-book\u002Freferences\u002Ffile-templates.md` - Templates for all file types\n2. `skills\u002Fskill-from-book\u002Freferences\u002Fextraction-patterns.md` - Extraction rules\n\n### Source Material:\n- **Book**: [BOOK_PATH]\n- **Section**: [CHAPTER\u002FSECTION_NAME]\n- **Line range**: Read with offset=[START_LINE], limit=[LINE_COUNT]\n\n### Output Directory: [OUTPUT_TOPIC_PATH]\n\n### Files to Create (in this order):\n\n#### 1. knowledge.md (REQUIRED)\nCore concepts, definitions, and foundational understanding.\n- Extract: definitions, terminology, key concepts, how things relate\n- Use the \"Knowledge File\" template\n\n#### 2. rules.md (REQUIRED)\nSpecific guidelines, do's and don'ts.\n- Extract: explicit rules, guidelines, best practices, exceptions\n- Use the \"Rules File\" template\n\n#### 3. examples.md (REQUIRED)\nGood\u002Fbad code examples, before\u002Fafter comparisons.\n- Extract: all code samples, refactoring examples, comparisons\n- Use the \"Examples File\" template\n\n#### 4. [OPTIONAL_FILES - list any additional files needed]\n[e.g., patterns.md, smells.md, checklist.md - specify what each should contain]\n\n### Your Instructions:\n1. Read the two prerequisite files FIRST to understand templates and extraction rules\n2. Read the book section ONCE using: offset=[START_LINE], limit=[LINE_COUNT]\n3. From that single read, extract content for ALL files listed above\n4. For each file:\n   - Transform content (prose → bullets, extract rules, include examples)\n   - Format using the appropriate template from file-templates.md\n   - Keep each file under 200 lines\n   - Write to [OUTPUT_TOPIC_PATH]\u002F[filename].md\n5. Create files in order: knowledge.md → rules.md → examples.md → optional files\n\n### Content Guidance:\n[SPECIFIC_GUIDANCE - what to focus on, what to skip]\n\n### Language Conversion (if applicable):\n- Source: [SOURCE_LANG or \"N\u002FA\"]\n- Target: [TARGET_LANG or \"N\u002FA\"]\n- Convert ALL code examples to target language\n```\n\n#### Example: Filled Subagent Prompt\n\n```markdown\n## Task: Extract Functions Knowledge Base\n\nYou are extracting knowledge from a book section to create a complete topic reference.\n\n### Prerequisites - Read These Files First:\n1. `skills\u002Fskill-from-book\u002Freferences\u002Ffile-templates.md` - Templates for all file types\n2. `skills\u002Fskill-from-book\u002Freferences\u002Fextraction-patterns.md` - Extraction rules\n\n### Source Material:\n- **Book**: \u002Fpath\u002Fto\u002Fclean-code.md\n- **Section**: Chapter 3 - Functions\n- **Line range**: Read with offset=450, limit=380\n\n### Output Directory: skills\u002Fclean-code\u002Freferences\u002Ffunctions\n\n### Files to Create (in this order):\n\n#### 1. knowledge.md (REQUIRED)\nCore concepts, definitions, and foundational understanding.\n- Extract: what makes a function clean, key terminology (side effects, arguments, abstraction levels), how functions relate to other concepts\n- Use the \"Knowledge File\" template\n\n#### 2. rules.md (REQUIRED)\nSpecific guidelines, do's and don'ts.\n- Extract: size rules, argument limits, naming conventions, single responsibility, do one thing principle\n- Use the \"Rules File\" template\n\n#### 3. examples.md (REQUIRED)\nGood\u002Fbad code examples, before\u002Fafter comparisons.\n- Extract: all code samples showing good vs bad functions, refactoring walkthroughs\n- Use the \"Examples File\" template\n\n#### 4. checklist.md (OPTIONAL)\nQuick reference for reviewing functions.\n- Create a checklist from the rules for code review\n\n### Your Instructions:\n1. Read the two prerequisite files FIRST to understand templates and extraction rules\n2. Read the book section ONCE using: offset=450, limit=380\n3. From that single read, extract content for ALL files listed above\n4. For each file:\n   - Transform content (prose → bullets, extract rules, include examples)\n   - Format using the appropriate template from file-templates.md\n   - Keep each file under 200 lines\n   - Write to skills\u002Fclean-code\u002Freferences\u002Ffunctions\u002F[filename].md\n5. Create files in order: knowledge.md → rules.md → examples.md → checklist.md\n\n### Content Guidance:\nFocus on practical, actionable content. Skip author anecdotes and historical context. Prioritize rules that are universally applicable.\n\n### Language Conversion:\n- Source: Java\n- Target: TypeScript\n- Convert ALL code examples to TypeScript\n```\n\n#### Parallel Extraction Strategy\n\n**Run in parallel**: Different topics (each handled by one subagent)\n- Subagent 1: functions\u002F (Chapter 3)\n- Subagent 2: naming\u002F (Chapter 2)\n- Subagent 3: classes\u002F (Chapter 10)\n\n**Must wait**: guidelines.md and workflows creation waits for ALL topic subagents to complete\n\n#### Main Agent Checklist Before Launching Subagent\n\n- [ ] All placeholders replaced with actual values\n- [ ] Line offset and limit calculated from Phase 1 TOC\n- [ ] Output directory path follows naming convention\n- [ ] All required files (knowledge.md, rules.md, examples.md) listed\n- [ ] Optional files specified with clear content guidance\n- [ ] Content guidance is specific to this topic\n- [ ] Language conversion specified if needed\n\n---\n\n### Phase 4: Guidelines Creation\n\n**STOP! Before proceeding, you MUST:**\n1. Have completed all extraction tasks in Phase 3\n2. Read `references\u002Fguidelines-template.md` completely\n3. Only then proceed with guidelines creation\n\n**Phase 4 Steps:**\n\nCreate `guidelines.md` that maps:\n- Tasks → relevant files (and workflows)\n- Code elements → relevant files\n- Symptoms\u002Fproblems → relevant files\n- Decision trees for common scenarios\n\n---\n\n### Phase 5: Workflow Proposal\n\n**STOP! Before proceeding, you MUST:**\n1. Have completed Phase 4 (Guidelines)\n2. Read `references\u002Fworkflow-templates.md` completely\n3. Only then proceed with workflow proposal\n\n**Phase 5 Steps:**\n\n1. **Identify potential workflows** from the book content\n\n   Look for:\n   - Process descriptions (\"how to do X\")\n   - Repeated tasks (mentioned multiple times)\n   - Checklists in the book\n   - Anti-pattern sections (imply correct process)\n   - Multi-step procedures\n\n2. **Propose workflows to user**\n\n   Present a list of potential workflows:\n   ```\n   Based on the book content, I recommend these workflows:\n   \n   | Workflow | Purpose | Key Steps |\n   |----------|---------|-----------|\n   | [name] | [what it does] | [brief step summary] |\n   | [name] | [what it does] | [brief step summary] |\n   ```\n\n3. **Ask user to select** which workflows to create\n\n   ```\n   Which workflows would you like me to create?\n   - Select from the list above\n   - Suggest additional workflows\n   - Skip workflow creation\n   ```\n\n4. **Create selected workflows**\n\n   For each selected workflow:\n   - Use the template from `references\u002Fworkflow-templates.md`\n   - Include cross-references to relevant knowledge files\n   - Add checkboxes for each step\n   - Define clear exit criteria\n\n5. **Update guidelines.md** to include workflow references\n\n   Add a \"Workflows\" section at the top of guidelines.md:\n   ```markdown\n   ## Workflows\n   \n   | Task | Workflow |\n   |------|----------|\n   | [task description] | `workflows\u002F[name].md` |\n   ```\n\n---\n\n### Phase 6: Finalization\n\n**Phase 6 Steps:**\n\n1. Review all files for consistency\n2. Update progress.md (mark complete)\n3. Test with sample queries\n4. Refine guidelines based on testing\n5. Ask user to review the final skill\n\n---\n\n## Key Principles\n\n### Granularity\n- One concept per file\n- Files should be 50-200 lines\n- Split large topics into subtopics\n\n### Context Efficiency\n- Only load what's needed\n- Guidelines file routes to specific knowledge\n- Avoid duplication across files\n\n### Actionable Content\n- Rules over explanations\n- Examples over theory\n- Checklists for quick reference\n- **Workflows for repeatable tasks**\n\n### Subagent-Friendly\n- Each extraction task is independent\n- Clear input\u002Foutput specification\n- Can run multiple extractions in parallel\n\n## File Naming Conventions\n\n```\nskill-name\u002F\n├── SKILL.md\n├── guidelines.md\n├── progress.md\n├── workflows\u002F                # Step-by-step processes\n│   ├── [verb]-[noun].md      # e.g., code-review.md, bug-fix.md\n│   └── ...\n└── references\u002F\n    ├── [category]\u002F           # Noun, plural (e.g., functions, classes)\n    │   ├── knowledge.md      # REQUIRED: Core concepts and definitions\n    │   ├── rules.md          # REQUIRED: Specific guidelines\n    │   ├── examples.md       # REQUIRED: Good\u002Fbad examples\n    │   ├── patterns.md       # Optional: Reusable solutions\n    │   ├── smells.md         # Optional: Anti-patterns\n    │   └── checklist.md      # Optional: Quick reference\n```\n\n## Progress Tracking\n\nAlways maintain `progress.md`:\n\n```markdown\n# [Skill Name] - Creation Progress\n\n## Status: [X\u002FY files complete]\n\n## Phase 1: Foundation\n- [x] SKILL.md\n- [x] progress.md\n- [ ] guidelines.md\n\n## Phase 2: Workflows\n- [ ] workflows\u002F[name].md\n- [ ] workflows\u002F[name].md\n\n## Phase 3: [Category Name]\n- [ ] category\u002Fknowledge.md   # REQUIRED\n- [ ] category\u002Frules.md       # REQUIRED\n- [ ] category\u002Fexamples.md    # REQUIRED\n- [ ] category\u002Fpatterns.md    # Optional\n...\n```\n\n## Quick Start\n\n1. User provides the book markdown file path\n2. **DO NOT read the book content yet**\n3. Run Phase 1: Analysis (extract TOC only)\n4. Get user confirmation\n5. Run Phase 2: Planning\n6. Get user confirmation\n7. Run Phase 3: Extraction (use subagents)\n8. Run Phase 4: Guidelines Creation\n9. Run Phase 5: Workflow Proposal (get user selection)\n10. Run Phase 6: Finalization\n",{"description":25},"Create Claude skills from book content (markdown files). Transforms long-form book knowledge into structured, context-efficient skill packages with granular reference files, workflows, and use-case guidelines.\n\nUse this skill when:\n- Converting a book (markdown) into a reusable Claude skill\n- Creating knowledge bases from technical books, guides, or documentation\n- Building skills that need progressive disclosure of large content\n- Structuring book knowledge for efficient context loading\n","main","7540bbccf0c1ded6156a467b02c95b61ad62413f",".agents\u002Fskills\u002Fskill-from-book","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena","Currently exploring the intersection of tech","2026-09-11 03:02:31",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add NeelakshSaxena\u002FVayu --skill skill-from-book",{"tool":39,"command":40},"bunx","bunx skills add NeelakshSaxena\u002FVayu --skill skill-from-book",{"tool":42,"command":43},"pnpm","pnpm dlx skills add NeelakshSaxena\u002FVayu --skill skill-from-book","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fskill-from-book\u002FSKILL.md",true,[47,51,57,61,65,69,73],{"path":48,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":16},"LICENSE","许可证",1062,{"path":52,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":55,"sourceHtmlUrl":56},"references\u002Fanalysis-guide.md","REFERENCE","参考文档",5708,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fskill-from-book\u002Freferences\u002Fanalysis-guide.md",{"path":58,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":59,"sourceHtmlUrl":60},"references\u002Fextraction-patterns.md",6158,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fskill-from-book\u002Freferences\u002Fextraction-patterns.md",{"path":62,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":63,"sourceHtmlUrl":64},"references\u002Ffile-templates.md",8547,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fskill-from-book\u002Freferences\u002Ffile-templates.md",{"path":66,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":67,"sourceHtmlUrl":68},"references\u002Fguidelines-template.md",5934,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fskill-from-book\u002Freferences\u002Fguidelines-template.md",{"path":70,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":71,"sourceHtmlUrl":72},"references\u002Fworkflow-templates.md",6972,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fskill-from-book\u002Freferences\u002Fworkflow-templates.md",{"path":74,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":77,"sourceHtmlUrl":78},"scripts\u002Finit-book-skill.py","SCRIPT","脚本",6962,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fskill-from-book\u002Fscripts\u002Finit-book-skill.py",[80,88,95,102,109,116],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":84,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":20},"01M7ACCCVNCFKMA9X6D15X6G98","runpodctl","Runpod CLI for managing GPU\u002FCPU workloads from the terminal — pods, serverless endpoints, templates, network volumes, Hub deploys, models, SSH, and file transfer (send\u002Freceive). Use for terminal\u002FCI\u002Fscripting, Hub browse\u002Fdeploy, SSH setup, `doctor`, or when the Runpod MCP tools are not connected. For structured tool calls in an MCP-enabled session, prefer runpod-mcp.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpodctl\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":84,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":20},"01M7ACC63SRHEA5KMCHSMZK2TC","runpod","Start here for any Runpod task — running GPU\u002FCPU pods, deploying serverless endpoints, templates, network volumes, building images, or understanding how Runpod works. Routes to the right skill (runpod-mcp, runpodctl, flash, companion-clis, runpod-usage, runpod-templates, runpod-migrate) and indexes two dozen live-verified end-to-end examples (golden paths) — use it when the lane is unclear, and for any multi-step or provisioning task even when it is not.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":84,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":20},"01M7ACC0Q1C89N9BZBV91CTQTF","runpod-usage","How Runpod works and how to work it — pods vs serverless, GPU\u002FVRAM selection, storage, building a container, networking, plus the agentic pod development loop (provision → ssh-exec → set up → poll readiness) and on-pod install hygiene (uv\u002Fapt). Use to answer \"how does X work\", \"which GPU\", \"how do I build a container\", or \"how do I stand up a workload on a pod\". Guidance, not a tool — execute with runpodctl, runpod-mcp, or flash.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-usage\u002FSKILL.md",[],[],{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":84,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":20},"01M7ACBRPE345GF5GM5B8P8RRC","runpod-templates","Runpod's official prebuilt pod templates (ComfyUI, PyTorch, and others): what each image ships, which ports and paths it uses, how to pick one, how to pin a version, and what is missing on first boot. Use when a task says \"run \u003CX> on a pod\" and an official template already covers it, instead of building an image — and when a user needs help with or wants to fix something about a Runpod template they are already running (won't boot, can't reach the UI, missing models, wrong CUDA line, broken ComfyUI workflow metadata on imported workflows): start here and route onward. Deploy with runpodctl or runpod-mcp; end-to-end walkthroughs live in the runpod router's golden paths.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-templates\u002FSKILL.md",[],[],{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":84,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":20},"01M7ACBJATHKVX1TWES2F44GY8","runpod-migrate","Migrate a codebase from the Runpod GraphQL API or REST v1 to REST v2 — inventory which parts use which API version, rewrite the call sites, flag breaking changes, and verify. Use when someone asks to move to v2, asks what v2 would change, or asks which Runpod API their code is on. For managing infrastructure rather than migrating code, use runpod-mcp or runpodctl.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-migrate\u002FSKILL.md",[],[],{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":84,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":20},"01M7ACBC7GHVH6T9YEAPCG2AP8","runpod-mcp","Manage Runpod infrastructure — pods, serverless endpoints, jobs, templates, network volumes, container-registry auth, GPU\u002FCPU catalog, and billing — via the Runpod MCP server's structured tool calls. Use when the Runpod MCP tools (create-pod, list-endpoints, …) are connected in this session, or to connect them (hosted OAuth or local npx). Prefer this over runpodctl for plain infra CRUD when MCP is available; use runpodctl for the terminal, file transfer, or SSH setup.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-mcp\u002FSKILL.md",[],[]]