Severity: error Fixable: No
Checks that every script or file path referenced via ${CLAUDE_SKILL_DIR}/ or ${SKILL_DIR}/ variables inside a SKILL.md file resolves to an existing file on disk. Broken references cause the skill to fail at runtime when the AI agent attempts to invoke the script.
This rule also silently rejects two unsafe reference patterns for security:
- Absolute paths (starting with
/) — rejected to prevent escaping the plugin directory. - Path traversal sequences (containing
..) — rejected to prevent accessing files outside the skill directory.
---
name: my-skill
description: Runs a deployment script
---
To deploy, run `${CLAUDE_SKILL_DIR}/scripts/deploy.sh`.(where scripts/deploy.sh does not exist relative to the SKILL.md file)
---
name: my-skill
description: Runs a deployment script
---
To deploy, run `${CLAUDE_SKILL_DIR}/scripts/deploy.sh`.(where scripts/deploy.sh exists alongside the SKILL.md file)
Either create the missing script at the referenced path relative to the SKILL.md file, update the reference to point to the correct existing file, or remove the broken reference from the skill body entirely.
| Variable | Meaning |
|---|---|
${CLAUDE_SKILL_DIR}/ |
Directory containing the SKILL.md file (Claude Code convention) |
${SKILL_DIR}/ |
Alias for the same directory (portable convention) |
- plugin/missing-manifest — validates that
.claude-plugin/plugin.jsonexists - plugin/required-fields — validates that
plugin.jsoncontains all required fields - Creating a plugin — how to scaffold a new plugin with the correct directory layout
- Using
aipm lint— CLI reference for running the lint system