CtrlK
BlogDocsLog inGet started
Tessl Logo
PluginPublic

trysac/skill-linter

Lint agent skill folders (SKILL.md) for frontmatter, name, description limits, trigger cues, body length and broken links. Use when the user asks to validate, review or fix a SKILL.md before committing or publishing.

Quality

97%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Low

Low-risk findings worth noting

Overview
Quality
Evals
Security
Files
name:
skill-linter
description:
Lint agent skill folders (SKILL.md) for frontmatter, name, description limits, trigger cues, body length and broken links. Use when the user asks to validate, review or fix a SKILL.md before committing or publishing.

Skill linter

Checks a skill folder against the Agent Skills format with rules S000-S009 and reports findings with file, line, rule id and severity. Standard library only; nothing to install.

Workflow

  1. Find the target: a skill folder, a folder tree with several skills, or a SKILL.md file.
  2. Run python3 scripts/skill_lint.py PATH (path of this skill's scripts/ folder). Add --strict to fail on warnings and --format json for machine-readable output.
  3. Read the findings. For each rule id, use the fix in references/rules.md.
  4. Edit the skill's SKILL.md or its files to fix errors first, then warnings. Keep the meaning of the description; only add the missing trigger cue or shorten it.
  5. Run the script again until it exits 0 (and with --strict, until it prints nothing).
  6. Report what changed and which findings remain, if any.

Rules at a glance

S000 unreadable file; S001 frontmatter fences or syntax; S002 missing name or description; S003 name format or folder mismatch; S004 description over 1024 chars or compatibility over 500; S005 no trigger cue (warning); S006 body over 500 lines (warning); S007 missing link target; S008 link escapes the skill folder; S009 XML tag in name or description, or reserved word in name.

Limits

  • The frontmatter parser supports key: value scalars, quoted strings, > and | blocks and one level under metadata; other syntax is reported as S001.
  • Only inline Markdown links are checked, not reference-style links.
  • The script reads files and never changes or runs them. Fixes are made by you, with the user's agreement.
Workspace
trysac
Visibility
Public
Created
Last updated
Source
CLI
Repository
No repository linked. Set repository in the plugin manifest, or publish from a GitHub Action to verify it.
Badge
trysac/skill-linter badge