Skills Documentation Analysis & Recommendations
Date: 2025-12-02 Purpose: Comprehensive analysis of current documentation structure to inform creation of user-facing skill documentation Status: Research Complete
UPDATE (2025-12-03): This research was conducted on Dec 2 morning. Later that same day (Dec 2, 2025), the USER_GUIDE.md was created (56KB), addressing the main gap identified in this analysis. See /docs/USER_GUIDE.md and /docs/DOCUMENTATION_STATUS.md for current documentation status.
Executive Summary
The claude-mpm-skills repository has strong technical documentation for contributors (self-containment standards, PR checklists, versioning policies) but lacks comprehensive user-facing documentation for:
- End users wanting to understand and use skills
- Skill creators needing a complete guide from concept to deployment
- Troubleshooting common issues and questions
- Best practices beyond self-containment compliance
Key Finding: Documentation is 90% contributor-focused (ensuring self-containment) but only 10% user-focused (helping users understand and leverage skills effectively).
Current Documentation State
What Exists (✅ Strong Coverage)
1. README.md (353 lines)
Audience: General overview, quick start Strengths:
- Comprehensive skill catalog (82 skills across 8 categories)
- Clear repository structure visualization
- Progressive disclosure explanation (entry point vs. full documentation)
- Token efficiency metrics (99.7% savings)
- Complete skill listing by category
Gaps:
- Minimal "how to use skills" guidance
- No troubleshooting section
- No deep-dive into progressive disclosure mechanism
- Limited explanation of skill discovery/loading process
- No user journey examples
2. docs/SKILL_SELF_CONTAINMENT_STANDARD.md (1,417 lines)
Audience: Skill contributors, maintainers Strengths:
- Comprehensive self-containment principles
- Clear "never/always" rules
- Before/after transformation examples
- Testing checklist with verification commands
- FAQ addressing common questions
Gaps:
- Entirely contributor-focused (not user-facing)
- No guidance for end users consuming skills
- No explanation of why self-containment matters to users
3. docs/SKILL_CREATION_PR_CHECKLIST.md (492 lines)
Audience: Skill contributors submitting PRs Strengths:
- Copy-paste checklist format
- Verification commands with expected output
- Reviewer checklist
- Example filled checklist
Gaps:
- No end-user perspective
- Focuses only on compliance, not skill design principles
4. docs/VERSIONING.md (409 lines)
Audience: Maintainers, contributors Strengths:
- Clear semantic versioning policy
- Framework version strategy
- When to increment versions
- Examples of breaking vs. non-breaking changes
Gaps:
- No user-facing explanation of version implications
- No guidance on updating to new skill versions
5. CONTRIBUTING.md (~150 lines examined)
Audience: Contributors Strengths:
- Submission process explained
- Quality standards defined
- Self-containment requirements linked
- Testing requirements clear
Gaps:
- Limited "getting started" guidance
- No mentorship or learning path
- Assumes contributor familiarity with Claude Code
6. examples/ (good-self-contained-skill, bad-interdependent-skill)
Audience: Skill creators Strengths:
- Complete working template (good example)
- Comprehensive anti-pattern demonstration (bad example)
- Side-by-side learning approach
Gaps:
- Examples focus on self-containment compliance only
- No example showing progressive disclosure design
- No example of different skill complexity levels
What's Missing (❌ Critical Gaps)
1. User Guide for Claude Code Skills (MISSING)
Needed: Comprehensive guide for end users
- What are skills and how do they work?
- How does Claude Code discover and load skills?
- Understanding progressive disclosure (why skills load in tiers)
- How to deploy skills (manual vs. automatic)
- How to know which skills to use
- Troubleshooting skill loading issues
- Performance implications of skill deployment
2. Skill Creator's Complete Guide (FRAGMENTED)
Needed: End-to-end skill creation journey
- From idea to deployment
- Designing effective progressive disclosure
- YAML frontmatter explained with examples
- Token budgeting strategies
- Writing entry points (30-50 tokens)
- Structuring full documentation (3,000-6,000 tokens)
- Testing in real Claude Code sessions
- Iterating based on usage feedback
3. Progressive Disclosure Deep Dive (MINIMAL)
Needed: Complete explanation of the mechanism
- How Claude Code parses YAML frontmatter
- Entry point design principles
- When full documentation expands
- Token savings calculations
- Examples across different skill types
- Common mistakes in progressive disclosure design
4. Skill Discovery & Deployment Guide (MISSING)
Needed: How skills are found and deployed
- Toolchain detection mechanism
- Automatic vs. manual deployment
- Bundle deployment strategy
- Selective skill deployment
- Flat directory structure explanation
- Why self-containment matters for deployment
5. Troubleshooting Guide (MISSING)
Needed: Common issues and solutions
- Skill not loading (discovery issues)
- Skill not expanding (progressive disclosure issues)
- Token limits exceeded (too many skills deployed)
- Conflicts between skills
- Performance degradation
- Updating skills without breaking changes
6. Best Practices Handbook (SCATTERED)
Needed: Beyond compliance, what makes great skills?
- Content organization strategies
- Example selection criteria
- When to inline vs. reference
- Graceful degradation patterns
- Cross-skill collaboration (without dependencies)
- Skill naming conventions
- Tag selection for discoverability
7. Architecture & Design Decisions (MISSING)
Needed: Why skills are structured this way
- Why progressive disclosure vs. monolithic skills?
- Why self-containment over interdependencies?
- Why flat deployment vs. hierarchical?
- Trade-offs and design rationale
- Evolution of skill system design
Skill Structure Analysis
YAML Frontmatter Patterns
From examining actual skills, I identified three frontmatter patterns:
Pattern 1: Progressive Disclosure (Modern - Recommended)
Example: universal/collaboration/brainstorming/SKILL.md
---
name: Brainstorming Ideas Into Designs
description: Interactive idea refinement using Socratic method to develop fully-formed designs
when_to_use: when partner describes any feature or project idea, before writing code or implementation plans
version: 2.2.0
progressive_disclosure:
level: 1
references: []
note: Already optimal at 75 lines - intentionally compact, no references needed
---
Characteristics:
- Compact YAML structure
progressive_disclosurefield with level indicatorwhen_to_useprovides clear trigger conditions- Short, focused description
Pattern 2: Entry Point Structure (Structured - Comprehensive)
Example: toolchains/python/testing/pytest/SKILL.md
---
name: pytest
description: pytest - Python's most powerful testing framework with fixtures, parametrization, plugins, and framework integration for FastAPI, Django, Flask
version: 1.0.0
category: toolchain
author: Claude MPM Team
license: MIT
progressive_disclosure:
entry_point:
summary: "Professional Python testing: fixtures, parametrize, markers, async support, FastAPI/Django/Flask integration, coverage, mocking"
when_to_use: "Writing unit tests, integration tests, API testing, TDD workflow, testing async code, database testing, mocking dependencies"
quick_start: "1. pip install pytest 2. Create test_*.py files 3. Use fixtures with @pytest.fixture 4. Parametrize with @pytest.mark.parametrize 5. Run: pytest -v"
context_limit: 700
tags:
- pytest
- testing
- python
- tdd
- unit-testing
- fixtures
- mocking
- async
- fastapi
- django
requires_tools: []
---
Characteristics:
- Detailed
entry_pointstructure withsummary,when_to_use,quick_start - Rich tagging for discoverability
context_limitfor token budgetingrequires_toolsfor external dependencies- More comprehensive metadata
Pattern 3: Simple Description (Minimal - Framework Skills)
Example: toolchains/typescript/core/SKILL.md
---
name: typescript-core
description: Advanced TypeScript patterns and best practices for 2025. Use when working with TypeScript projects requiring type system mastery (generics, conditional types, mapped types), tsconfig optimization, runtime validation integration (Zod, TypeBox, Valibot), or type-safe API patterns. Essential for Next.js, Node.js, and full-stack TypeScript development.
---
Characteristics:
- Minimal frontmatter (name + description)
- Description doubles as usage guidance
- No explicit progressive disclosure structure
- Relies on content structure for entry point
metadata.json Structure
Standard Fields Observed:
{
"name": "skill-name",
"version": "1.0.0",
"category": "universal|toolchain",
"toolchain": "python|javascript|typescript|rust|php|null",
"framework": "fastapi|react|nextjs|null",
"tags": ["tag1", "tag2", "tag3"],
"entry_point_tokens": 61,
"full_tokens": 757,
"requires": [],
"author": "bobmatnyc",
"updated": "2025-11-21",
"source_path": "collaboration/brainstorming/SKILL.md",
"license": "MIT",
"source": "https://github.com/bobmatnyc/claude-mpm",
"created": "2025-11-21",
"modified": "2025-11-21",
"maintainer": "Claude MPM Team",
"attribution_required": true,
"repository": "https://github.com/bobmatnyc/claude-mpm-skills"
}
Key Fields:
- Token counts:
entry_point_tokens,full_tokensfor progressive disclosure metrics - Categorization:
category,toolchain,frameworkfor discovery - Dependencies:
requiresarray (external packages, never other skills) - Provenance:
source,repository,author,attribution_required
Key Concepts Extracted
1. Progressive Disclosure Mechanism
How It Works:
Entry Point (30-95 tokens): Minimal YAML frontmatter + brief description
- Skill name and purpose (1-2 sentences)
when_to_usetrigger conditionsquick_startsteps (3-5 items)- Total: 30-95 tokens for rapid scanning
Full Documentation (3,000-6,000 tokens): Complete skill content
- Overview and comprehensive explanation
- Usage instructions with examples
- Best practices and patterns
- Framework integrations
- Troubleshooting guidance
- Total: 3,000-6,000 tokens when needed
Token Efficiency:
- Discovery phase: Load 82 entry points = ~1,100 tokens (vs. 348,000 for all full docs)
- Savings: 99.7% token reduction during skill browsing
- Expansion: Full documentation loads only when skill is invoked
Why This Matters:
- Users can scan all 82 skills quickly without token overhead
- Claude Code can reference skill catalog efficiently
- Full detail available on-demand when skill is used
- Enables large skill libraries without context window issues
2. Self-Containment Principles
The Core Requirement: Every skill must function as a standalone, atomic unit that works in any deployment scenario.
Why Self-Containment:
- Flexible Deployment: Skills can be deployed individually, in bundles, or all together
- Flat Directory Structure:
~/.claude/skills/flattens hierarchical source structure - No Broken Links: Relative paths (
../../other-skill/) break in flat deployment - Selective Loading: Users choose only needed skills
- Testing: Each skill verifiable in isolation
- Maintenance: Changes don't cascade across skills
Implementation Rules:
- ❌ Never: Relative paths to other skills
- ❌ Never: Skill dependencies in
requiresfield - ❌ Never: Cross-skill imports in code examples
- ❌ Never: Assumptions about directory hierarchy
- ✅ Always: Inline essential content (20-50 lines per pattern)
- ✅ Always: Use skill names for references (informational only)
- ✅ Always: Provide graceful degradation ("if X skill deployed...")
- ✅ Always: Test skill in flat directory isolation
3. Skill Discovery & Loading
Discovery Process (Inferred from Structure):
Toolchain Detection: Claude Code analyzes project files
package.json→ JavaScript/TypeScript skillspyproject.toml/requirements.txt→ Python skills- Framework configs → Next.js, React, Django, FastAPI skills
- AI dependencies → LangChain, Anthropic, DSPy skills
Skill Selection: Based on detected toolchain
- Automatic deployment via
/mpm-auto-configure - Manual selection from catalog
- Bundle deployment for curated collections
- Automatic deployment via
Deployment: Copy skills to flat structure
- Source:
toolchains/python/frameworks/fastapi/ - Deployed:
~/.claude/skills/fastapi/ - Self-containment ensures functionality preserved
- Source:
Loading: Progressive disclosure in two tiers
- Tier 1: Entry points load for catalog browsing
- Tier 2: Full documentation expands when skill invoked
Implications for Skill Design:
- Entry points must be self-explanatory without context
- Full documentation must provide complete guidance
- Skills can reference each other informationally
- No assumptions about which skills are co-deployed
4. Directory Structure Conventions
Categorization:
claude-mpm-skills/
├── toolchains/ # Language/framework-specific (50 skills)
│ ├── python/ # 11 skills
│ │ ├── frameworks/ # Django, FastAPI, Flask
│ │ ├── testing/ # pytest
│ │ ├── data/ # SQLAlchemy
│ │ ├── async/ # asyncio, Celery
│ │ ├── tooling/ # mypy, pyright
│ │ └── validation/ # Pydantic
│ ├── typescript/ # 14 skills
│ ├── javascript/ # 7 skills
│ ├── nextjs/ # 2 skills
│ ├── ui/ # 5 skills
│ ├── ai/ # 7 skills
│ └── platforms/ # 4 skills
└── universal/ # Cross-language (32 skills)
├── infrastructure/ # Docker, GitHub Actions
├── data/ # GraphQL
├── architecture/ # Software patterns
├── testing/ # TDD, systematic debugging
├── collaboration/ # Brainstorming, code review
├── debugging/ # Root cause tracing
├── security/ # Security scanning
└── main/ # Artifacts builder, skill creator
Naming Conventions:
- Toolchain skills:
{framework}-{specialization}(e.g.,fastapi-local-dev) - Universal skills:
{concept}or{verb}-{noun}(e.g.,brainstorming,writing-plans) - Directory names: Lowercase, hyphen-separated
- SKILL.md: Always
SKILL.md(uppercase, standardized) - metadata.json: Always
metadata.json(lowercase, standardized)
Why This Structure:
- Toolchains: Enable automatic deployment based on project detection
- Universal: Available for all projects regardless of language
- Hierarchical source: Easy navigation for contributors
- Flat deployment: Self-containment enables flattening without breakage
5. Progressive Disclosure Best Practices
Entry Point Design (30-95 tokens):
Structure:
# Skill Name
Brief description (1-2 sentences) explaining core purpose.
**When to Use**: Comma-separated trigger scenarios.
Example (brainstorming skill):
name: Brainstorming Ideas Into Designs
description: Interactive idea refinement using Socratic method to develop fully-formed designs
when_to_use: when partner describes any feature or project idea, before writing code or implementation plans
Entry Point Anti-Patterns:
- ❌ Implementation details in entry point
- ❌ Code examples in frontmatter
- ❌ Multi-paragraph descriptions
- ❌ > 95 tokens in entry section
Full Documentation Structure:
---
[YAML frontmatter with progressive_disclosure]
---
# Skill Name
## Overview
Comprehensive explanation of skill purpose and capabilities.
## Quick Start
Installation and minimal working example.
## Core Patterns
Essential patterns with 20-50 line code examples (inlined).
## Advanced Usage
Complex scenarios and integrations.
## Best Practices
Guidelines and tips.
## Complementary Skills
Related skills (informational, no paths).
## Troubleshooting
Common issues and solutions.
Token Budgeting:
- Entry point: 30-95 tokens (average: ~60)
- Full documentation: 3,000-6,000 tokens
- Total repository entry points: ~1,100 tokens for 82 skills
- Full repository: ~348,000 tokens if all expanded
Design Principles:
- Entry point answers: "Is this skill relevant to my current task?"
- Full documentation answers: "How do I accomplish my goal with this skill?"
- Examples are complete: Not fragments, ready to copy-paste-modify
- Graceful degradation: Basic functionality self-contained, advanced features note optional skills
Documentation Gaps Analysis
Gap #1: User Journey Documentation
Missing: End-to-end user scenarios
Needed:
Journey 1: New User Wanting to Use Skills
- Discovery: "I heard about Claude Code skills. What are they?"
- Selection: "Which skills do I need for my Python/FastAPI project?"
- Deployment: "How do I deploy skills to my Claude Code session?"
- Usage: "How do I know when to use which skill?"
- Troubleshooting: "Skill isn't loading. What's wrong?"
Current State: README provides overview, but no step-by-step journey.
Journey 2: Developer Creating First Skill
- Ideation: "I have expertise in X. Should I create a skill?"
- Design: "How do I structure my knowledge as a skill?"
- Progressive Disclosure: "How do I design effective entry point?"
- Self-Containment: "What content do I inline vs. reference?"
- Testing: "How do I test in Claude Code before submitting?"
- Submission: "What's the PR process?"
Current State: CONTRIBUTING.md + examples provide mechanics, but no design guidance.
Journey 3: Contributor Improving Existing Skill
- Identification: "Which skills need improvement?"
- Understanding: "What's the design intent of this skill?"
- Enhancement: "How do I add content without breaking self-containment?"
- Versioning: "Is this a patch, minor, or major change?"
- Testing: "How do I verify improvements?"
Current State: VERSIONING.md provides policy, but no improvement workflow.
Gap #2: Progressive Disclosure Tutorial
Missing: How to design effective progressive disclosure
Needed:
Section 1: Why Progressive Disclosure?
- Token efficiency explanation
- Discovery vs. usage phases
- Context window management
- Scalability to large skill libraries
Section 2: Entry Point Design
- Writing effective
when_to_useconditions - Crafting concise summaries
- Token counting techniques
- Examples across skill complexity levels
Section 3: Full Documentation Structure
- Section organization strategies
- Example selection criteria
- Token budgeting within 3,000-6,000 range
- Balancing completeness with conciseness
Section 4: Common Mistakes
- Entry points that are too verbose
- Missing trigger conditions
- Unclear when_to_use descriptions
- Full documentation that lacks examples
- Token bloat in advanced sections
Current State: Progressive disclosure mentioned in README, but no design tutorial.
Gap #3: Self-Containment Rationale for Users
Missing: Why users care about self-containment
Needed:
User Benefits Explained:
- Flexible Skill Selection: Pick only what you need
- No Broken Dependencies: Every skill works standalone
- Performance: Load only deployed skills, no dead weight
- Predictability: Skill behavior doesn't depend on others
- Easy Updates: Update one skill without breaking others
Current State: SKILL_SELF_CONTAINMENT_STANDARD.md explains mechanics, but not user benefits.
Gap #4: Troubleshooting Knowledge Base
Missing: Common issues and solutions
Needed:
Category 1: Skill Discovery Issues
Problem: "Skill doesn't appear in catalog"
- Cause: Invalid metadata.json
- Cause: SKILL.md missing YAML frontmatter
- Cause: Deployed to wrong directory
- Solution: Validation commands
Category 2: Progressive Disclosure Issues
Problem: "Skill won't expand to full documentation"
- Cause: Entry point exceeds token budget
- Cause: Malformed YAML frontmatter
- Cause: Missing progressive_disclosure field
- Solution: Frontmatter validation
Category 3: Token Limit Issues
Problem: "Context window exceeded"
- Cause: Too many skills deployed
- Cause: Skills with excessive full documentation
- Solution: Selective skill deployment, token budgeting
Category 4: Self-Containment Violations
Problem: "Skill references missing content"
- Cause: Relative path broken in flat deployment
- Cause: Assumed other skill present
- Solution: Self-containment verification commands
Current State: No troubleshooting documentation exists.
Gap #5: Best Practices Handbook
Missing: Design wisdom beyond compliance
Needed:
Topic 1: Content Organization
- How to structure complex skills
- When to split into multiple skills
- Progressive complexity (basic → intermediate → advanced)
- Reference material organization
Topic 2: Example Selection
- Choosing representative examples
- Balancing comprehensiveness with conciseness
- Error handling in examples
- Real-world vs. minimal examples
Topic 3: Graceful Degradation Patterns
- Self-contained core vs. enhanced features
- Informational references to complementary skills
- "If X skill deployed" language
- Integration points without dependencies
Topic 4: Cross-Skill Collaboration
- How skills can reference each other informationally
- Bundle design (curated collections)
- Complementary skill recommendations
- Avoiding circular references
Topic 5: Skill Naming & Discoverability
- Naming conventions that aid discovery
- Tag selection strategies
- Description writing for search
- Category and toolchain selection
Current State: Scattered across examples and standards, but not consolidated.
Gap #6: Architecture Decision Records (ADRs)
Missing: Why skills are designed this way
Needed:
ADR 1: Why Progressive Disclosure?
- Problem: Large skill libraries exceed context windows
- Solution: Two-tier loading (entry points + full docs)
- Trade-offs: More complex skill authoring
- Outcome: 99.7% token savings during discovery
ADR 2: Why Self-Containment?
- Problem: Flexible deployment patterns needed
- Solution: Atomic, standalone skills
- Trade-offs: Content duplication across skills
- Outcome: Works in flat, hierarchical, bundle, selective deployment
ADR 3: Why Flat Deployment?
- Problem: Hierarchical structures fragile during deployment
- Solution: Deploy to single directory (e.g., ~/.claude/skills/)
- Trade-offs: Lose hierarchical organization for users
- Outcome: Predictable deployment, no path resolution issues
ADR 4: Why YAML Frontmatter?
- Problem: Entry points need structured metadata
- Solution: YAML in markdown frontmatter
- Trade-offs: Requires YAML parsing, more complex authoring
- Outcome: Machine-readable metadata, progressive disclosure support
Current State: Design rationale implicit in standards, not explicitly documented.
Recommended Documentation Structure
Proposed New Documentation Files
1. docs/USER_GUIDE.md (NEW - High Priority)
Audience: End users of Claude Code skills Length: ~3,000-4,000 lines Sections:
# Claude Code Skills User Guide
## Part 1: Understanding Skills
- What are Claude Code skills?
- How do skills enhance Claude Code?
- Progressive disclosure explained
- Token efficiency and why it matters
## Part 2: Using Skills
- Discovering available skills
- Understanding skill categories (toolchains vs. universal)
- Reading skill entry points
- When to use which skill
## Part 3: Deploying Skills
- Automatic deployment with /mpm-auto-configure
- Manual skill deployment
- Bundle deployment
- Selective skill deployment
- Flat directory structure explained
## Part 4: Working with Skills
- How Claude Code loads skills
- Progressive disclosure in action
- Skill invocation and expansion
- Combining multiple skills
- Performance considerations
## Part 5: Troubleshooting
- Skill not appearing in catalog
- Skill not expanding to full documentation
- Token limit exceeded
- Skill conflicts
- Performance issues
- Updating skills
## Part 6: Skill Catalog Reference
- Quick reference by category
- Toolchain skills overview
- Universal skills overview
- Skill relationship map
2. docs/SKILL_CREATION_GUIDE.md (NEW - High Priority)
Audience: Skill creators Length: ~4,000-5,000 lines Sections:
# Complete Skill Creation Guide
## Part 1: Before You Start
- Should you create a skill?
- Understanding your audience
- Skill scope and boundaries
- Existing skill audit (avoid duplication)
## Part 2: Designing Your Skill
- Progressive disclosure design
- Entry point design principles
- Full documentation structure
- Token budgeting strategies
- Self-containment planning
## Part 3: YAML Frontmatter
- Required fields explained
- Optional fields and when to use
- Progressive disclosure configuration
- Entry point structure
- Token counting techniques
## Part 4: Writing Entry Points
- 30-95 token constraint
- Writing effective "when_to_use"
- Crafting concise summaries
- Quick start steps
- Examples across complexity levels
## Part 5: Writing Full Documentation
- Overview section guidelines
- Quick start with minimal example
- Core patterns with inline code (20-50 lines)
- Advanced usage and integrations
- Best practices section
- Complementary skills (informational references)
- Troubleshooting common issues
## Part 6: Self-Containment
- Why self-containment matters
- Content inlining strategies
- When to inline vs. reference
- Graceful degradation patterns
- Testing for self-containment
## Part 7: Code Examples
- Complete, working examples
- Error handling in examples
- Real-world vs. minimal examples
- Example length guidelines
- Commenting best practices
## Part 8: metadata.json
- Required fields
- Token estimates (entry_point_tokens, full_tokens)
- Categorization (category, toolchain, framework)
- Tags for discoverability
- Dependencies (external packages only)
## Part 9: Testing Your Skill
- Testing in Claude Code
- Flat directory isolation test
- Self-containment verification
- Progressive disclosure validation
- User feedback collection
## Part 10: Submission & Review
- Using SKILL_CREATION_PR_CHECKLIST.md
- PR process and expectations
- Responding to review feedback
- Post-merge responsibilities
3. docs/PROGRESSIVE_DISCLOSURE_TUTORIAL.md (NEW - Medium Priority)
Audience: Skill creators, maintainers Length: ~2,000-2,500 lines Sections:
# Progressive Disclosure Tutorial
## Part 1: Why Progressive Disclosure?
- Token efficiency problem
- Discovery vs. usage phases
- Scalability to 100+ skills
- Context window management
- 99.7% token savings explained
## Part 2: The Two-Tier System
- Tier 1: Entry Points (30-95 tokens)
- Tier 2: Full Documentation (3,000-6,000 tokens)
- How Claude Code parses and loads
- Expansion mechanism
## Part 3: Entry Point Design
- Structure and format
- YAML frontmatter fields
- Writing concise summaries
- Effective "when_to_use" conditions
- Quick start steps
- Token counting techniques
- Examples: Simple, Medium, Complex skills
## Part 4: Full Documentation Design
- Section organization
- Token budgeting within 3,000-6,000 range
- Example selection strategies
- Balancing completeness with conciseness
- Progressive complexity (basic → advanced)
## Part 5: Common Mistakes
- Entry points too verbose (>95 tokens)
- Missing or unclear "when_to_use"
- Full documentation too sparse (<2,000 tokens)
- Full documentation too verbose (>7,000 tokens)
- Lack of practical examples
- Poor section organization
## Part 6: Case Studies
- Analyzing well-designed skills
- Entry point effectiveness
- Full documentation comprehensiveness
- Token efficiency analysis
- Before/after refactoring examples
## Part 7: Validation & Testing
- Token counting tools
- YAML frontmatter validation
- Progressive disclosure testing
- User testing protocols
4. docs/TROUBLESHOOTING.md (NEW - Medium Priority)
Audience: All users Length: ~2,000-2,500 lines Sections:
# Troubleshooting Claude Code Skills
## Common Issues
### Issue: Skill Not Appearing in Catalog
**Symptoms:** Deployed skill doesn't show in skill list
**Causes:**
- Invalid metadata.json (syntax error)
- Missing YAML frontmatter in SKILL.md
- Deployed to wrong directory
- File permissions issue
**Solutions:**
[Detailed step-by-step troubleshooting]
### Issue: Skill Won't Expand to Full Documentation
**Symptoms:** Entry point loads but full content doesn't appear
**Causes:**
- Malformed YAML frontmatter
- Missing progressive_disclosure field
- Entry point exceeds token budget
- SKILL.md parsing error
**Solutions:**
[Detailed step-by-step troubleshooting]
### Issue: Context Window Exceeded
**Symptoms:** "Context window exceeded" error
**Causes:**
- Too many skills deployed
- Skills with excessive full documentation
- Multiple skills expanded simultaneously
**Solutions:**
[Detailed step-by-step troubleshooting]
### Issue: Skill References Missing Content
**Symptoms:** Broken links, "file not found" errors
**Causes:**
- Relative path broken in flat deployment
- Skill assumes other skills present
- Self-containment violation
**Solutions:**
[Detailed step-by-step troubleshooting]
### Issue: Performance Degradation
**Symptoms:** Slow Claude Code responses
**Causes:**
- Too many skills deployed
- Large skill files
- Inefficient skill loading
**Solutions:**
[Detailed step-by-step troubleshooting]
## Diagnostic Commands
[Grep commands, validation scripts, testing procedures]
## Getting Help
[Where to file issues, ask questions]
5. docs/BEST_PRACTICES.md (NEW - Medium Priority)
Audience: Skill creators, maintainers Length: ~3,000-3,500 lines Sections:
# Skill Design Best Practices
## Content Organization
- Structuring complex skills
- Progressive complexity (basic → intermediate → advanced)
- Section ordering strategies
- Reference material organization
- When to split into multiple skills
## Example Selection
- Choosing representative examples
- Minimal vs. comprehensive examples
- Error handling demonstration
- Real-world scenario examples
- Example length guidelines (20-50 lines for core patterns)
## Graceful Degradation
- Self-contained core functionality
- Enhanced features with optional skills
- "If X skill deployed" language
- Integration points without dependencies
- Complementary skill recommendations
## Cross-Skill Collaboration
- Informational references (skill names only)
- Bundle design for curated collections
- Avoiding circular references
- Complementary vs. dependent skills
- Integration patterns
## Naming & Discoverability
- Naming conventions by category
- Tag selection strategies
- Description writing for search
- Category and toolchain selection
- Skill vs. bundle naming
## Token Budgeting
- Entry point optimization (target 60 tokens)
- Full documentation budgeting (target 4,000 tokens)
- Example length management
- Reference material handling
- Progressive disclosure optimization
## Versioning Strategy
- Semantic versioning application
- When to create new skill vs. update existing
- Framework version handling
- Breaking vs. non-breaking changes
- Deprecation strategies
## Testing Strategies
- Isolation testing protocol
- Self-containment verification
- Progressive disclosure validation
- User testing and feedback collection
- Regression testing after updates
6. docs/ARCHITECTURE.md (NEW - Low Priority)
Audience: Advanced contributors, researchers Length: ~2,500-3,000 lines Sections:
# Claude Code Skills Architecture
## Design Decisions
### ADR-001: Progressive Disclosure
**Problem:** Large skill libraries exceed context windows
**Solution:** Two-tier loading (entry points + full docs)
**Trade-offs:** More complex skill authoring
**Outcome:** 99.7% token savings during discovery
[Detailed rationale, alternatives considered, implementation]
### ADR-002: Self-Containment
**Problem:** Flexible deployment patterns needed
**Solution:** Atomic, standalone skills
**Trade-offs:** Content duplication across skills
**Outcome:** Works in flat, hierarchical, bundle, selective deployment
[Detailed rationale, alternatives considered, implementation]
### ADR-003: Flat Deployment
**Problem:** Hierarchical structures fragile during deployment
**Solution:** Deploy to single directory (e.g., ~/.claude/skills/)
**Trade-offs:** Lose hierarchical organization for users
**Outcome:** Predictable deployment, no path resolution issues
[Detailed rationale, alternatives considered, implementation]
### ADR-004: YAML Frontmatter
**Problem:** Entry points need structured metadata
**Solution:** YAML in markdown frontmatter
**Trade-offs:** Requires YAML parsing, more complex authoring
**Outcome:** Machine-readable metadata, progressive disclosure support
[Detailed rationale, alternatives considered, implementation]
## System Components
- Skill discovery mechanism
- Progressive disclosure parser
- Deployment strategies
- Token counting and budgeting
- Skill loading and expansion
## Evolution & Future Direction
- Planned enhancements
- Known limitations
- Community feedback incorporation
- Research areas
Updates to Existing Documentation
README.md Enhancements
Current: 353 lines - Good overview, catalog, quick start Additions Needed:
## Documentation
### For Users
- **[User Guide](docs/USER_GUIDE.md)**: Complete guide to using Claude Code skills
- **[Troubleshooting](docs/TROUBLESHOOTING.md)**: Common issues and solutions
### For Skill Creators
- **[Skill Creation Guide](docs/SKILL_CREATION_GUIDE.md)**: End-to-end skill development
- **[Progressive Disclosure Tutorial](docs/PROGRESSIVE_DISCLOSURE_TUTORIAL.md)**: Designing effective entry points
- **[Best Practices](docs/BEST_PRACTICES.md)**: Design wisdom and patterns
- **[Versioning Policy](docs/VERSIONING.md)**: Semantic versioning for skills
### For Contributors
- **[Contributing Guide](CONTRIBUTING.md)**: How to contribute
- **[Self-Containment Standard](docs/SKILL_SELF_CONTAINMENT_STANDARD.md)**: Mandatory skill requirements
- **[PR Checklist](docs/SKILL_CREATION_PR_CHECKLIST.md)**: Verification before submission
### For Maintainers
- **[Architecture](docs/ARCHITECTURE.md)**: Design decisions and rationale
- **[Governance](GOVERNANCE.md)**: Project governance model
Section Enhancement: Add "Understanding Skills" section after "Overview"
## Understanding Skills
### What Are Skills?
Claude Code skills are modular, self-contained knowledge units that extend Claude's capabilities in specific domains. Each skill packages expertise in a framework, pattern, or workflow into a reusable format.
### How Skills Work
Skills use **progressive disclosure** to balance discoverability with efficiency:
1. **Entry Point** (30-95 tokens): Quick reference to identify relevance
2. **Full Documentation** (3,000-6,000 tokens): Complete guidance when needed
This two-tier system enables a catalog of 82 skills with only 1,100 tokens during discovery—a **99.7% token savings** compared to loading all full documentation.
### When to Use Skills
Skills activate automatically based on your project:
- **Toolchain Detection**: Python, JavaScript, TypeScript, Rust, PHP skills deploy based on detected frameworks
- **Manual Selection**: Deploy specific skills for specialized workflows
- **Universal Skills**: Available for all projects (testing, debugging, collaboration)
Learn more in the [User Guide](docs/USER_GUIDE.md).
CONTRIBUTING.md Enhancements
Current: ~150 lines - Good structure, self-containment emphasis Additions Needed:
- Learning Path Section:
## Learning Path for New Contributors
### Step 1: Understand Skills (1-2 hours)
1. Read [User Guide](docs/USER_GUIDE.md) to understand skills from user perspective
2. Review [Progressive Disclosure Tutorial](docs/PROGRESSIVE_DISCLOSURE_TUTORIAL.md)
3. Examine [good-self-contained-skill example](examples/good-self-contained-skill/)
### Step 2: Study Best Practices (2-3 hours)
1. Read [Best Practices Handbook](docs/BEST_PRACTICES.md)
2. Read [Self-Containment Standard](docs/SKILL_SELF_CONTAINMENT_STANDARD.md)
3. Compare good vs. bad examples in examples/ directory
### Step 3: Create Your First Skill (4-8 hours)
1. Review [Skill Creation Guide](docs/SKILL_CREATION_GUIDE.md)
2. Copy [good-self-contained-skill](examples/good-self-contained-skill/) as template
3. Design progressive disclosure (entry point + full docs)
4. Ensure self-containment (no relative paths, inline essential content)
5. Test in isolation (flat directory deployment)
### Step 4: Submit and Iterate (1-2 hours)
1. Complete [PR Checklist](docs/SKILL_CREATION_PR_CHECKLIST.md)
2. Submit pull request with checklist in description
3. Address review feedback
4. Celebrate your contribution! 🎉
- Mentorship Section:
## Getting Help
### Questions During Development
- **Discord/Slack**: [Link to community chat]
- **GitHub Discussions**: https://github.com/bobmatnyc/claude-mpm-skills/discussions
- **Issue Tracker**: Tag questions with `question` label
### Review Feedback
- Reviews typically within 2-3 business days
- Feedback focused on self-containment and progressive disclosure
- Iterative process—expect 1-2 rounds of feedback
### Skill Design Feedback
Before investing heavily in implementation:
1. Open a Discussion with your skill idea
2. Share entry point draft
3. Get feedback on scope and structure
4. Proceed with confidence
Content Requirements Summary
Essential Topics to Cover
For End Users:
- ✅ What skills are and why they exist
- ✅ How progressive disclosure works (entry point vs. full docs)
- ✅ How to discover and select skills (automatic vs. manual)
- ✅ How to deploy skills (/mpm-auto-configure, bundles, selective)
- ✅ When to use which skill (reading entry points)
- ✅ Performance implications (token budgets, context windows)
- ✅ Troubleshooting common issues
For Skill Creators:
- ✅ End-to-end creation process (idea → deployment)
- ✅ Progressive disclosure design (entry point + full docs)
- ✅ YAML frontmatter explained (required vs. optional fields)
- ✅ Self-containment requirements (why + how)
- ✅ Token budgeting strategies (staying within limits)
- ✅ Content inlining guidelines (what to inline vs. reference)
- ✅ Testing protocols (isolation, verification)
- ✅ Best practices (beyond compliance)
For All:
- ✅ Example code snippets (minimal, working, commented)
- ✅ Common pitfalls (anti-patterns to avoid)
- ✅ Best practices (design wisdom)
- ✅ Troubleshooting guidance (diagnostic commands)
Example Code Snippets Needed
Example 1: Minimal YAML Frontmatter (Simple Skill)
---
name: skill-name
description: Brief description including when to use.
---
Example 2: Entry Point Structure (Recommended)
---
name: skill-
…(truncated)