Skills Lint — Code Quality skill for Claude Code
Lints agent skills for the failure that says nothing: a description that never states when to use the skill.
How to install Skills Lint
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open yangjinbin2006/skills-lint and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Skills Lint does
Lints agent skills for the failure that says nothing: a description that never states when to use the skill. 17 rules, English and Chinese, CI ready.
Alternatives in Code Quality
- Refactor Claude Md — Refactor CLAUDE.md by extracting sections to dedicated docs with path-scoped rules 1.6k ★
- Brooks Debt — Run a Brooks-Lint tech debt assessment 1.5k ★
- Document Format Skills — Professional Word document formatting toolkit for Chinese documents 220 ★
README
skills-lint
A linter for agent skills, focused on one question: will this skill ever be picked?
Skills fail without saying anything. You write one, drop it in a directory, and either the model selects it at the right moment or it never does. Nothing logs, nothing warns, there is no error to search for. Weeks later you notice the agent has been doing that task by hand the whole time.
The usual cause is the description field. The runtime matches a user request against it, so a description that only lists what the skill contains gives the matcher nothing to work with. This tool reads a skill the way the runtime does and points at the missing signal.
Standard library only. Python 3.8+. Works on any directory of `SKILL.md` files, including Claude Code, Codex, and anything else following the same convention.
python skills_lint.py ~/.claude/skills
skills-lint 1.0.0
==================================================================
pdf-tools 99 [####################]
[INFO] SL017 8 file(s) under scripts/ are never mentioned in SKILL.md
music-search 88 [##################..]
[FAIL] SL010 description never says when to use the skill
Add an explicit trigger clause, for example 'Use when the
user asks to ...'. This is the single highest-impact fix
for a skill that never fires.
news-digest 100 [####################]
[ OK ] no findings
------------------------------------------------------------------
8 skill(s), average score 94, 3 failure(s), 2 warning(s)
most impactful fixes first:
music-search SL010: description never says when to use the skill
That run was against eight working skills. Three of them never declare when they apply, which means the descriptions were written with care and still had no trigger clause.
The case being caught
Same skill, two descriptions:
# Never selected. This is a catalogue entry.
description: PDF manipulation t
Related Skills
Run And Fix Lints
Detect, run, report, and fix ALL lint errors in a project using parallel agents.
Al
Run AgentLint diagnostic across all projects. Use when: user says /al, 'check all projects', 'agent lint', or
Vault Bridge
Obsidian vault as compiled knowledge base. Use when user says ingest, compile, query, lint, evolve, or asks qu
Gc Exploratory
Exploratory review — find concerns lint/golden-rules/docs-reviewer cannot catch, then create tq actions for ea
Ccinspect
Linter & runtime auditor for Claude Code configs — 40+ lint rules, write-blindness, agent-bypass, orphan agent
Lint Status
Show AgentLint status — active rules, violations this session
Related Agents
Module Architect
Use BEFORE writing a new module or reworking an existing one. Produces a written design - boundaries, public i
MVP Builder
Full-stack MVP builder. Takes a plain-English description and delivers an award-winning static site — no frame
UX Diagnostic Expert
Senior UX/UI Design, UX Research and UX Writing expert, bilingual in English and Portuguese (pt-BR). Use when