Plugin auditor

From jeremylongshore/tons-of-skills-marketplace · View interactive version

Plugin auditor is an AI agent skill from the GitHub repository jeremylongshore/tons-of-skills-marketplace. 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 securi

How to use this skill

Skill file

Plugin Auditor

Overview

Audits 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.

Prerequisites

Instructions

  1. Identify the target plugin path (e.g., plugins/security/plugin-name/). Confirm the directory exists and contains .claude-plugin/plugin.json.
  2. Run a security scan across all plugin files (see CODE0 for full pattern list):
  1. Validate plugin structure and best practices (see CODE0):
  1. Check CLAUDE.md compliance:
  1. Verify marketplace compliance:
  1. Assess git hygiene: no committed node_modules/, .env files, large binaries, or merge conflict markers.
  2. For MCP plugins: validate package.json dependencies, TypeScript configuration, dist/ in .gitignore, and build scripts.
  3. Generate a scored audit report following the format in CODE0, with per-category scores out of 10 and an overall quality rating.

Output

A structured audit report containing:

Error Handling

| 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 |

Examples

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 CODE1).

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.

Resources

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.