/claudelint:validate-skills [flags]from claudelint
Validates Claude Code skills for schema compliance, naming conventions, allowed-tools, file references, directory organization, and shell script security. Use when a skill won't load, has tool permission errors, or triggers dangerous command warnings.
Ships in claudelint. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Runs claudelint validate-skills to validate Claude Code skill directories.
claudelint validate-skills $ARGUMENTS
--path <path> - Custom path to skills directory--skill <name> - Validate specific skill--verbose - Show detailed output--warnings-as-errors - Treat warnings as errorsUser says: "I see my skill /deploy-app in the menu but when I run it, Claude says it can't find it" What happens:
deploy-app/ but SKILL.md has name: deployAppname: deploy-appResult: Skill executes correctly after fixing name mismatch
User says: "My skill script.sh needs to run bash commands but Claude says 'Tool Bash not allowed'" What happens:
allowed-tools: ["bash", "read"]allowed-tools: ["Bash", "Read"]Result: Claude can now execute bash commands in the skill
User says: "Pre-commit hook is failing on my cleanup skill with 'dangerous command detected: rm -rf'" What happens:
rm -rf $TEMP_DIR$TEMP_DIR could be empty or / (dangerous)[[ -n "$TEMP_DIR" && "$TEMP_DIR" != "/" ]] && rm -rf "$TEMP_DIR"Result: Skill now validates paths before deletion, commit succeeds
Validate all skills:
claudelint validate-skills
Validate specific skill:
claudelint validate-skills --skill my-skill
name field must match directory namedescription must be present0 - No errors or warnings1 - Warnings found2 - Errors foundFor troubleshooting, see common issues. For customization, see configuration.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
9 skills in this plugin
/format-ccFormats Claude Code files with markdownlint, prettier, and shellcheck. Use when user asks to "format my files", "fix markdown formatting", "clean up CLAUDE.md", or "check shell scripts". Auto-fixes markdown, JSON, YAML formatting and analyzes shell script quality./optimize-cc-mdInteractively helps users optimize their CLAUDE.md files. Use when user asks to "optimize my CLAUDE.md", "my CLAUDE.md is too long", "improve organization", or "split my CLAUDE.md". Runs validation, explains issues conversationally, and helps create @import files to reduce size and improve structure./validate-allRuns comprehensive claudelint validation on all Claude Code project files. Use when user asks to "check everything", "run all validators", "full audit", "validate my entire project", or "what's wrong with my config". Validates CLAUDE.md, skills, settings, hooks, MCP servers, and plugin manifests.npx claudepluginhub pdugan20/claudelint --plugin claudelintOther plugins' skills for the same job