Plugin review

From athola/claude-night-market · View interactive version

Plugin review is an AI agent skill from the GitHub repository athola/claude-night-market. Review plugin quality with tiered checks and dependency scoping. Use for PR and pre-release audits.

How to use this skill

Skill file

Plugin Review

Overview

Tiered quality review of plugins with dependency-aware scoping.

When NOT To Use

abstract:skill-graph-audit)

Tiers

| Tier | Trigger | Scope | Depth | Duration |

|------|---------|-------|-------|----------|

| branch | Default | Affected and related | Quick gates | ~2 min |

| pr | Before merge | Affected and related | Standard | ~5 min |

| release | Before version bump | Every plugin | Full | ~15 min |

Orchestration

  1. Detect scope: parse --tier flag, find affected

plugins from git diff, resolve related plugins from

docs/plugin-dependencies.json

  1. Plan: build check matrix (tier x plugin x role)
  2. Execute: run checks per tier definition
  3. Report: per-plugin table, aggregate verdict

Scope Detection

Affected plugins: git diff main --name-only filtered to

plugins/*/.

Related plugins: load docs/plugin-dependencies.json,

look up each affected plugin's reverse index to find

dependents. Mark as "related" (lighter checks).

If --tier release or no git diff available, scope to

all plugins.

Module Loading

modules/tier-pr.md

modules/tier-release.md

modules/dependency-detection.md

Verdict

| Result | Meaning |

|--------|---------|

| PASS | All checks green |

| PASS-WITH-WARNINGS | Non-blocking issues |

| FAIL | Blocking issues found |

Output Format

Plugin Review (<tier> tier)
Affected: <list>
Related:  <list> (<reason>)

Plugin          test  lint  type  reg   verdict
<name>          PASS  PASS  PASS  PASS  PASS
...

Verdict: <PASS|PASS-WITH-WARNINGS|FAIL> (N/N plugins healthy)

PR and release tiers add scorecard sections.

Quality Gate Mode

The --quality-gate flag enables CI/CD integration with

exit codes that distinguish warnings from failures:

Use --fail-on warning to treat warnings as blocking.

Configuration

Place a .plugin-review.yaml file in the plugin root

to customize thresholds and focus areas:

plugin_review:
  quality_gates:
    structure_min: 80
    skills_min: 75
    hooks_min: 70
    tokens_max_total: 50000
    bloat_max_percentage: 15
  focus_areas:
    - skills
    - hooks
    - tokens
  exclude_patterns:
    - "*/legacy/*"
    - "*/deprecated/*"
  severity_overrides:
    missing_description: warning
    large_file: info

See the /plugin-review command reference for full

usage examples.

Exit Criteria

an aggregate PASS / PASS-WITH-WARNINGS / FAIL verdict.

plugins/*/; if git diff is unavailable, the skill falls back to all-plugin scope and

states this explicitly.

threshold is listed as a FAIL, not a warning.

non-blocking warnings, distinguishable by the calling CI step.

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.