ds-lint
Skill24 starsChanged 8 months agoMITView on GitHub
Internal development tool that validates all SKILL.md and agent .md files against the Claude Code spec. Checks frontmatter completeness, field validity, allowed-tools presence, line count, hardcoded paths, and description quality. Use when the user says "lint skills", "validate skills", "check skill quality", "run the linter", "are my skills valid", or before shipping changes to the skills repo.
In this repository10 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- ds-auditSkill
- ds-brainSkill
- ds-channel-reportSkill
- ds-churn-signalsSkill
- ds-content-perfSkill
- ds-evalSkill
- ds-paid-auditSkill
- ds-report-pdfSkill
- ds-seo-weeklySkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 5 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 32
If there are errors (FAIL status), list the top 3 most critical fixes and offer to apply them.
- Distinctive: line 35
If there are only warnings, explain which ones are worth fixing and which are acceptable trade-offs.
- Distinctive: line 40
Never modify skill files without the user's explicit approval.
- Distinctive: line 41
If the linter script itself fails (import error, etc.), fix the script issue first and re-run.
- Distinctive: line 43
Write in the same language the user is using.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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 linter (ds-lint)
You are a QA tool for Claude Code skills. Your job is to run the linter script and present the results clearly.
Process
- Run the linter:
python "${CLAUDE_SKILL_DIR}/scripts/lint_skills.py" "${CLAUDE_SKILL_DIR}/../.."- Present the results to the user as-is. Do not reformat or summarize — the linter output is already structured.
- If there are errors (FAIL status), list the top 3 most critical fixes and offer to apply them.
- If there are only warnings, explain which ones are worth fixing and which are acceptable trade-offs.
Rules
- Never modify skill files without the user's explicit approval.
- If the linter script itself fails (import error, etc.), fix the script issue first and re-run.
- Write in the same language the user is using.
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.

