skill-quality-linter
Skill2 starsChanged 7 months agoMITView on GitHub
Validate SKILL.md structure, frontmatter completeness, token budget, freshness, naming conventions, and cross-platform portability before publishing.
In this repository33 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
- africa-mobile-moneySkill
- africa-ussd-developmentSkill
- eu-ai-act-complianceSkill
- eu-ai-act-content-disclosureSkill
- eu-dora-complianceSkill
- eu-nis2-complianceSkill
- eu-regulatory-routerSkill
- gdpr-data-protectionSkill
- fr-open-data-explorerSkill
- devsecops-supply-chainSkill
- contract-analysisSkill
- invoice-processingSkill
- agent-eval-frameworkSkill
- tech-debt-detectorSkill
- skill-lifecycle-managementSkill
- context-engineeringSkill
- find-skillsSkill
- fr-comptabiliteSkill
- fr-droit-immobilierSkill
- fr-facturation-electroniqueSkill
- fr-fec-generatorSkill
- fr-fiscalite-investissementSkill
- fr-fiscalite-particulierSkill
- fr-notariatSkill
- fr-recherche-emploiSkill
- offline-first-developmentSkill
- pii-detectionSkill
- api-resilience-patternsSkill
- skill-security-auditSkill
- data-sovereignty-patternsSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 28
Before publishing a new skill to a registry
- Distinctive: line 116
Does not check factual accuracy of content
- Distinctive: line 117
Does not validate referenced URLs (use separate check)
- Very specific: line 118
Does not scan for security issues (see skill-security-audit)
- Distinctive: line 119
Does not auto-fix issues (reports only)
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Skill Quality Linter
When to Use
- Before publishing a new skill to a registry
- Reviewing a skill PR
- Auditing existing skill quality
- Setting up CI for a skill repository
Lint Checks
1. Frontmatter (Required Fields)
| Field | Required | Format |
| name | YES | kebab-case, matches directory name |
| description | YES | 1 line, max 250 chars, starts with verb |
| version | YES | Semver (X.Y.Z) |
| last-updated | YES | YYYY-MM-DD, not in future |
| platforms | YES | Array of known platform names |
| license | YES | Valid SPDX identifier |
| dependencies | RECOMMENDED | Object with mcp, skills, apis, data |
| update_sources | RECOMMENDED | Array with url + check_frequency |
| language | RECOMMENDED | ISO 639-1 (en, fr, etc.) |
| geo_relevance | RECOMMENDED | Array (global, fr, eu, africa, etc.) |
| category | RECOMMENDED | Matches parent directory name |
| priority | OPTIONAL | critical, high, medium, low |
2. Structure
| Check | Rule |
Starts with --- | Valid YAML frontmatter |
Has # Title | H1 heading after frontmatter |
Has ## When to Use | Trigger conditions documented |
Has ## What This Skill Does NOT Do | Limitations section present |
| No H1 other than title | Single H1 only |
Sections use H2 (##) | Consistent hierarchy |
3. Size Budget
| Metric | Limit | Rationale |
| SKILL.md lines | < 800 | ETH Zurich: more = worse perf |
| SKILL.md tokens | < 2500 | Context window budget |
| SKILL.md + references/ | < 3000 tokens | Total load budget |
| references/ file count | < 5 | Keep focused |
4. Portability
| Check | Rule |
| No tool-specific syntax | No Read, Write, Bash, Edit references |
| No platform-specific imports | No import, require, from in instructions |
| Natural language instructions | Steps readable by any agent |
| Graceful degradation | "If terminal available... otherwise..." pattern |
5. Freshness
| Age | Status |
| < 60 days | PASS |
| 60-90 days | WARN — review needed |
| > 90 days | FAIL — must update before use |
6. Naming
| Check | Rule |
| Directory name | kebab-case, no uppercase |
| name field | Matches directory exactly |
| description | Starts with action verb (Guide, Build, Detect, Generate...) |
| No emoji in name/description | Plain text only |
Output Format
LINT: {skill-name}
Status: PASS | WARN | FAIL
[PASS] Frontmatter: all required fields present
[PASS] Structure: all sections present
[WARN] Size: 2800 tokens (approaching 3000 limit)
[PASS] Portability: no platform-specific syntax
[PASS] Freshness: 5 days old
[PASS] Naming: matches conventions
Verdict: PASS (1 warning)What This Skill Does NOT Do
- Does not check factual accuracy of content
- Does not validate referenced URLs (use separate check)
- Does not scan for security issues (see
skill-security-audit) - Does not auto-fix issues (reports only)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

