Audit and improve skill collections with an 8-dimension scoring framework, duplication detection, remediation planning, and CI quality gates; use when evaluating skill quality, generating remediation plans, validating report format, or enforcing repository-wide skill artifact conventions.
Does it follow best practices?
Evaluation — 93%
↑ 1.33xAgent success when using this tile
Validation for skill structure
Pattern Name: Navigation Hub + References
Origin: supabase-postgres-best-practices (108/120 - A grade)
Use Case: Consolidating related skills to reduce redundancy and improve usability
Impact: 96%+ reduction in main file size, <5% duplication, A+ average grades
Large skill collections face several challenges:
Example:
skill-name/
├── SKILL.md # 60-90 line navigation hub
├── AGENTS.md # Complete reference guide
└── references/ # Detailed content (100-500 lines each)
├── category1-topic1.md
├── category1-topic2.md
├── category2-topic1.md
└── ...1. SKILL.md (Navigation Hub)
2. AGENTS.md (Reference Guide)
3. references/ (Expert Content)
principles-, patterns-)Look for:
Example:
BDD family: 6 skills, 1,839 lines, 35% duplication → Consolidate
Random unrelated skills → Keep separateOrganize by:
Example - BDD Testing:
CRITICAL: principles- (philosophy, Three Amigos)
HIGH: gherkin- (syntax, step definitions)
HIGH: patterns- (Given-When-Then, scenarios)
MEDIUM: collaboration- (Example Mapping, workshops)
MEDIUM: practices- (best practices, anti-patterns)Template:
---
name: skill-name
description: [Comprehensive with WHAT, WHEN, KEYWORDS]
consolidates: [list of original skills]
original_lines: XXXX
hub_lines: XX
reduction: XX%
---
# Skill Title
[2-3 sentence overview]
## When to Apply
- [Specific trigger scenarios]
- [Use case examples]
## Categories by Priority
| Priority | Category | Impact | Files |
|----------|----------|--------|-------|
| CRITICAL | [category] | [why critical] | X |
| HIGH | [category] | [why high] | X |
| MEDIUM | [category] | [why medium] | X |
## How to Use This Skill
1. Read this navigation hub first (60 lines)
2. Check AGENTS.md for complete file listing
3. Load specific reference files as needed:
- For [use case] → `references/category-file.md`
- For [use case] → `references/category-file.md`
## References
- [External links]Template:
# [Skill Name] - Reference Guide
## Overview
This skill consolidates X original skills (X,XXX lines) into:
- Navigation hub: XX lines
- Reference files: XX files across X categories
## Usage Workflow
1. Load SKILL.md for overview
2. Identify your use case
3. Load relevant reference files by category
4. Work through categories by priority
## Category Guide
### CRITICAL Priority
- **[category]-** - [Description]
- [file1.md] - [Purpose]
- [file2.md] - [Purpose]
### HIGH Priority
[repeat structure]
## All Reference Files
[Complete alphabetical listing]
## File Count
Total: XX references across X categoriesFor each reference file:
Read source skill and identify focused topic
Extract expert knowledge (remove tutorials)
Create reference file with frontmatter:
---
category: [category-name]
priority: CRITICAL|HIGH|MEDIUM|LOW
source: [original-skill-name]
---
# [Topic Title]
[2-3 sentence overview]
## [Section]
[Content with code examples]
## Best Practices
[Actionable guidelines]
## Common Pitfalls
[Anti-patterns with WHY]
## Related
- @see references/[related-file].mdFollow size targets:
# Create .deprecated directory
mkdir -p .agents/skills/.deprecated
# Move consolidated skills
mv .agents/skills/original-skill .agents/skills/.deprecated/
# Create README explaining consolidation
cat > .agents/skills/.deprecated/README.md <<EOF
# Deprecated Skills
These skills consolidated into: [aggregation-skill-name]
See .agents/skills/[aggregation-skill-name]/ for new structure.
EOF✅ Must Have:
❌ Must Not Have:
✅ Must Have:
❌ Must Not Have:
✅ Must Have:
❌ Must Not Have:
| Metric | Before | After | Improvement |
|---|---|---|---|
| Main file size | 500-700 lines | 60-90 lines | 85-95% |
| Duplication | 20-35% | <5% | 15-30pp |
| Skills count | 3-6 | 1 | 66-83% |
| Average grade | C/B | A/A+ | 5-15 points |
| User confusion | High | Low | Qualitative |
Before:
After:
Results:
Problem: Consolidating unrelated skills because they share technology
Example: Consolidating all "Python" skills regardless of domain
Solution: Only consolidate skills users would naturally use together
Problem: Creating too many small aggregations
Example: Separate aggregations for "BDD Principles" and "BDD Patterns"
Solution: Consolidate related concepts into single aggregation with categories
Problem: Navigation hub exceeds 100 lines
Example: Including code examples, detailed explanations in SKILL.md
Solution: Move ALL detailed content to references/
Problem: All categories marked CRITICAL
Example: No clear order for learning progression
Solution: Use CRITICAL (foundations), HIGH (core), MEDIUM (specialized), LOW (advanced)
Problem: Categories not aligned with user workflow
Example: Alphabetical instead of logical progression
Solution: Design categories by priority and natural learning/usage flow
Problem: 800+ line reference files defeating progressive disclosure
Example: Single "typescript-everything.md" file
Solution: Split into focused 100-500 line files per topic
Problem: Missing file listings, unclear navigation
Example: "See references/ for more" without specific guidance
Solution: List every reference file with description
Don't aggregate if:
Example:
Time: 4-6 hours per aggregation
Time: 2-3 hours per aggregation
# Duplication detector
./scripts/detect-skill-duplication.sh
# Category suggester
./scripts/suggest-categories.sh skill1 skill2 skill3
# Content extractor
./scripts/extract-to-references.sh source-skill target-aggregation
# AGENTS.md generator
./scripts/generate-agents-md.sh aggregation-dirThe Navigation Hub + References pattern successfully:
Use this pattern when consolidating 3+ related skills with >20% duplication.
Key Principle: Navigation hub answers "what and where," references provide "how and why."
Install with Tessl CLI
npx tessl i pantheon-ai/skill-quality-auditorevals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
references
scripts