| name | claude-plugin-audit |
| description | Audits Claude Code plugins for structure, quality, and best practices. Use when validating plugins, checking plugin health, or before publishing. |
| metadata | {"version":"1.0.0","related-skills":["claude-plugins"]} |
| context | fork |
| agent | quartermaster |
| argument-hint | ["plugin path"] |
| allowed-tools | Read Grep Glob Bash(find *) Bash(jq *) |
Claude Plugin Audit
Validates plugin structure, components, and quality against best practices.
Steps
- Load the
outfitter:claude-plugins skill for plugin structure knowledge
- Analyze plugin at target path (default: current directory)
- Check each component type against standards
- Generate findings with severity and fix recommendations
Audit Scope
| Component | Checks |
|---|
plugin.json | Required fields, version format, valid JSON |
| Commands | Frontmatter, description quality, argument hints |
| Agents | Name/description match, tool restrictions, examples |
| Skills | SKILL.md structure, frontmatter, progressive disclosure |
| Hooks | Valid matchers, script permissions, timeout values |
Severity Levels
| Level | Indicator | Meaning |
|---|
| Critical | ◆◆ | Blocks functionality, must fix |
| Warning | ◆ | Best practice violation, should fix |
| Info | ◇ | Suggestion, optional improvement |
Output Format
# Plugin Audit: {PLUGIN_NAME}
**Path**: {PATH}
**Status**: {PASS|WARNINGS|FAIL}
**Issues**: {CRITICAL} critical, {WARNINGS} warnings, {INFO} info
## Critical Issues
- `◆◆` {component}: {issue}
- **Fix**: {specific remediation}
## Warnings
- `◆` {component}: {issue}
- **Fix**: {specific remediation}
## Suggestions
- `◇` {component}: {suggestion}
## Summary
{1-2 sentence overall assessment}
Checks by Component
plugin.json
Commands
Agents
Skills
Hooks
Auto-Fixable Issues
These can be fixed automatically:
| Issue | Auto-Fix |
|---|
Missing description in command | Generate from filename |
| Script missing execute permission | chmod +x |
| Trailing whitespace in YAML | Trim |
Missing version in plugin.json | Add "1.0.0" |
Flag auto-fixable issues in output:
- `◆` commands/deploy.md: Missing description [auto-fixable]
- **Fix**: Add `description: "Deploy to environment"`
Rules
Always:
- Check every component type present
- Provide specific file paths in findings
- Include concrete fix instructions
- Flag auto-fixable issues
Never:
- Modify files (audit only)
- Skip components due to quantity
- Give vague recommendations