claudegoodies
Command

plugin-audit

From alirezarezvani

Run the full 8-phase plugin audit pipeline on a skill directory.

Install

/plugin-audit

Facts

Status
Actively maintained
Last commit

Source preview

The instructions Claude Code reads when this command runs.

Run the comprehensive plugin audit pipeline on the skill at `$ARGUMENTS`. If no argument provided, ask the user for the skill path.

Execute all 8 phases sequentially. Auto-fix non-critical issues. Only prompt the user for critical decisions (external dependencies, security findings, breaking changes).

## Phase 1: Discovery

1. Verify `$ARGUMENTS` exists and contains `SKILL.md`. If not, error and stop.
2. Read `SKILL.md` frontmatter — extract `name`, `description`, `Category`, `Tier`.
3. Detect components:
   - `scripts/*.py` → Python tools (count them)
   - `references/*.md` → reference docs (count them)
   - `assets/` → templates/samples
   - `expected_outputs/` → test fixtures
   - `agents/*.md` → embedded agents
   - `skills/*/SKILL.md` → sub-skills (compound skill)
   - `.claude-plugin/plugin.json` → standalone plugin
   - `settings.json` → command registrations
4. Detect domain from path (`engineering/`, `product-team/`, `marketing-skill/`, etc.)
5. Search `commands/` for a `.md` file matching the skill name.
6. Display discovery summary.

## Phase 2: Structure Validation

Run:
```bash
python3 engineering/skill-tester/scripts/skill_validator.py $ARGUMENTS --json
```

Parse JSON. If score < 75:
- Auto-fix missing frontmatter fields, missing section headings, missing directories.
- Re-run. If still < 75, mark as FAIL but continue collecting results.

## Phase 3: Quality Sc
View full source on GitHub →

Other slash commands