linting
Skill2 starsChanged 6 months agoMITView on GitHub
Style and structure linting rules for agent documentation
3 other projects use a version of this.
Adopted by
Most recently taken up by
- parisneto/anticharontheir own version, first seen Sep 26, 2026
- int2t05/engineering-skillstheir own version, first seen Aug 13, 2026
- jiatastic/open-python-skillstheir own version, first seen Jan 25, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- jiatastic/open-python-skills★ 9same name
- int2t05/engineering-skills★ 3same name
- parisneto/anticharon★ 2same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository7 other files it gives its agents.
- AGENTS.mdAGENTS.md
- changelog-generationSkill
- documentation-refreshSkill
- examplesSkill
- release-prepSkill
- scaffoldingSkill
- schema-validationSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 4 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
4
Distinctive
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
- Distinctive: line 25
User intent: Check an AGENTS.md file for style and quality issues
- Very specific: line 80
All 18 rules run. Findings with autoFixable: true (trailing-whitespace, no-code-language, table-format, heading-missing) include fix …
- Distinctive: line 139
Never log file content — only report issues with line numbers
- Distinctive: line 140
Don't include file content in error messages or traces
- Distinctive: line 145
Read-only access for linting (no write without explicit consent)
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Linting
Capability
Applies style, content, and best-practice linting rules to AGENTS.md and SKILL.md files to ensure quality, consistency, and adherence to community standards. Ships with 18 built-in rules across three categories, plus an extensible rule registry and auto-fix engine.
MCP Tools
| Tool | Input Schema | Output | Rate Limit |
lint_agents_md | z.object({ filePath: z.string().optional(), content: z.string().optional(), severity: z.enum(['error','warning','info','suggestion']).optional() }) | { path: string, findings: Finding[], errorCount: number, warningCount: number, infoCount: number, fixableCount: number } | 60 RPM |
Usage Examples
Example 1: Lint a single file
- User intent: Check an AGENTS.md file for style and quality issues
- Tool call:
{ "name": "lint_agents_md", "arguments": { "filePath": "./agents/my-agent/AGENTS.md", "severity": "warning" } } - Expected response:
{ "errorCount": 0, "warningCount": 3, "infoCount": 2, "findings": [ { "ruleId": "heading-order", "severity": "warning", "message": "Heading level skipped from h2 to h4", "line": 23 }, { "ruleId": "no-code-language", "severity": "warning", "message": "Code block missing language identifier", "line": 45 }, { "ruleId": "trailing-whitespace", "severity": "info", "message": "Trailing whitespace detected", "line": 12 } ] }
Example 2: Lint with auto-fix via CLI
- User intent: Automatically fix all fixable linting issues
- Tool call:
{ "name": "lint_agents_md", "arguments": { "filePath": "./agents/my-agent/AGENTS.md", "severity": "suggestion" } } Expected response:
All 18 rules run. Findings with
autoFixable: true(trailing-whitespace, no-code-language, table-format, heading-missing) include fix payloads. Apply fixes via the CLIformat --fixcommand or therunAutoFixlibrary function.
Lint Rules Reference
Style Rules
| Rule ID | Severity | Auto-fix | Description |
heading-order | warning | No | Heading levels must not be skipped |
no-code-language | warning | Yes | Code blocks should specify a language |
trailing-whitespace | info | Yes | Lines must not have trailing whitespace |
line-too-long | info | No | Lines must not exceed 120 characters |
table-format | warning | Yes | Table rows must have consistent column counts |
list-format | warning | No | List markers must be consistent |
Content Rules
| Rule ID | Severity | Auto-fix | Description |
heading-missing | error | Yes | Required section headings must be present |
empty-section | warning | No | Sections must contain content |
placeholder-text | warning | No | No TODO/FIXME placeholders |
duplicate-section | error | No | Section titles must be unique |
broken-skill-ref | error | No | Referenced skill files must exist |
duplicate-skill-id | error | No | Skill IDs must be unique |
section-ordering | warning | No | Sections should follow recommended order |
min-content-length | warning | No | Sections should have minimum content |
Best Practice Rules
| Rule ID | Severity | Auto-fix | Description |
missing-pii-mention | warning | No | Security section should mention PII |
missing-observability | warning | No | Observability section should mention structured logging |
incomplete-examples | warning | No | Usage examples should include error cases |
missing-mcp-schema | warning | No | MCP tools should document input schemas |
missing-confidence | error | No | Agent config must include confidence_threshold |
Error Handling
Known Failure Modes
| Failure | Cause | Recovery |
| File not found | Path doesn't exist | Return error with suggestion to check path |
| Permission denied | No read access | Return error suggesting permission fix |
| Parse error | Invalid markdown | Return error with line number |
| Too many files | Directory has 1000+ files | Suggest using filters or patterns |
Recovery Strategies
- Permission issues: Suggest running with appropriate permissions
- Parse errors: Show the problematic section with context
- Large directories: Suggest using file patterns to scope the lint run
Security Considerations
PII Handling
- Never log file content — only report issues with line numbers
- Don't include file content in error messages or traces
- Redact file paths that might contain sensitive information
Permissions
- Read-only access for linting (no write without explicit consent)
- Auto-fix via
format --fixcommand with explicit user consent - Dry-run mode available via
--dry-runflag
Audit Logging
- Log all lint operations with file paths and result counts
- Include request_id for tracing
- Track lint duration and rules executed
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.

