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
Strategies for fixing content duplication across skills. Provides actionable approaches based on duplication type and severity.
Goal: Reduce duplication to <5% across skill collection
Approach: Consolidate, Extract, or Eliminate based on duplication type
Use When:
20% content overlap
Process:
Result: 96%+ size reduction, <5% duplication
Use When:
Process:
Result: Single source of truth for shared concept
Use When:
Process:
Result: Remove redundancy entirely
| Scenario | Similarity | Related? | Action |
|---|---|---|---|
| Same family, >35% | High | Yes | Aggregation |
| Same family, 20-35% | Medium | Yes | Aggregation |
| Different family, >35% | High | No | Extraction |
| Different family, 20-35% | Medium | No | Review |
| Any, <20% | Low | N/A | Keep separate |
cat .context/analysis/duplication-report-*.mdIdentify:
For each high-duplication pair:
Are they in the same domain?
Is content identical or just similar?
Would consolidation improve clarity?
For Aggregation:
aggregation-implementation.md 6-step processFor Extraction:
references/shared-topic.md@see referencesFor Elimination:
.deprecated/ for history# Re-run duplication detection
./scripts/detect-duplication.sh
# Verify no broken references
grep -r "@see" skills/*/SKILL.md | while read ref; do
# Check referenced file exists
done
# Run skill-judge evaluation
find skills -mindepth 1 -maxdepth 1 -type d -exec basename {} \; | while read -r skill_name; do
sh skills/skill-quality-auditor/scripts/evaluate.sh "$skill_name" --json >/dev/null
doneProblem: Same anti-patterns repeated across skills
Solution: Create references/shared-anti-patterns.md
---
category: shared
priority: CRITICAL
source: multiple skills
---
# Universal Anti-Patterns
## Never Trust Without Verification
...Then reference from skills:
## Anti-Patterns
See @see references/shared-anti-patterns.md for universal anti-patterns.Problem: Same code example in multiple skills
Solution: Extract to shared reference
Problem: Skills cover adjacent topics with overlap
Solution: Aggregate into single skill with categories
Track improvement:
| Metric | Before | After | Target |
|---|---|---|---|
| Total duplication | 35% | <5% | <5% |
| Skill count | 50 | 35 | Optimize |
| Avg file size | 450 lines | 120 lines | <200 |
| Maintenance points | 3+ | 1 | 1 |
❌ Over-aggregating - Consolidating unrelated skills
❌ Deleting without backup - Always use .deprecated/
❌ Breaking references - Verify all @see links
❌ Rushing verification - Test thoroughly before deprecating
duplication-detection-algorithm.md - Finding duplicatesaggregation-pattern.md - Navigation Hub patternaggregation-implementation.md - Step-by-step processInstall with Tessl CLI
npx tessl i pantheon-ai/skill-quality-auditor@0.1.4evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
references
scripts