skill-progressive-disclosure-design

Featured

Decide how to split skill content between SKILL.md and reference files for context efficiency and reliable triggering. Use this whenever creating a new Claude skill, refactoring an existing one, or when a SKILL.md is growing past 300-400 lines. Also trigger when the user mentions "progressive disclosure", "reference files", "splitting skills", "skill bundling", "context window for skills", "SKILL.md too long", "what goes in references/", "skill structure", or expresses any uncertainty about where to put content within a skill. Use this even if the user phrases the question as a triggering problem ("how do I make my skill trigger better"), because that question is often confused with the splitting question and needs to be disentangled first.

AI & Automation 188 stars 14 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 92/100

Stars 20%
76
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Skill Progressive Disclosure Design Each section that recommends a direction includes explicit pros and cons. The decisions in this skill are trade-offs, not rules. The model using this skill should reason from the trade-offs to the user's specific situation rather than apply rules blindly. ## Triggering vs. disclosure: separate these first Two problems get conflated and need separating before any splitting decision. **Triggering** is whether Claude invokes the skill at all. Driven entirely by the YAML `description`. File splitting does not affect triggering. If the question is "my skill doesn't trigger reliably", do not split files, fix the description (use `run_loop.py` from the `skill-creator` skill). **Progressive disclosure** is what loads after the skill activates. SKILL.md body always loads. `references/*` only loads when SKILL.md tells the model to read a specific file. `scripts/*` executes without loading into context at all. This is where context protection happens. If the user is asking about splitting because of triggering issues, surface the confusion first and redirect. ## Default: do not split A monolithic SKILL.md beats a split one until proven otherwise. Split only when at least one is true: - SKILL.md exceeds ~400 lines and content has natural branches. - Empirical evidence (eval transcripts) shows the model wasting context on irrelevant sections. - Specific content is large and only needed in narrow conditions. **Pros of staying monolithic:** ...

Details

Author
samber
Repository
samber/cc-skills
Created
5 months ago
Last Updated
yesterday
Language
CSS
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category