Back to all rules / Format and vendor rules
name-format
Skill name is not lowercase letters, digits and single hyphens.
Source: Claude API docs: Agent Skills overview (platform.claude.com), read 14 October 2026.
On GitHub: the rule doc and the tests.
Jump to another rule89
Severity: error; a warning for non-ASCII lowercase letters; a note for a plugin prefix before the folder name.
What it catches#
Skill name is not lowercase letters, digits and single hyphens.
A skill name with uppercase letters, spaces, underscores, dots, or a hyphen at the start, end or doubled. The Agent Skills spec allows lowercase letters, digits and single hyphens. Lowercase letters outside ASCII (such as é) are a warning rather than an error: the spec accepts them, the Claude API and claude.ai do not. The message suggests a valid name when it can.
Why it matters#
The Claude API and claude.ai accept only a-z, 0-9 and hyphens. The Agent Skills spec also allows lowercase Unicode letters, which is reported as a warning. A plugin prefix (name: my-plugin:review in a folder named review) is a form Claude Code documents for plugin skills, so it is a note.
Bad example#
---
name: PDF_Processing
description: Extract text and tables from PDF files. Use when working with PDFs or forms.
---
skills-ref validate rejects this, and an upload to the Claude API or claude.ai fails. Claude Code loads it, so the author does not notice until the skill is shared.
Good example#
---
name: pdf-processing
description: Extract text and tables from PDF files. Use when working with PDFs or forms.
---
How to fix#
Use the name from the message (pdf-processing for PDF_Processing) and rename the folder to match. Lowercase everything, replace spaces, underscores and dots with one hyphen, and trim hyphens from the ends.
asitis can propose this edit. asitis lint --fix-preview prints a unified diff that git apply accepts, and the suggest_fixes MCP tool returns the same diff; nothing is written to disk by either. The fix for this rule needs review before you apply it, because it changes or removes content.
Suppress or configure#
For one finding, put a comment on the line above it. The reason after -- is optional but worth writing:
<!-- asitis-disable-next-line name-format -- why this one is fine -->
For a whole file:
<!-- asitis-disable-file name-format -- why this file is an exception -->
For every file, turn it off or change its severity in .asitisrc.json:
{ "rules": { "name-format": "off" } }
A .asitisrc.json overrides entry limits a change to some paths, and a baseline (asitis lint --format json --write-baseline) accepts today's findings so only new ones fail the build.
Source#
Claude API docs: Agent Skills overview, read on 14 October 2026.
See what an agent changed in your CLAUDE.md. Keep or revert each change.
The linter is free and needs no signup. I'm also building a desktop editor for the markdown your agents write and read. It shows what an agent changed since you last looked, lets you keep or revert each change, and never touches a line you didn't edit. No release date yet. One email to confirm, one when the paid beta opens, one when 1.0 ships. $29 once for a founding licence, with 24 months of updates.
Or add the linter to CI, no email needed.
Your address is stored with Cloudflare, which hosts this site. No IP address is kept. See the privacy policy.
Related guides
Run the rule
- In your browser, on one file
- In Claude Code, on the project
- In CI, on every pull request
This page is generated from the plugin's rule registry. Edit it on GitHub. False positive? Open an issue with the line it fired on.