[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6NRFYV1V0C8WN3MRA1M7QYT":3,"skill-same:01M6NRFYV1V0C8WN3MRA1M7QYT":60},{"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":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":35,"linkOnly":36,"markdownContent":37,"markdownBody":38,"frontMatter":39,"refName":40,"commitSha":41,"skillDirectory":42,"forksCount":14,"repositoryHtmlUrl":43,"repositoryHomepageUrl":6,"ownerHtmlUrl":44,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":45,"install":46,"resources":59},"01M6NRFYV1V0C8WN3MRA1M7QYT","create-skill",null,"Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends your capabilities with specialized knowledge, workflows, or tool integrations.","KaiavN\u002Fanvilcode","KaiavN","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F189643559?v=4","01M6NRB6Q4GDVQ35BJREN410AT","Kaiav Nihalani","01M6NRB6VFZ4266E5SFAQH44FM",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FKaiavN\u002Fanvilcode\u002Fblob\u002Fmain\u002Fcrates\u002Fanvil_repo\u002Fsrc\u002Fskills\u002Fcreate-skill\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34],"create skill","create","workflows","update","capabilities","knowledge","tool","integrations","specialized","guide","new skill","existing skill","users","with","for","Existing","2026-11-10 10:12:30",false,"---\nname: create-skill\ndescription: Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends your capabilities with specialized knowledge, workflows, or tool integrations.\n---\n\n# Skill Creator\n\nThis skill provides guidance for creating effective skills.\n\n## About Skills\n\nSkills are modular, self-contained packages that extend your capabilities by providing\nspecialized knowledge, workflows, and tools. Think of them as \"onboarding guides\" for specific\ndomains or tasks—they transform you from a general-purpose agent into a specialized agent\nequipped with procedural knowledge that no model can fully possess.\n\n### What Skills Provide\n\n1. Specialized workflows - Multi-step procedures for specific domains\n2. Tool integrations - Instructions for working with specific file formats or APIs\n3. Domain expertise - Company-specific knowledge, schemas, business logic\n4. Bundled resources - Scripts, references, and assets for complex and repetitive tasks\n\n## Core Principles\n\n### Concise is Key\n\nThe context window is a public good. Skills share the context window with everything else you need: system prompt, conversation history, other Skills' metadata, and the actual user request.\n\n**Default assumption: You already have significant capabilities.** Only add context you don't already have. Challenge each piece of information: \"Do you really need this explanation?\" and \"Does this paragraph justify its token cost?\"\n\nPrefer concise examples over verbose explanations.\n\n### Set Appropriate Degrees of Freedom\n\nMatch the level of specificity to the task's fragility and variability:\n\n**High freedom (text-based instructions)**: Use when multiple approaches are valid, decisions depend on context, or heuristics guide the approach.\n\n**Medium freedom (pseudocode or scripts with parameters)**: Use when a preferred pattern exists, some variation is acceptable, or configuration affects behavior.\n\n**Low freedom (specific scripts, few parameters)**: Use when operations are fragile and error-prone, consistency is critical, or a specific sequence must be followed.\n\nThink of yourself as exploring a path: a narrow bridge with cliffs needs specific guardrails (low freedom), while an open field allows many routes (high freedom).\n\n### Anatomy of a Skill\n\nEvery skill consists of a required SKILL.md file and optional bundled resources:\n\n```\nskill-name\u002F\n├── SKILL.md (required)\n│   ├── YAML frontmatter metadata (required)\n│   │   ├── name: (required)\n│   │   └── description: (required)\n│   └── Markdown instructions (required)\n└── Bundled Resources (optional)\n    ├── scripts\u002F          - Executable code (Python\u002FBash\u002Fetc.)\n    ├── references\u002F       - Documentation intended to be loaded into context as needed\n    └── assets\u002F           - Files used in output (templates, icons, fonts, etc.)\n```\n\n#### SKILL.md (required)\n\nEvery SKILL.md consists of:\n\n- **Frontmatter** (YAML): Contains `name` and `description` fields. These are the only fields you read to determine when the skill gets used, thus it is very important to be clear and comprehensive in describing what the skill is, and when it should be used.\n- **Body** (Markdown): Instructions and guidance for using the skill. Only loaded AFTER the skill triggers (if at all).\n\n#### Bundled Resources (optional)\n\n##### Scripts (`scripts\u002F`)\n\nExecutable code for tasks that require deterministic reliability or are repeatedly rewritten.\n\n- **When to include**: When the same code is being rewritten repeatedly or deterministic reliability is needed\n- **Example**: `scripts\u002Frotate_pdf.sh` for PDF rotation tasks\n- **Benefits**: Token efficient, deterministic, may be executed without loading into context\n- **Note**: Scripts may still need to be read by you for patching or environment-specific adjustments\n\n##### References (`references\u002F`)\n\nDocumentation and reference material intended to be loaded as needed into context to inform your process and thinking.\n\n- **When to include**: For documentation that you should reference while working\n- **Examples**: `references\u002Ffinance.md` for financial schemas, `references\u002Fmnda.md` for company NDA template, `references\u002Fpolicies.md` for company policies, `references\u002Fapi_docs.md` for API specifications\n- **Use cases**: Database schemas, API documentation, domain knowledge, company policies, detailed workflow guides\n- **Benefits**: Keeps SKILL.md lean, loaded only when you determine it's needed\n- **Best practice**: If files are large (>10k words), include grep search patterns in SKILL.md\n- **Avoid duplication**: Information should live in either SKILL.md or references files, not both. Prefer references files for detailed information unless it's truly core to the skill—this keeps SKILL.md lean while making information discoverable without hogging the context window. Keep only essential procedural instructions and workflow guidance in SKILL.md; move detailed reference material, schemas, and examples to references files.\n\n##### Assets (`assets\u002F`)\n\nFiles not intended to be loaded into context, but rather used within the output you produce.\n\n- **When to include**: When the skill needs files that will be used in the final output\n- **Examples**: `assets\u002Flogo.png` for brand assets, `assets\u002Fslides.pptx` for PowerPoint templates, `assets\u002Ffrontend-template\u002F` for HTML\u002FReact boilerplate, `assets\u002Ffont.ttf` for typography\n- **Use cases**: Templates, images, icons, boilerplate code, fonts, sample documents that get copied or modified\n- **Benefits**: Separates output resources from documentation, enables you to use files without loading them into context\n\n#### What to Not Include in a Skill\n\nA skill should only contain essential files that directly support its functionality. Do NOT create extraneous documentation or auxiliary files, including:\n\n- README.md\n- INSTALLATION_GUIDE.md\n- QUICK_REFERENCE.md\n- CHANGELOG.md\n- etc.\n\nThe skill should only contain the information needed for an AI agent to do the job at hand. It should not contain auxilary context about the process that went into creating it, setup and testing procedures, user-facing documentation, etc. Creating additional documentation files just adds clutter and confusion.\n\n### Progressive Disclosure Design Principle\n\nSkills use a three-level loading system to manage context efficiently:\n\n1. **Metadata (name + description)** - Always in context (~100 words)\n2. **SKILL.md body** - When skill triggers (\u003C5k words)\n3. **Bundled resources** - As needed by Claude (Unlimited because scripts can be executed without reading into context window)\n\n#### Progressive Disclosure Patterns\n\nKeep SKILL.md body to the essentials and under 500 lines to minimize context bloat. Split content into separate files when approaching this limit. When splitting out content into other files, it is very important to reference them from SKILL.md and describe clearly when to read them, to ensure the reader of the skill knows they exist and when to use them.\n\n**Key principle:** When a skill supports multiple variations, frameworks, or options, keep only the core workflow and selection guidance in SKILL.md. Move variant-specific details (patterns, examples, configuration) into separate reference files.\n\n**Pattern 1: High-level guide with references**\n\n```markdown\n# PDF Processing\n\n## Quick start\n\nExtract text with pdfplumber:\n[code example]\n\n## Advanced features\n\n- **Form filling**: See [FORMS.md](FORMS.md) for complete guide\n- **API reference**: See [REFERENCE.md](REFERENCE.md) for all methods\n- **Examples**: See [EXAMPLES.md](EXAMPLES.md) for common patterns\n```\n\nYou load FORMS.md, REFERENCE.md, or EXAMPLES.md only when needed.\n\n**Pattern 2: Domain-specific organization**\n\nFor Skills with multiple domains, organize content by domain to avoid loading irrelevant context:\n\n```\nbigquery-skill\u002F\n├── SKILL.md (overview and navigation)\n└── reference\u002F\n    ├── finance.md (revenue, billing metrics)\n    ├── sales.md (opportunities, pipeline)\n    ├── product.md (API usage, features)\n    └── marketing.md (campaigns, attribution)\n```\n\nWhen a user asks about sales metrics, you only read sales.md.\n\nSimilarly, for skills supporting multiple frameworks or variants, organize by variant:\n\n```\ncloud-deploy\u002F\n├── SKILL.md (workflow + provider selection)\n└── references\u002F\n    ├── aws.md (AWS deployment patterns)\n    ├── gcp.md (GCP deployment patterns)\n    └── azure.md (Azure deployment patterns)\n```\n\nWhen the user chooses AWS, you only read aws.md.\n\n**Pattern 3: Conditional details**\n\nShow basic content, link to advanced content:\n\n```markdown\n# DOCX Processing\n\n## Creating documents\n\nUse docx-js for new documents. See [DOCX-JS.md](DOCX-JS.md).\n\n## Editing documents\n\nFor simple edits, modify the XML directly.\n\n**For tracked changes**: See [REDLINING.md](REDLINING.md)\n**For OOXML details**: See [OOXML.md](OOXML.md)\n```\n\nYou read REDLINING.md or OOXML.md only when the user needs those features.\n\n**Important guidelines:**\n\n- **Avoid deeply nested references** - Keep references one level deep from SKILL.md. All reference files should link directly from SKILL.md.\n- **Structure longer reference files** - For files longer than 100 lines, include a table of contents at the top so you can see the full scope when previewing.\n\n## Skill Creation Process\n\nSkill creation involves these steps:\n\n1. Understand the skill with concrete examples\n2. Plan reusable skill contents (scripts, references, assets)\n3. Initialize the skill\n4. Edit the skill (implement resources and write SKILL.md)\n5. Iterate based on real usage\n\nFollow these steps in order, skipping only if there is a clear reason why they are not applicable.\n\n### Step 1: Understanding the Skill with Concrete Examples\n\nSkip this step only when the skill's usage patterns are already clearly understood. It remains valuable even when working with an existing skill.\n\nTo create an effective skill, clearly understand concrete examples of how the skill will be used. This understanding can come from either direct user examples or generated examples that are validated with user feedback.\n\nFor example, when building an edit-image skill, relevant questions include:\n\n- \"What functionality should the edit-image skill support? Editing, rotating, anything else?\"\n- \"Can you give some examples of how this skill would be used?\"\n- \"I can imagine users asking for things like 'Remove the red-eye from this image' or 'Rotate this image'. Are there other ways you imagine this skill being used?\"\n- \"What would a user say that should trigger this skill?\"\n\nTo avoid overwhelming users, avoid asking too many questions in a single message. Start with the most important questions and follow up as needed for better effectiveness.\n\nConclude this step when there is a clear sense of the functionality the skill should support.\n\n### Step 2: Planning the Reusable Skill Contents\n\nTo turn concrete examples into an effective skill, analyze each example by:\n\n1. Considering how to execute on the example from scratch\n2. Identifying what scripts, references, and assets would be helpful when executing these workflows repeatedly\n\nExample: When building an `edit-pdf` skill to handle queries like \"Help me rotate this PDF,\" the analysis shows:\n\n1. Rotating a PDF requires re-writing the same code each time\n2. A `scripts\u002Frotate_pdf.sh` script would be helpful to store in the skill\n\nExample: When designing a `build-frontend-webapp` skill for queries like \"Build me a todo app\" or \"Build me a dashboard to track my steps,\" the analysis shows:\n\n1. Writing a frontend webapp requires the same boilerplate HTML\u002FReact each time\n2. An `assets\u002Fhello-world\u002F` template containing the boilerplate HTML\u002FReact project files would be helpful to store in the skill\n\nExample: When building a `query-bigquery` skill to handle queries like \"How many users have logged in today?\" the analysis shows:\n\n1. Querying BigQuery requires re-discovering the table schemas and relationships each time\n2. A `references\u002Fschema.md` file documenting the table schemas would be helpful to store in the skill\n\nTo establish the skill's contents, analyze each concrete example to create a list of the reusable resources to include: scripts, references, and assets.\n\n### Step 3: Initializing the Skill\n\nAt this point, it is time to actually create the skill.\n\nSkip this step only if the skill being developed already exists, and iteration or packaging is needed. In this case, continue to the next step.\n\n#### Skill Naming Convention\n\n**Always use verb-based names** for skills to clearly communicate what action the skill performs:\n\n- ✅ Good: `execute-plan`, `create-report`, `analyze-logs`, `deploy-app`\n- ❌ Bad: `plan-executor`, `report-creator`, `log-analyzer`, `app-deployer`\n\nVerb-first naming makes it immediately clear what the skill does and follows the imperative\u002Finfinitive form used throughout the skill instructions.\n\n#### Skill Location\n\n**Default: Create project-local skills unless the user explicitly requests a global skill.**\n\nWhen creating a new skill from scratch, create it in the project-local skills directory:\n\n- **Project-local (default)**: `{{local_skills_path}}\u002F\u003Cskill-name>\u002F` - Skills are project-specific and don't affect other projects. This is the safe default for most skills.\n- **Global (only when explicitly requested)**: `{{global_skills_path}}\u002F\u003Cskill-name>\u002F` - Skills are available across all projects. Only use this location when the user explicitly asks for a global skill or when the skill is truly reusable across all projects.\n\nThe structure should include:\n\n- `SKILL.md` with YAML frontmatter (name, description) and markdown body\n- `scripts\u002F` directory for executable code (e.g., `process.sh`, `validate.sh`)\n- `references\u002F` directory for documentation loaded as needed\n- `assets\u002F` directory for files used in output\n\nExample initialization (default project-local):\n\n```bash\nmkdir -p {{local_skills_path}}\u002Fedit-pdf\u002F{scripts,references,assets}\ncat > {{local_skills_path}}\u002Fedit-pdf\u002FSKILL.md \u003C\u003C 'EOF'\n---\nname: edit-pdf\ndescription: TODO - Describe what this skill does and when to use it\n---\n\n# Edit PDF\n\nTODO - Add skill instructions here\nEOF\n\ncat > {{local_skills_path}}\u002Fedit-pdf\u002Fscripts\u002Frotate.sh \u003C\u003C 'EOF'\n#!\u002Fbin\u002Fbash\n# Rotate PDF using pdftk\npdftk \"$1\" cat 1-endright output \"$2\"\nEOF\n\nchmod +x {{local_skills_path}}\u002Fedit-pdf\u002Fscripts\u002Frotate.sh\n```\n\nIf the user explicitly requests a global skill, use this instead:\n\n```bash\nmkdir -p {{global_skills_path}}\u002Fedit-pdf\u002F{scripts,references,assets}\ncat > {{global_skills_path}}\u002Fedit-pdf\u002FSKILL.md \u003C\u003C 'EOF'\n---\nname: edit-pdf\ndescription: TODO - Describe what this skill does and when to use it\n---\n\n# Edit PDF\n\nTODO - Add skill instructions here\nEOF\n\ncat > {{global_skills_path}}\u002Fedit-pdf\u002Fscripts\u002Frotate.sh \u003C\u003C 'EOF'\n#!\u002Fbin\u002Fbash\n# Rotate PDF using pdftk\npdftk \"$1\" cat 1-endright output \"$2\"\nEOF\n\nchmod +x {{global_skills_path}}\u002Fedit-pdf\u002Fscripts\u002Frotate.sh\n```\n\nAfter initialization, customize the generated files as needed.\n\n### Step 4: Edit the Skill\n\nWhen editing the (newly-generated or existing) skill, remember that the skill is being created for another AI agent instance to use. Include information that would be beneficial and non-obvious. Consider what procedural knowledge, domain-specific details, or reusable assets would help another agent instance execute these tasks more effectively.\n\n#### Learn Proven Design Patterns\n\nConsult these helpful guides based on your skill's needs:\n\n- **Multi-step processes**: See references\u002Fworkflows.md for sequential workflows and conditional logic\n- **Specific output formats or quality standards**: See references\u002Foutput-patterns.md for template and example patterns\n\nThese files contain established best practices for effective skill design.\n\n#### Start with Reusable Skill Contents\n\nTo begin implementation, start with the reusable resources identified above: `scripts\u002F`, `references\u002F`, and `assets\u002F` files. Note that this step may require user input. For example, when implementing a `brand-guidelines` skill, the user may need to provide brand assets or templates to store in `assets\u002F`, or documentation to store in `references\u002F`.\n\nAdded scripts must be tested by actually running them to ensure there are no bugs and that the output matches what is expected. If there are many similar scripts, only a representative sample needs to be tested to ensure confidence that they all work while balancing time to completion.\n\nAny example files and directories not needed for the skill should be deleted.\n\n#### Update SKILL.md\n\n**Writing Guidelines:** Always use imperative\u002Finfinitive form.\n\n##### Frontmatter\n\nWrite the YAML frontmatter with `name` and `description`:\n\n- `name`: The skill name\n- `description`: This is the primary triggering mechanism for your skill, and helps you understand when to use the skill.\n  - Include both what the Skill does and specific triggers\u002Fcontexts for when to use it.\n  - Include all \"when to use\" information here - Not in the body. The body is only loaded after triggering, so \"When to Use This Skill\" sections in the body are not helpful.\n  - Example description for a `docx` skill: \"Comprehensive document creation, editing, and analysis with support for tracked changes, comments, formatting preservation, and text extraction. Use when you need to work with professional documents (.docx files) for: (1) Creating new documents, (2) Modifying or editing content, (3) Working with tracked changes, (4) Adding comments, or any other document tasks\"\n\nDo not include any other fields in YAML frontmatter.\n\n##### Body\n\nWrite instructions for using the skill and its bundled resources.\n\n#### Loading the New Skill\n\nOnce the skill is complete, **suggest to the user that they start a new session** to load the newly created skill. Skills are loaded at the beginning of each session, so the new skill will not be available in the current session. Starting a new session ensures the skill is properly registered and available for use.\n\n### Step 5: Iterate\n\nAfter testing the skill, users may request improvements. Often this happens right after using the skill, with fresh context of how the skill performed.\n\n**Iteration workflow:**\n\n1. Use the skill on real tasks\n2. Notice struggles or inefficiencies\n3. Identify how SKILL.md or bundled resources should be updated\n4. Implement changes and test again\n","# Skill Creator\n\nThis skill provides guidance for creating effective skills.\n\n## About Skills\n\nSkills are modular, self-contained packages that extend your capabilities by providing\nspecialized knowledge, workflows, and tools. Think of them as \"onboarding guides\" for specific\ndomains or tasks—they transform you from a general-purpose agent into a specialized agent\nequipped with procedural knowledge that no model can fully possess.\n\n### What Skills Provide\n\n1. Specialized workflows - Multi-step procedures for specific domains\n2. Tool integrations - Instructions for working with specific file formats or APIs\n3. Domain expertise - Company-specific knowledge, schemas, business logic\n4. Bundled resources - Scripts, references, and assets for complex and repetitive tasks\n\n## Core Principles\n\n### Concise is Key\n\nThe context window is a public good. Skills share the context window with everything else you need: system prompt, conversation history, other Skills' metadata, and the actual user request.\n\n**Default assumption: You already have significant capabilities.** Only add context you don't already have. Challenge each piece of information: \"Do you really need this explanation?\" and \"Does this paragraph justify its token cost?\"\n\nPrefer concise examples over verbose explanations.\n\n### Set Appropriate Degrees of Freedom\n\nMatch the level of specificity to the task's fragility and variability:\n\n**High freedom (text-based instructions)**: Use when multiple approaches are valid, decisions depend on context, or heuristics guide the approach.\n\n**Medium freedom (pseudocode or scripts with parameters)**: Use when a preferred pattern exists, some variation is acceptable, or configuration affects behavior.\n\n**Low freedom (specific scripts, few parameters)**: Use when operations are fragile and error-prone, consistency is critical, or a specific sequence must be followed.\n\nThink of yourself as exploring a path: a narrow bridge with cliffs needs specific guardrails (low freedom), while an open field allows many routes (high freedom).\n\n### Anatomy of a Skill\n\nEvery skill consists of a required SKILL.md file and optional bundled resources:\n\n```\nskill-name\u002F\n├── SKILL.md (required)\n│   ├── YAML frontmatter metadata (required)\n│   │   ├── name: (required)\n│   │   └── description: (required)\n│   └── Markdown instructions (required)\n└── Bundled Resources (optional)\n    ├── scripts\u002F          - Executable code (Python\u002FBash\u002Fetc.)\n    ├── references\u002F       - Documentation intended to be loaded into context as needed\n    └── assets\u002F           - Files used in output (templates, icons, fonts, etc.)\n```\n\n#### SKILL.md (required)\n\nEvery SKILL.md consists of:\n\n- **Frontmatter** (YAML): Contains `name` and `description` fields. These are the only fields you read to determine when the skill gets used, thus it is very important to be clear and comprehensive in describing what the skill is, and when it should be used.\n- **Body** (Markdown): Instructions and guidance for using the skill. Only loaded AFTER the skill triggers (if at all).\n\n#### Bundled Resources (optional)\n\n##### Scripts (`scripts\u002F`)\n\nExecutable code for tasks that require deterministic reliability or are repeatedly rewritten.\n\n- **When to include**: When the same code is being rewritten repeatedly or deterministic reliability is needed\n- **Example**: `scripts\u002Frotate_pdf.sh` for PDF rotation tasks\n- **Benefits**: Token efficient, deterministic, may be executed without loading into context\n- **Note**: Scripts may still need to be read by you for patching or environment-specific adjustments\n\n##### References (`references\u002F`)\n\nDocumentation and reference material intended to be loaded as needed into context to inform your process and thinking.\n\n- **When to include**: For documentation that you should reference while working\n- **Examples**: `references\u002Ffinance.md` for financial schemas, `references\u002Fmnda.md` for company NDA template, `references\u002Fpolicies.md` for company policies, `references\u002Fapi_docs.md` for API specifications\n- **Use cases**: Database schemas, API documentation, domain knowledge, company policies, detailed workflow guides\n- **Benefits**: Keeps SKILL.md lean, loaded only when you determine it's needed\n- **Best practice**: If files are large (>10k words), include grep search patterns in SKILL.md\n- **Avoid duplication**: Information should live in either SKILL.md or references files, not both. Prefer references files for detailed information unless it's truly core to the skill—this keeps SKILL.md lean while making information discoverable without hogging the context window. Keep only essential procedural instructions and workflow guidance in SKILL.md; move detailed reference material, schemas, and examples to references files.\n\n##### Assets (`assets\u002F`)\n\nFiles not intended to be loaded into context, but rather used within the output you produce.\n\n- **When to include**: When the skill needs files that will be used in the final output\n- **Examples**: `assets\u002Flogo.png` for brand assets, `assets\u002Fslides.pptx` for PowerPoint templates, `assets\u002Ffrontend-template\u002F` for HTML\u002FReact boilerplate, `assets\u002Ffont.ttf` for typography\n- **Use cases**: Templates, images, icons, boilerplate code, fonts, sample documents that get copied or modified\n- **Benefits**: Separates output resources from documentation, enables you to use files without loading them into context\n\n#### What to Not Include in a Skill\n\nA skill should only contain essential files that directly support its functionality. Do NOT create extraneous documentation or auxiliary files, including:\n\n- README.md\n- INSTALLATION_GUIDE.md\n- QUICK_REFERENCE.md\n- CHANGELOG.md\n- etc.\n\nThe skill should only contain the information needed for an AI agent to do the job at hand. It should not contain auxilary context about the process that went into creating it, setup and testing procedures, user-facing documentation, etc. Creating additional documentation files just adds clutter and confusion.\n\n### Progressive Disclosure Design Principle\n\nSkills use a three-level loading system to manage context efficiently:\n\n1. **Metadata (name + description)** - Always in context (~100 words)\n2. **SKILL.md body** - When skill triggers (\u003C5k words)\n3. **Bundled resources** - As needed by Claude (Unlimited because scripts can be executed without reading into context window)\n\n#### Progressive Disclosure Patterns\n\nKeep SKILL.md body to the essentials and under 500 lines to minimize context bloat. Split content into separate files when approaching this limit. When splitting out content into other files, it is very important to reference them from SKILL.md and describe clearly when to read them, to ensure the reader of the skill knows they exist and when to use them.\n\n**Key principle:** When a skill supports multiple variations, frameworks, or options, keep only the core workflow and selection guidance in SKILL.md. Move variant-specific details (patterns, examples, configuration) into separate reference files.\n\n**Pattern 1: High-level guide with references**\n\n```markdown\n# PDF Processing\n\n## Quick start\n\nExtract text with pdfplumber:\n[code example]\n\n## Advanced features\n\n- **Form filling**: See [FORMS.md](FORMS.md) for complete guide\n- **API reference**: See [REFERENCE.md](REFERENCE.md) for all methods\n- **Examples**: See [EXAMPLES.md](EXAMPLES.md) for common patterns\n```\n\nYou load FORMS.md, REFERENCE.md, or EXAMPLES.md only when needed.\n\n**Pattern 2: Domain-specific organization**\n\nFor Skills with multiple domains, organize content by domain to avoid loading irrelevant context:\n\n```\nbigquery-skill\u002F\n├── SKILL.md (overview and navigation)\n└── reference\u002F\n    ├── finance.md (revenue, billing metrics)\n    ├── sales.md (opportunities, pipeline)\n    ├── product.md (API usage, features)\n    └── marketing.md (campaigns, attribution)\n```\n\nWhen a user asks about sales metrics, you only read sales.md.\n\nSimilarly, for skills supporting multiple frameworks or variants, organize by variant:\n\n```\ncloud-deploy\u002F\n├── SKILL.md (workflow + provider selection)\n└── references\u002F\n    ├── aws.md (AWS deployment patterns)\n    ├── gcp.md (GCP deployment patterns)\n    └── azure.md (Azure deployment patterns)\n```\n\nWhen the user chooses AWS, you only read aws.md.\n\n**Pattern 3: Conditional details**\n\nShow basic content, link to advanced content:\n\n```markdown\n# DOCX Processing\n\n## Creating documents\n\nUse docx-js for new documents. See [DOCX-JS.md](DOCX-JS.md).\n\n## Editing documents\n\nFor simple edits, modify the XML directly.\n\n**For tracked changes**: See [REDLINING.md](REDLINING.md)\n**For OOXML details**: See [OOXML.md](OOXML.md)\n```\n\nYou read REDLINING.md or OOXML.md only when the user needs those features.\n\n**Important guidelines:**\n\n- **Avoid deeply nested references** - Keep references one level deep from SKILL.md. All reference files should link directly from SKILL.md.\n- **Structure longer reference files** - For files longer than 100 lines, include a table of contents at the top so you can see the full scope when previewing.\n\n## Skill Creation Process\n\nSkill creation involves these steps:\n\n1. Understand the skill with concrete examples\n2. Plan reusable skill contents (scripts, references, assets)\n3. Initialize the skill\n4. Edit the skill (implement resources and write SKILL.md)\n5. Iterate based on real usage\n\nFollow these steps in order, skipping only if there is a clear reason why they are not applicable.\n\n### Step 1: Understanding the Skill with Concrete Examples\n\nSkip this step only when the skill's usage patterns are already clearly understood. It remains valuable even when working with an existing skill.\n\nTo create an effective skill, clearly understand concrete examples of how the skill will be used. This understanding can come from either direct user examples or generated examples that are validated with user feedback.\n\nFor example, when building an edit-image skill, relevant questions include:\n\n- \"What functionality should the edit-image skill support? Editing, rotating, anything else?\"\n- \"Can you give some examples of how this skill would be used?\"\n- \"I can imagine users asking for things like 'Remove the red-eye from this image' or 'Rotate this image'. Are there other ways you imagine this skill being used?\"\n- \"What would a user say that should trigger this skill?\"\n\nTo avoid overwhelming users, avoid asking too many questions in a single message. Start with the most important questions and follow up as needed for better effectiveness.\n\nConclude this step when there is a clear sense of the functionality the skill should support.\n\n### Step 2: Planning the Reusable Skill Contents\n\nTo turn concrete examples into an effective skill, analyze each example by:\n\n1. Considering how to execute on the example from scratch\n2. Identifying what scripts, references, and assets would be helpful when executing these workflows repeatedly\n\nExample: When building an `edit-pdf` skill to handle queries like \"Help me rotate this PDF,\" the analysis shows:\n\n1. Rotating a PDF requires re-writing the same code each time\n2. A `scripts\u002Frotate_pdf.sh` script would be helpful to store in the skill\n\nExample: When designing a `build-frontend-webapp` skill for queries like \"Build me a todo app\" or \"Build me a dashboard to track my steps,\" the analysis shows:\n\n1. Writing a frontend webapp requires the same boilerplate HTML\u002FReact each time\n2. An `assets\u002Fhello-world\u002F` template containing the boilerplate HTML\u002FReact project files would be helpful to store in the skill\n\nExample: When building a `query-bigquery` skill to handle queries like \"How many users have logged in today?\" the analysis shows:\n\n1. Querying BigQuery requires re-discovering the table schemas and relationships each time\n2. A `references\u002Fschema.md` file documenting the table schemas would be helpful to store in the skill\n\nTo establish the skill's contents, analyze each concrete example to create a list of the reusable resources to include: scripts, references, and assets.\n\n### Step 3: Initializing the Skill\n\nAt this point, it is time to actually create the skill.\n\nSkip this step only if the skill being developed already exists, and iteration or packaging is needed. In this case, continue to the next step.\n\n#### Skill Naming Convention\n\n**Always use verb-based names** for skills to clearly communicate what action the skill performs:\n\n- ✅ Good: `execute-plan`, `create-report`, `analyze-logs`, `deploy-app`\n- ❌ Bad: `plan-executor`, `report-creator`, `log-analyzer`, `app-deployer`\n\nVerb-first naming makes it immediately clear what the skill does and follows the imperative\u002Finfinitive form used throughout the skill instructions.\n\n#### Skill Location\n\n**Default: Create project-local skills unless the user explicitly requests a global skill.**\n\nWhen creating a new skill from scratch, create it in the project-local skills directory:\n\n- **Project-local (default)**: `{{local_skills_path}}\u002F\u003Cskill-name>\u002F` - Skills are project-specific and don't affect other projects. This is the safe default for most skills.\n- **Global (only when explicitly requested)**: `{{global_skills_path}}\u002F\u003Cskill-name>\u002F` - Skills are available across all projects. Only use this location when the user explicitly asks for a global skill or when the skill is truly reusable across all projects.\n\nThe structure should include:\n\n- `SKILL.md` with YAML frontmatter (name, description) and markdown body\n- `scripts\u002F` directory for executable code (e.g., `process.sh`, `validate.sh`)\n- `references\u002F` directory for documentation loaded as needed\n- `assets\u002F` directory for files used in output\n\nExample initialization (default project-local):\n\n```bash\nmkdir -p {{local_skills_path}}\u002Fedit-pdf\u002F{scripts,references,assets}\ncat > {{local_skills_path}}\u002Fedit-pdf\u002FSKILL.md \u003C\u003C 'EOF'\n---\nname: edit-pdf\ndescription: TODO - Describe what this skill does and when to use it\n---\n\n# Edit PDF\n\nTODO - Add skill instructions here\nEOF\n\ncat > {{local_skills_path}}\u002Fedit-pdf\u002Fscripts\u002Frotate.sh \u003C\u003C 'EOF'\n#!\u002Fbin\u002Fbash\n# Rotate PDF using pdftk\npdftk \"$1\" cat 1-endright output \"$2\"\nEOF\n\nchmod +x {{local_skills_path}}\u002Fedit-pdf\u002Fscripts\u002Frotate.sh\n```\n\nIf the user explicitly requests a global skill, use this instead:\n\n```bash\nmkdir -p {{global_skills_path}}\u002Fedit-pdf\u002F{scripts,references,assets}\ncat > {{global_skills_path}}\u002Fedit-pdf\u002FSKILL.md \u003C\u003C 'EOF'\n---\nname: edit-pdf\ndescription: TODO - Describe what this skill does and when to use it\n---\n\n# Edit PDF\n\nTODO - Add skill instructions here\nEOF\n\ncat > {{global_skills_path}}\u002Fedit-pdf\u002Fscripts\u002Frotate.sh \u003C\u003C 'EOF'\n#!\u002Fbin\u002Fbash\n# Rotate PDF using pdftk\npdftk \"$1\" cat 1-endright output \"$2\"\nEOF\n\nchmod +x {{global_skills_path}}\u002Fedit-pdf\u002Fscripts\u002Frotate.sh\n```\n\nAfter initialization, customize the generated files as needed.\n\n### Step 4: Edit the Skill\n\nWhen editing the (newly-generated or existing) skill, remember that the skill is being created for another AI agent instance to use. Include information that would be beneficial and non-obvious. Consider what procedural knowledge, domain-specific details, or reusable assets would help another agent instance execute these tasks more effectively.\n\n#### Learn Proven Design Patterns\n\nConsult these helpful guides based on your skill's needs:\n\n- **Multi-step processes**: See references\u002Fworkflows.md for sequential workflows and conditional logic\n- **Specific output formats or quality standards**: See references\u002Foutput-patterns.md for template and example patterns\n\nThese files contain established best practices for effective skill design.\n\n#### Start with Reusable Skill Contents\n\nTo begin implementation, start with the reusable resources identified above: `scripts\u002F`, `references\u002F`, and `assets\u002F` files. Note that this step may require user input. For example, when implementing a `brand-guidelines` skill, the user may need to provide brand assets or templates to store in `assets\u002F`, or documentation to store in `references\u002F`.\n\nAdded scripts must be tested by actually running them to ensure there are no bugs and that the output matches what is expected. If there are many similar scripts, only a representative sample needs to be tested to ensure confidence that they all work while balancing time to completion.\n\nAny example files and directories not needed for the skill should be deleted.\n\n#### Update SKILL.md\n\n**Writing Guidelines:** Always use imperative\u002Finfinitive form.\n\n##### Frontmatter\n\nWrite the YAML frontmatter with `name` and `description`:\n\n- `name`: The skill name\n- `description`: This is the primary triggering mechanism for your skill, and helps you understand when to use the skill.\n  - Include both what the Skill does and specific triggers\u002Fcontexts for when to use it.\n  - Include all \"when to use\" information here - Not in the body. The body is only loaded after triggering, so \"When to Use This Skill\" sections in the body are not helpful.\n  - Example description for a `docx` skill: \"Comprehensive document creation, editing, and analysis with support for tracked changes, comments, formatting preservation, and text extraction. Use when you need to work with professional documents (.docx files) for: (1) Creating new documents, (2) Modifying or editing content, (3) Working with tracked changes, (4) Adding comments, or any other document tasks\"\n\nDo not include any other fields in YAML frontmatter.\n\n##### Body\n\nWrite instructions for using the skill and its bundled resources.\n\n#### Loading the New Skill\n\nOnce the skill is complete, **suggest to the user that they start a new session** to load the newly created skill. Skills are loaded at the beginning of each session, so the new skill will not be available in the current session. Starting a new session ensures the skill is properly registered and available for use.\n\n### Step 5: Iterate\n\nAfter testing the skill, users may request improvements. Often this happens right after using the skill, with fresh context of how the skill performed.\n\n**Iteration workflow:**\n\n1. Use the skill on real tasks\n2. Notice struggles or inefficiencies\n3. Identify how SKILL.md or bundled resources should be updated\n4. Implement changes and test again\n",{"name":5,"description":7},"main","c0fb0c138f22dc6ccb9d6ded2bbe4f4a0ad55871","crates\u002Fanvil_repo\u002Fsrc\u002Fskills\u002Fcreate-skill","https:\u002F\u002Fgithub.com\u002FKaiavN\u002Fanvilcode","https:\u002F\u002Fgithub.com\u002FKaiavN","2026-07-07 13:07:52",{"source":8,"skillName":5,"commands":47,"prompt":57,"zipAvailable":58},[48,51,54],{"tool":49,"command":50},"npx","npx skills add KaiavN\u002Fanvilcode --skill create-skill",{"tool":52,"command":53},"bunx","bunx skills add KaiavN\u002Fanvilcode --skill create-skill",{"tool":55,"command":56},"pnpm","pnpm dlx skills add KaiavN\u002Fanvilcode --skill create-skill","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FKaiavN\u002Fanvilcode\u002Fblob\u002Fmain\u002Fcrates\u002Fanvil_repo\u002Fsrc\u002Fskills\u002Fcreate-skill\u002FSKILL.md",true,[],[61,87,110,120,129,149],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":35},"01M6NRGQ4SK8GXS1F3V80J6W0C","github-pr-description","Generate and create pull request descriptions automatically using GitHub CLI. Use when the user asks to create a PR, generate a PR description, make a pull request, or submit changes for review. Analyzes git diff and commit history to create comprehensive, meaningful PR descriptions that explain what changed, why it matters, and how to test it.","https:\u002F\u002Fgithub.com\u002FKaiavN\u002Fanvilcode\u002Fblob\u002Fmain\u002Fcrates\u002Fanvil_repo\u002Fsrc\u002Fskills\u002Fgithub-pr-description\u002FSKILL.md",[],[68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,20,86],"github pr description","github","pr","pr description","github pr","submit","how to","make","github cli","request","history","why","review","how","cli","pull","commit","git","generate",{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":35},"01M6NRGH99KKAAGB4329D61HGE","execute-plan","Execute structured task plans with status tracking. Use when the user provides a plan file path in the format `plans\u002F{current-date}-{task-name}-{version}.md` or explicitly asks you to execute a plan file.","https:\u002F\u002Fgithub.com\u002FKaiavN\u002Fanvilcode\u002Fblob\u002Fmain\u002Fcrates\u002Fanvil_repo\u002Fsrc\u002Fskills\u002Fexecute-plan\u002FSKILL.md",[],[94,95,96,97,98,99,100,101,102,103,104,105,106,32,107,108,109],"plan","execute","execute plan","user","task","version","use","plans","tracking","format","file","structured","name","you","path","status",{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":35},"01M6NRF8MS1B57QAF3ZEMMAFK2","test-skill","A test skill with resources","https:\u002F\u002Fgithub.com\u002FKaiavN\u002Fanvilcode\u002Fblob\u002Fmain\u002Fcrates\u002Fanvil_repo\u002Fsrc\u002Ffixtures\u002Fskills_with_resources\u002Ftest-skill\u002FSKILL.md",[],[117,118,32,119],"Test Skill","test","resources",{"skillNo":121,"name":122,"nameZh":6,"description":123,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":124,"categories":125,"keywords":126,"publishedAt":35},"01M6NRF44X1012P1HQH33Q8FCR","minimal-skill","A minimal skill with no resources","https:\u002F\u002Fgithub.com\u002FKaiavN\u002Fanvilcode\u002Fblob\u002Fmain\u002Fcrates\u002Fanvil_repo\u002Fsrc\u002Ffixtures\u002Fskills_with_resources\u002Fminimal-skill\u002FSKILL.md",[],[127,128,119,32],"minimal","minimal skill",{"skillNo":130,"name":131,"nameZh":6,"description":132,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":133,"categories":134,"keywords":135,"publishedAt":35},"01M6NREZDXR7YVWQJG6YSJXZGD","write-release-notes","Generate engaging, high-energy release notes for a given version tag. Fetches the release from GitHub, retrieves every linked PR's title and description, then synthesizes all changes into a polished, user-facing release note with an enthusiastic tone. Use when the user asks to write, generate, or create release notes for a version (e.g. \"write release notes for v1.32.0\", \"generate release notes for the latest release\", \"create changelog for v2.0\").","https:\u002F\u002Fgithub.com\u002FKaiavN\u002Fanvilcode\u002Fblob\u002Fmain\u002F.anvil\u002Fskills\u002Fwrite-release-notes\u002FSKILL.md",[],[136,137,138,139,140,69,141,142,143,144,145,33,32,146,147,99,100,148,20,70],"write release notes","write","release","release notes","notes","create release","v1","title","energy","changes","high-energy","tone","changelog",{"skillNo":150,"name":151,"nameZh":6,"description":152,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":153,"categories":154,"keywords":155,"publishedAt":35},"01M6NRE94G4299GWFWPXQ3GYT6","resolve-conflicts","Use this skill immediately when the user mentions merge conflicts that need to be resolved. Do not attempt to resolve conflicts directly - invoke this skill first. This skill specializes in providing a structured framework for merging imports, tests, lock files (regeneration), configuration files, and handling deleted-but-modified files with backup and analysis.","https:\u002F\u002Fgithub.com\u002FKaiavN\u002Fanvilcode\u002Fblob\u002Fmain\u002F.anvil\u002Fskills\u002Fresolve-conflicts\u002FSKILL.md",[],[156,157,158,159,160,33,161,32,162,163,164,165,166,100,97,167,168,169,170,171],"resolve conflicts","conflicts","configuration","invoke","imports","lock","tests","but","do","files","merge conflicts","analysis","backup","first","framework","merge"]