Performs a deep review of the Claude Code plugin, skill, or sub-agent defined in the current project against official best practices. Documents findings as GitHub issues and writes a prioritised fix plan to the project CLAUDE.md. Use when the user says audit this plugin, review this skill, check this agent, or audit addon.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-workflow-skills:audit-pluginThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Project: !`basename $(git rev-parse --show-toplevel 2>/dev/null) 2>/dev/null || basename $PWD`
Project: !basename $(git rev-parse --show-toplevel 2>/dev/null) 2>/dev/null || basename $PWD
Branch: !git branch --show-current 2>/dev/null || echo "unknown"
Reviews the Claude Code addon in the current project (plugin, skill, sub-agent, or a combination) against official Claude Code best practices. Generates actionable GitHub issues and a prioritised fix plan.
gh auth status 2>&1 || { echo "ERROR: gh is not authenticated. Run: gh auth login"; exit 1; }
Scan for known Claude Code addon files:
find . -not -path './.git/*' \( \
-name 'plugin.json' -path '*/.claude-plugin/*' \
-o -name 'SKILL.md' -path '*/skills/*' \
-o -name '*.md' -path '*/agents/*' \
\) 2>/dev/null
Read each file found. Build a mental model of:
.claude-plugin/plugin.json) — name, version, declared agents/skillsskills/<name>/SKILL.md) — frontmatter fields, body structure, tool declarationsagents/<name>.md) — frontmatter fields, description examples, tool restrictionsUse WebFetch to retrieve up-to-date guidance from these known URLs:
https://code.claude.com/docs/en/skillshttps://code.claude.com/docs/en/agentshttps://code.claude.com/docs/en/pluginsIf any URL returns an error, use WebSearch to find the current equivalent under code.claude.com.
Summarise the key quality criteria from each source.
For plugin.json, check:
name, version, description, author, licenseminVersion set to a current compatible valuedescription is concise and accurateFor each SKILL.md, check:
description is a single unbroken line under 1,536 characters (combined with when_to_use)allowed-tools is set and follows least-privilege (only tools the skill actually needs)!`command`) are used where live context would helpFor each agent .md, check:
description is a quoted single-line string with proper <example> blocks for auto-delegationmodel, color, maxTurns, memory, tools and initialPrompt fields are present where appropriatetools list follows least-privilegeFor each distinct finding, create a GitHub issue:
gh issue create \
--title "<type>: <brief description>" \
--body "$(cat <<'EOF'
## Finding
<description of the problem>
## Expected
<what best practice requires>
## Current
<what the file actually has>
## Suggested fix
<concrete change to make>
EOF
)" \
--label "enhancement"
Group closely related findings into a single issue where it makes sense.
Use --label "bug" for broken or non-compliant fields, --label "enhancement" for improvements.
Note the issue numbers as you go.
Append or update a section in the project CLAUDE.md under the heading
## Audit Findings — <today's date>:
## Audit Findings — YYYY-MM-DD
Issues generated from `/audit-plugin` review. Suggested fix order:
### Group 1 — Correctness (fix first)
- #N: <title>
- #N: <title>
### Group 2 — Best-Practice Compliance
- #N: <title>
- #N: <title>
### Group 3 — Quality Improvements
- #N: <title>
- #N: <title>
Order groups by: correctness blockers first, then compliance, then polish.
Output a brief summary:
npx claudepluginhub ali5ter/claude-plugins --plugin claude-workflow-skillsCreates bite-sized, testable implementation plans from specs or requirements, with file structure and task decomposition. Activates before coding multi-step tasks.