agent-skill-linter

Use when publishing an agent skill to GitHub or checking an existing skill for spec compliance and readiness. Triggers on: SKILL.md frontmatter violations, missing LICENSE, missing README badges, no CI workflow, incomplete installation or usage docs.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "agent-skill-linter" with this command: npx skills add {owner}/{repo}

Agent Skill Linter

A linter that checks agent skills for spec compliance and publishing readiness.

What it checks

  1. SKILL.md spec compliance — delegates to skills-ref for frontmatter validation
  2. LICENSE — exists, Apache-2.0 or MIT, current year
  3. Authormetadata.author in SKILL.md frontmatter
  4. README badges — CI, license, Agent Skills badges
  5. CI workflow.github/workflows/ has at least one YAML workflow
  6. Installation section — README has install instructions with npx skills and agent directory table
  7. Usage section — README has usage examples with starter prompts
  8. Content dedup — flags heavy overlap between README.md and SKILL.md
  9. Body length — SKILL.md body under 500 lines
  10. Directory structure — flags non-standard directories
  11. CSO description — description starts with "Use when..." (triggering conditions, not workflow summary)
  12. CSO name — name is action-oriented (gerund preferred over noun forms)

Running

skill-lint check ./my-skill          # Lint a skill directory
skill-lint check ./my-skill --fix    # Auto-fix fixable issues
skill-lint check ./my-skill --format json  # JSON output for CI

Exit code 1 on errors, 0 otherwise.

Templates

Installation section (for README.md)

When fixing a missing or incomplete Installation section, use this template (replace {owner}/{repo} with the actual GitHub slug):

## Installation

### Recommended: `npx skills`

```bash
npx skills add {owner}/{repo}
```

### Manual installation

Copy the skill directory to your agent's skill folder:

| Agent | Directory |
|-------|-----------|
| Claude Code | `~/.claude/skills/` |
| Cursor | `.cursor/skills/` |
| Gemini CLI | `.gemini/skills/` |
| Amp | `.amp/skills/` |
| Roo Code | `.roo/skills/` |
| Copilot | `.github/skills/` |

### As a CLI tool

```bash
uv tool install git+https://github.com/{owner}/{repo}
```

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

common-code-reviewer

No summary provided by upstream source.

Repository SourceNeeds Review
General

canonicalizing-urls

No summary provided by upstream source.

Repository SourceNeeds Review
General

epub-chinese-cleaner

No summary provided by upstream source.

Repository SourceNeeds Review
General

pre-publish-checklist

No summary provided by upstream source.

Repository SourceNeeds Review