Lint an Agent Skill repository
lint_skillValidate Agent Skill repository metadata before publishing: check SKILL.md frontmatter, subagent definitions, mirror file drift, and doc paths to fix issues causing skills or subagents not to be invoked.
Instructions
Validate the metadata of an Agent Skill repository rather than Swift source: SKILL.md frontmatter (required keys, kebab-case name, semver version, description length limits), subagent definitions in .claude/agents/ (name matches filename, unknown tool names, and read-only agents that are nonetheless granted Edit or Write), whether generated mirror files such as CLAUDE.md and AGENTS.md have drifted from SKILL.md, and backtick-quoted doc paths that do not resolve. Use when authoring or reviewing a skill, before publishing a release, or when a subagent or skill is not being invoked as expected.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the skill repository root (the folder containing SKILL.md). |