Xpersona
P

plugin-review

CLAWHUB · Unverified

Review plugin quality with tiered checks and dependency scoping. Use for PR and pre-release audits

62
Rank
84
Safety
1.7k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.7K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17emme0e2m3cpf7k2jvp3a84984b8z9:nm-abstract-plugin-review
  1. Install using `clawhub skill install s17emme0e2m3cpf7k2jvp3a84984b8z9:nm-abstract-plugin-review` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/athola/nm-abstract-plugin-review before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-athola-nm-abstract-plugin-review/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

145,644 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: plugin-review
description: |
  Review plugin quality with tiered checks and dependency scoping. Use for PR and pre-release audits
version: 1.9.8
triggers:
  - review
  - quality
  - validation
  - testing
  - architecture
metadata: {"openclaw": {"homepage": "https://github.com/athola/claude-night-market/tree/master/plugins/abstract", "emoji": "\ud83e\udd9e", "requires": {"config": ["night-market.skills-eval", "night-market.hooks-eval", "night-market.rules-eval"]}}}
source: claude-night-market
source_plugin: abstract
---

> **Night Market Skill** — ported from [claude-night-market/abstract](https://github.com/athola/claude-night-market/tree/master/plugins/abstract). For the full experience with agents, hooks, and commands, install the Claude Code plugin.


# Plugin Review

Tiered quality review of plugins with dependency-aware scoping.

## Table of Contents

- [Tiers](#tiers)
- [Orchestration](#orchestration)
- [Scope Detection](#scope-detection)
- [Module Loading](#module-loading)
- [Verdict](#verdict)
- [Output Format](#output-format)
- [Quality Gate Mode](#quality-gate-mode)
- [Configuration](#configuration)

## 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 | All 17 plugins | Full | ~15 min |

## Orchestration

1. **Detect scope**: parse `--tier` flag, find affected
   plugins from git diff, resolve related plugins from
   `docs/plugin-dependencies.json`
2. **Plan**: build check matrix (tier x plugin x role)
3. **Execute**: run checks per tier definition
4. **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

- **Always**: this SKILL.md (orchestration logic)
- **branch tier**: load `modules/tier-branch.md`
- **pr tier**: load `modules/tier-branch.md` then
  `modules/tier-pr.md`
- **release tier**: load all tier modules plus
  `modules/tier-release.md`
- **When resolving deps**: load
  `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 fr

_meta.json

{
  "ownerId": "kn7d107jg9jv602h9ytsegydq184a42s",
  "slug": "nm-abstract-plugin-review",
  "version": "1.9.19",
  "publishedAt": 1787749432574
}

modules/dependency-detection.md

# Dependency Detection

How to resolve affected and related plugins for scoped
review.

## Affected Plugins

Detect from git diff against the base branch:

```bash
git diff main --name-only | \
  grep '^plugins/' | \
  sed 's|^plugins/\([^/]*\)/.*|\1|' | \
  sort -u
```

If no diff available (detached HEAD, no main branch),
fall back to all plugins.

## Related Plugins

Load `docs/plugin-dependencies.json` and for each affected
plugin, look up who depends on it:

1. Read the `dependencies` section to find the affected
   plugin
2. If `dependents` is `["*"]`, ALL other plugins are related
3. Otherwise, `dependents` lists the specific related plugins

Example: if `abstract` is affected and has
`dependents: ["*"]`, then all 16 other plugins are related.

If `leyline` is affected and has `dependents: ["conjure"]`,
then only conjure is related.

## Deduplication

A plugin that is both affected (has direct changes) AND
related (depends on another changed plugin) is treated as
affected. The "affected" role always wins.

## Special Cases

- **Root-level changes** (pyproject.toml, Makefile, scripts/):
  These affect the workspace, not individual plugins.
  At branch tier, skip. At pr/release tier, flag for
  manual review.

- **No plugins changed**: If the diff has no plugin changes,
  report "No plugin changes detected" and exit with PASS.

- **New plugin**: If a plugin directory exists on disk but
  is not in `plugin-dependencies.json`, flag it and suggest
  running `scripts/generate_dependency_map.py` to update.

modules/tier-branch.md

# Branch Tier Checks

The branch tier runs quick quality gates on affected and
related plugins. Designed for fast feedback during
development.

## Checks for Affected Plugins

Run these sequentially for each affected plugin:

### 1. Plugin Structure Validation

Run the plugin validator to check plugin.json schema,
skill/agent frontmatter, hook event types, and path
references against the official Claude Code spec:

```bash
python3 plugins/abstract/scripts/validate_plugin.py \
  plugins/<plugin>
```

If critical issues found, mark plugin as FAIL.
Warnings are non-blocking at branch tier.

### 2. Registration Audit

**Only available in night-market repo.** Check script exists first:

```bash
# Check if the script exists (night-market only)
if [[ -f "plugins/sanctum/scripts/update_plugin_registrations.py" ]]; then
  python3 plugins/sanctum/scripts/update_plugin_registrations.py \
    <plugin-name> --dry-run
else
  echo "Registration audit skipped - not running in night-market"
fi
```

Report any missing or stale registrations. If skipped, note in the
result table that registration audit is unavailable.

### 3. Test Gate

```bash
cd plugins/<plugin> && make test
```

Capture pass/fail and test count. If tests fail, mark
plugin as FAIL.

### 4. Lint Gate

```bash
cd plugins/<plugin> && make lint
```

Capture pass/fail. If lint fails, mark as WARNING (not
blocking at branch tier).

### 5. Typecheck Gate

```bash
cd plugins/<plugin> && make typecheck
```

Capture pass/fail. If typecheck fails, mark as WARNING.

### 6. Diff Analysis

Run `git diff main -- plugins/<plugin>/` to identify:
- New files (commands, skills, hooks, agents)
- Deleted files
- Modified production code vs test-only changes

Flag high-risk patterns:
- Hook changes (security surface)
- `__init__.py` export changes (API surface)
- pyproject.toml dependency changes

## Checks for Related Plugins

Run a lighter subset:

### 1. Registration Audit

Same as affected plugins.

### 2. Test Gate

```bash
cd plugins/<plugin> && make test
```

Tests must pass. This catches side-effect breakage from
dependency changes.

## Result Table

Build a table with columns: plugin, test, lint, type, reg,
verdict. Use `--` for skipped checks on related plugins.

## Verdict Rules

- Any test FAIL on affected or related: overall FAIL
- Any lint/type FAIL on affected: overall PASS-WITH-WARNINGS
- All green: PASS

modules/tier-pr.md

# PR Tier Checks

The PR tier adds quality scoring on top of branch tier
gates. Runs before merge.

## Additional Checks for Affected Plugins

After all branch tier checks pass, run these:

### 1. Skills Evaluation

Invoke `Skill(abstract:skills-eval)` for each affected
plugin. Capture:
- Per-skill quality scores
- Token efficiency ratings
- Compliance status

Report any skill scoring below 70 (MINIMUM_QUALITY_THRESHOLD).

### 2. Hooks Evaluation

If the plugin has hooks that changed in the diff:

Invoke `Skill(abstract:hooks-eval)` targeting only changed
hook files. Capture:
- Security findings
- Performance concerns
- Compliance status

### 3. Test Review

Invoke `Skill(pensive:test-review)` for each affected plugin.
Capture:
- Coverage percentage
- Anti-pattern findings
- Missing edge cases

### 4. Quick Bloat Scan

Invoke `Skill(conserve:bloat-detector)` at Tier 1 (quick) for
each affected plugin. Capture:
- Dead code candidates
- Duplicate content
- Stale files

### 5. Rules Evaluation

If `.claude/rules/` files changed in the diff:

Invoke `Skill(abstract:rules-eval)`. Capture:
- YAML validity
- Pattern specificity
- Content quality

## Parallel Execution

Group affected plugins into 2-3 clusters and dispatch
agents in parallel. Each agent runs the full PR check
suite on its assigned plugins.

## Scorecard Output

Add a scorecard section after the branch tier table:

```
Scorecard (PR tier)

Plugin          skills  hooks  tests  bloat  grade
sanctum         88/100  92/100 93%    90/100 A-
memory-palace   85/100  --     89%    82/100 B+

Top 5 Remediation Actions:
1. [sanctum] skills/commit-messages: missing trigger phrases
2. [memory-palace] hooks/research_interceptor.py: no timeout
...
```

## Verdict Rules

- Any branch-tier FAIL: overall FAIL
- Any skill score below 50: overall FAIL
- Any security finding (HIGH): overall FAIL
- All scores above 70: PASS
- Otherwise: PASS-WITH-WARNINGS with details

Sponsored

Ads related to plugin-review and adjacent AI workflows.