agentleFS
BuilderCedBuilderCed/agent-skills/skills/security/skill-quality-linter/SKILL.md

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.

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
  1. Distinctive:

    Before publishing a new skill to a registry

    line 28
  2. Distinctive:

    Does not check factual accuracy of content

    line 116
  3. Distinctive:

    Does not validate referenced URLs (use separate check)

    line 117
  4. Very specific:

    Does not scan for security issues (see skill-security-audit)

    line 118
  5. Distinctive:

    Does not auto-fix issues (reports only)

    line 119

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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)

FieldRequiredFormat
nameYESkebab-case, matches directory name
descriptionYES1 line, max 250 chars, starts with verb
versionYESSemver (X.Y.Z)
last-updatedYESYYYY-MM-DD, not in future
platformsYESArray of known platform names
licenseYESValid SPDX identifier
dependenciesRECOMMENDEDObject with mcp, skills, apis, data
update_sourcesRECOMMENDEDArray with url + check_frequency
languageRECOMMENDEDISO 639-1 (en, fr, etc.)
geo_relevanceRECOMMENDEDArray (global, fr, eu, africa, etc.)
categoryRECOMMENDEDMatches parent directory name
priorityOPTIONALcritical, high, medium, low

2. Structure

CheckRule
Starts with ---Valid YAML frontmatter
Has # TitleH1 heading after frontmatter
Has ## When to UseTrigger conditions documented
Has ## What This Skill Does NOT DoLimitations section present
No H1 other than titleSingle H1 only
Sections use H2 (##)Consistent hierarchy

3. Size Budget

MetricLimitRationale
SKILL.md lines< 800ETH Zurich: more = worse perf
SKILL.md tokens< 2500Context window budget
SKILL.md + references/< 3000 tokensTotal load budget
references/ file count< 5Keep focused

4. Portability

CheckRule
No tool-specific syntaxNo Read, Write, Bash, Edit references
No platform-specific importsNo import, require, from in instructions
Natural language instructionsSteps readable by any agent
Graceful degradation"If terminal available... otherwise..." pattern

5. Freshness

AgeStatus
< 60 daysPASS
60-90 daysWARN — review needed
> 90 daysFAIL — must update before use

6. Naming

CheckRule
Directory namekebab-case, no uppercase
name fieldMatches directory exactly
descriptionStarts with action verb (Guide, Build, Detect, Generate...)
No emoji in name/descriptionPlain 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)

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.