Deep codebase quality audit with automated fixes. Runs the code-steward agent for line-by-line source code review, produces a findings document, then orchestrates parallel subagents to implement all fixes. Tests are reviewed separately after source changes land.
From provenpx claudepluginhub mjmorales/claude-prove --plugin proveThis skill uses the workspace's default tool permissions.
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Analyzes BMad project state from catalog CSV, configs, artifacts, and query to recommend next skills or answer questions. Useful for help requests, 'what next', or starting BMad.
Audit every source file for clarity, extensibility, and agent-workflow debt. Clean breaks -- rename, restructure, delete. Test files excluded from all phases (source first, tests adapt separately).
CLAUDE.md for conventions, .claude/.prove.json for validators/scopes (do not guess commands)..prove/TASK_PLAN.md or .prove/plans/ for task context.$ARGUMENTS if provided, otherwise full codebase.Multi-round pipeline producing findings.md + fix-plan.md with progressive compression and risk-targeted depth.
python3 $PLUGIN_DIR/tools/pcd/__main__.py --project-root "$PROJECT_ROOT" map [--scope <scope from Phase 0>]
Produces .prove/steward/pcd/structural-map.json (file metadata, dependency edges, clusters).
Launch pcd-annotator agent:
Annotate
.prove/steward/pcd/structural-map.jsonwith semantic labels and module-purpose descriptions per cluster. Write back to the same file.
For each cluster in the structural map, launch pcd-triager (run_in_background: true):
Triage files: [file list]. Context: [cluster metadata, dependency edges]. Write triage cards to
.prove/steward/pcd/triage-batch-{cluster_id}.json.
Merge all batches into .prove/steward/pcd/triage-manifest.json:
{
"version": 1,
"stats": { "files_reviewed": N, "high_risk": N, "medium_risk": N, "low_risk": N, "total_questions": N },
"cards": [... all cards ...],
"question_index": [... all questions ...]
}
python3 $PLUGIN_DIR/tools/pcd/__main__.py --project-root "$PROJECT_ROOT" collapse
Compresses low-risk cards into .prove/steward/pcd/collapsed-manifest.json.
python3 $PLUGIN_DIR/tools/pcd/__main__.py --project-root "$PROJECT_ROOT" batch
For each batch in batch-definitions.json, launch pcd-reviewer (run_in_background: true):
Review batch {batch_id}. Files: [list]. Triage context: [cards]. Routed questions: [present each question before the file it references]. Cluster context: [metadata]. Write findings to
.prove/steward/pcd/findings-batch-{batch_id}.json.
Launch pcd-synthesizer:
Synthesize artifacts in
.prove/steward/pcd/: structural-map.json, collapsed-manifest.json, findings-batch-*.json. Do not read source files directly. Produce:.prove/steward/findings.md(standard format) and.prove/steward/fix-plan.md(parallelizable work packages).
If any critical PCD round fails, fall back to single-pass code-steward agent in document-only mode. Log failure in .prove/steward/pcd/pipeline-status.json.
Skip if PCD produced findings.md and fix-plan.md.
Create .prove/steward/findings.md:
# Code Steward Audit Findings
**Date**: [today] **Scope**: [scope] **Files reviewed**: [count]
## Critical Issues
[numbered, file:line references]
## Structural Refactors
[numbered, before/after]
## Naming & Readability
## Code Hygiene
## Performance
## Systemic Recommendations
Create .prove/steward/fix-plan.md grouping findings into independent, parallelizable work packages (name, files, finding numbers, changes).
Present findings summary (counts by category) and fix plan (packages with dependency annotations).
AskUserQuestion options: "Approve all" / "Cherry-pick" / "Abort"
Spawn code-steward agents per approved work package. Include only what the agent cannot infer from its own definition:
Launch independent packages simultaneously; serialize only packages with overlapping files. Update .prove/steward/fix-plan.md as agents complete.
Run .claude/.prove.json validators (lint, then tests).
Scan for parallel-agent conflicts (duplicate edits, import collisions).
On test failures, append remediation table to findings:
| Test file | Failure | Source change that caused it |
|---|
Generate .prove/reports/steward/report.md (changes summary, remediation table, remaining recommendations).
Present summary. Flag broken tests as follow-up -- do not fix tests in this workflow.
.prove/steward/, reports in .prove/reports/steward/.