Transform repository into a plugin marketplace structure with two plugins: - claude-code plugin: Complete toolkit with 5 skills * claude-code-plugins * claude-code-slash-commands * claude-code-hooks * claude-code-subagents * claude-code-memory - claude-skills plugin: Meta-skill for creating Agent Skills * Comprehensive best practices guide * Templates and examples * Progressive disclosure patterns Infrastructure: - Add marketplace.json manifest - Create plugin.json for each plugin - Update documentation for marketplace structure - Add contribution and testing guides Installation: - /plugin install claude-code@claude-skills - /plugin install claude-skills@claude-skills 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
6.6 KiB
Claude Skills Plugin
Meta-skill for creating effective Agent Skills with best practices, structure guidelines, and progressive disclosure principles.
What's Included
The claude-skills skill provides comprehensive guidance for building high-quality Agent Skills that work efficiently with Claude Code and Claude.ai.
claude-skills (Skill Creator)
A comprehensive guide covering:
- Progressive disclosure - Three-layer architecture (metadata → instructions → resources)
- Trigger optimization - Writing descriptions that activate at the right time
- Token efficiency - Strategic file splitting and on-demand loading
- Development workflow - Iterative approach to skill creation
- Security considerations - Best practices for safe skill creation and usage
Includes:
SKILL.md- Complete best practices guideexamples.md- Working examples across different domainstemplates.md- Ready-to-use templates for common skill typeschecklist.md- Quality assurance checklistREADME.md- Skill-specific overview
When to Use This Skill
Use this skill when:
- Creating a new Agent Skill from scratch
- Improving or refactoring an existing skill
- Debugging why a skill isn't triggering correctly
- Understanding skill architecture and design patterns
- Optimizing skill structure for token efficiency
Installation
For Claude Code
Install from marketplace:
/plugin install claude-skills@claude-skills-marketplace
Or install from local directory:
/plugin install /path/to/Skills/claude-skills-plugin@local
For Claude.ai
- Zip this plugin directory
- Go to Settings > Capabilities > Upload skill
- Upload the zip file
- Enable the plugin
Usage
Once installed, the skill activates automatically when you work on skill-related tasks:
"Help me create a skill for Python testing"
"Why isn't my skill triggering?"
"How do I optimize my skill for token usage?"
"Review my skill structure"
Key Concepts
Progressive Disclosure
Skills use a three-layer architecture:
Layer 1: Metadata (Always Loaded)
- YAML frontmatter with
nameanddescription - ~100 tokens per skill
- Used for trigger detection
Layer 2: Instructions (Triggered)
- Main SKILL.md content
- Procedural guidance and workflows
- Loaded when skill is relevant
Layer 3: Resources (On-Demand)
- Additional files, scripts, reference materials
- Loaded only when explicitly needed
- Maximizes token efficiency
Writing Effective Descriptions
The description field determines when your skill triggers:
Good Descriptions:
description: Create and analyze Excel spreadsheets with formulas, formatting, and pivot tables. Use when working with .xlsx files, data analysis, or generating reports.
Poor Descriptions:
description: Helps with coding tasks
Skill Structure
Every skill MUST have:
---
name: Your Skill Name (max 64 chars)
description: Clear description with use cases (max 1024 chars)
---
# Skill content
What You'll Learn
From SKILL.md
- When to use progressive disclosure
- How to write effective descriptions
- Structuring content for scannability
- Token optimization techniques
- Development workflow best practices
- Security considerations
From examples.md
- Python testing with pytest
- REST API integration patterns
- Technical documentation writing
- Real-world skill structures
From templates.md
- Code framework skill template
- Workflow/process skill template
- Reference/lookup skill template
- Tool/utility skill template
From checklist.md
- Metadata requirements
- Content quality checks
- Trigger testing scenarios
- Security review items
Quick Start
Creating Your First Skill
- Ask Claude: "Help me create a skill for [your topic]"
- Claude will guide you through:
- Choosing the right template
- Writing an effective description
- Structuring content efficiently
- Adding concrete examples
Improving an Existing Skill
- Ask Claude: "Review my skill at [path]"
- Claude will analyze:
- Trigger accuracy
- Structure optimization
- Content clarity
- Best practices alignment
Best Practices Summary
DO:
- Keep SKILL.md focused and concise
- Use clear, scannable hierarchies
- Include concrete, working examples
- Reference additional files explicitly
- Start simple, expand based on need
DON'T:
- Create vague descriptions
- Add unnecessary complexity upfront
- Hardcode sensitive data
- Skip testing trigger scenarios
Development Workflow
- Start with Evaluation - Work with Claude on tasks, identify patterns
- Iterate Collaboratively - Let Claude help structure the skill
- Test Triggering - Verify activation with target scenarios
- Start Simple - Begin minimal, expand based on actual needs
Skills Checklist
Before finalizing a skill:
- Name ≤ 64 characters
- Description ≤ 1024 characters and specific
- Description includes trigger scenarios
- SKILL.md has valid YAML frontmatter
- "When to Use This Skill" section present
- At least one concrete example included
- No sensitive information hardcoded
- File references are accurate
- Tested triggering with target scenarios
- Tested NOT triggering with unrelated scenarios
Common Patterns
Code Development Skills
---
name: [Framework] Development Guide
description: Build [framework] applications following [patterns]. Use when building [type] with [requirements].
---
Workflow Skills
---
name: [Task] Workflow
description: Execute [task] following [methodology]. Use when [scenario].
---
Reference Skills
---
name: [Topic] Reference
description: Quick reference for [domain]. Use when looking up [specific aspects].
---
Resources
Version History
1.0.0 (Initial Release)
- Complete best practices guide (SKILL.md)
- Working examples across domains (examples.md)
- Ready-to-use templates (templates.md)
- Quality assurance checklist (checklist.md)
Contributing
Found an issue or have improvements? See the main marketplace CONTRIBUTING.md.
License
See main marketplace repository for license information.
Remember: The best skills emerge from real usage patterns. Start simple, iterate based on actual needs, and prioritize clarity over comprehensiveness.