Audit automatically audits AI assistant code plugins for security vulnerabilities, best practices, AI assistant.md compliance, and quality standards when user mentions audit plugin, security review, or best practices check. specific to AI assistant-code-plugins repositor... Use when assessing security or running audits. Trigger with phrases like 'security scan', 'audit', or 'vulnerability'.
79
76%
Does it follow best practices?
Impact
Pending
No eval scenarios have been run
Passed
No known issues
Optimize this skill with Tessl
npx tessl skill review --optimize ./plugins/examples/jeremy-plugin-tool/skills/plugin-auditor/SKILL.mdAudits Claude Code plugins for security vulnerabilities, best practices compliance, CLAUDE.md standards adherence, and marketplace readiness. Produces a scored audit report covering eight categories: security, best practices, CLAUDE.md compliance, marketplace compliance, git hygiene, MCP-specific checks, performance, and UX.
.claude-plugin/marketplace.extended.jsonjq installed for JSON schema validationgrep and find available on PATH for pattern scanning.claude-plugin/plugin.json, README.md, LICENSE, component directories)plugins/security/plugin-name/). Confirm the directory exists and contains .claude-plugin/plugin.json.${CLAUDE_SKILL_DIR}/references/audit-categories.md for full pattern list):
AKIA...), and private key headers.rm -rf /, eval(), exec()) and command injection vectors.${CLAUDE_SKILL_DIR}/references/audit-process.md):
plugin.json, README.md, LICENSE.plugin.json..sh scripts have execute permissions.TODO/TODO comments without linked issues and console.log() in production code.plugin.json contains only allowed fields (name, version, description, author, repository, homepage, license, keywords).${CLAUDE_PLUGIN_ROOT} instead of hardcoded paths.marketplace.extended.json with matching name, version, category, and source path.node_modules/, .env files, large binaries, or merge conflict markers.package.json dependencies, TypeScript configuration, dist/ in .gitignore, and build scripts.${CLAUDE_SKILL_DIR}/references/audit-report-format.md, with per-category scores out of 10 and an overall quality rating.A structured audit report containing:
| Error | Cause | Solution |
|---|---|---|
| Plugin directory not found | Incorrect path or plugin does not exist | Verify the path matches plugins/[category]/[name]/ structure |
plugin.json missing or invalid | File absent or malformed JSON | Create from template or fix JSON syntax with jq empty .claude-plugin/plugin.json |
| Marketplace entry missing | Plugin not yet added to catalog | Add entry to marketplace.extended.json and run pnpm run sync-marketplace |
| Version mismatch detected | plugin.json and marketplace.extended.json carry different versions | Update the stale file to match the authoritative version |
| Permission denied during scan | Restricted file access | Request read permissions on the plugin directory tree |
Full audit before publishing:
Trigger: "Audit the security-scanner plugin."
Process: Run all eight audit categories against plugins/security/security-scanner/. Generate a comprehensive report with per-category scores. Report overall rating and prioritized fix list (see ${CLAUDE_SKILL_DIR}/references/examples.md).
Publish readiness check: Trigger: "Is this plugin safe to publish?" Process: Prioritize security audit (critical), then marketplace compliance and quality scoring. Produce a publish readiness assessment with pass/fail verdict.
Featured status review: Trigger: "Quality review before featured status." Process: Run full audit with elevated quality thresholds. Apply featured plugin requirements (higher documentation and test coverage standards). Recommend approve or reject.
${CLAUDE_SKILL_DIR}/references/audit-categories.md -- all eight audit categories with specific checks${CLAUDE_SKILL_DIR}/references/audit-process.md -- step-by-step audit execution procedures${CLAUDE_SKILL_DIR}/references/audit-report-format.md -- report template with scoring rubric${CLAUDE_SKILL_DIR}/references/examples.md -- audit scenario walkthroughs${CLAUDE_SKILL_DIR}/references/errors.md -- error handling patternsc8a915c
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.