| name | prompt-reviewer |
| description | Internal reviewer agent. Validates a completed prompt folder against metadata.json and models registry. Checks consistency, completeness, and production-readiness. Not user-invocable — triggered automatically by the prompt-creator after convergence completes.
|
| user-invocable | false |
Prompt Reviewer
Validate a completed prompt folder for production-readiness. This skill runs automatically after convergence — do not wait for user input.
Input
Read the prompt folder at the path provided. The folder contains:
prompt.<format> — the prompt file
metadata.json — scores, model, techniques, config
tests.json — regression test cases
report.pdf — generated audit report
Validation Checks
Execute ALL checks. Report results as PASS/FAIL with details.
1. File Completeness
2. Metadata Consistency
Read metadata.json and verify:
3. Prompt-Metadata Alignment
4. Score Validation
Run self-eval on the prompt and compare with metadata scores:
python ${CLAUDE_PLUGIN_ROOT}/../../shared/scripts/self-eval.py <prompt-file>
5. Registry Cross-Reference
Read the model entry from ${CLAUDE_PLUGIN_ROOT}/../../shared/models-registry.json:
Output
Report in this format:
REVIEW: <prompt-name>
PASS File completeness (4/4 files)
PASS Metadata consistency (7/7 checks)
FAIL Prompt-metadata alignment: format is .md but model prefers XML
PASS Score validation (within tolerance)
PASS Registry cross-reference (4/4 checks)
VERDICT: PASS (4/5 checks) — 1 issue found
ACTION: Convert prompt format from Markdown to XML for Claude target model
If all checks pass: VERDICT: APPROVED — prompt is production-ready
If any FAIL: list the specific fixes needed. The convergence engine or main agent should apply them.