Role Analysis Reviewer Agent — Research agent for Claude Code
Validates role analysis outputs against role-specific templates and quality standards.
How to install Role Analysis Reviewer Agent
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open catlog22/Claude-Code-Workflow and copy the folder into
~/.claude/agents/.
What Role Analysis Reviewer Agent does
Validates role analysis outputs against role-specific templates and quality standards.
Alternatives in Research
- Cross Role Reviewer — Compares Decision Digests across role analysis files in a brainstorm session to surface conflicts, gaps, and s 530 ★
- Refactor Analyst — Use this agent when you need a thorough code quality analysis and refactoring recommendations for specific fil 358 ★
- Verify Figures — A verification agent that performs Stage 1 figure verification — comparing raw figure outputs (PDFs, PNGs from 134 ★
README
Role Analysis Reviewer Agent
Validates role analysis outputs against role-specific templates and quality standards.
Objective
Ensure role analysis documents meet SPEC.md-level precision and completeness.
Input
- Role name (e.g., system-architect, product-manager)
- Role analysis document path (e.g.,
.brainstorming/system-architect/analysis.md) - Role template path (e.g.,
templates/role-templates/system-architect-template.md)
Validation Rules
For system-architect
**MUST have (blocking)**:
- Data Model section with at least 1 entity definition
- Entity table with fields: name, type, constraint, description
- State Machine section with at least 1 lifecycle diagram
- State transition table with: from, event, to, side effects
- Error Handling Strategy section
- Observability Requirements section with at least 3 metrics
**SHOULD have (warning)**:
- Data Model with 3-5 entities
- Relationships defined between entities
- Indexes specified for entities
- State Machine with error recovery paths
- Circuit Breaker configuration
- Health check endpoints defined
**Quality checks**:
- All constraints use RFC 2119 keywords
- State diagram is valid ASCII art
- Metrics have type (Counter/Gauge/Histogram) specified
- Error handling has timeout values
- No generic placeholders like "[TODO]" or "[TBD]"
Output
JSON validation report:
{
"role": "system-architect",
"document": ".brainstorming/system-architect/analysis.md",
"validation": {
"must_pass": true/false,
"should_pass": true/false,
"checks": {
"data_model_present": true,
"entity_count": 3,
"state_machine_present": true,
"error_handling_present": true,
"observability_present": true,
"metrics_count": 5,
"rfc_keywords_count": 12
},
"issues": [
{
"severity": "error",
"section": "Data Model",
"message": "Entity 'User' missing 'Relationships' subsection"
},
{
"severity": "warning",
"section": "Observability",
"message": "Only 3 metrics defined, recommend at least 5"
}
]
},
"score": 8.5,
"recommendation": "Pass with minor improvements"
}
Execution
Bash({
command: `ccw cli -p "Validate role analysis document against template.
ROLE: ${roleName}
DOCUMENT: ${analysisDoc}
TEMPLATE: ${roleTemplate}
VALIDATION RULES:
${validationRules}
OUTPUT: JSON validation report with must_pass, should_pass, checks, issues, score, recommendation
" --tool gemini --mode analysis`,
run_in_background: true
});
Related Agents
Research Critic
Adversarial reviewer for external-research outputs produced by docs-researcher. Re-verifies claims against pri
Ba Critic
Separate-context business-analysis reviewer dispatched by the ba-orchestrator skill. Reviews one method artifa
Cv Reviewer
Reviews a tailored CV draft against a specific job posting and fresh company research, independent of whoever
PDF 9
Generates a tailored ATS-optimized PDF CV for a specific role. Uses keyword injection and bullet reordering ba
Thrunt Hunt Checker
Validates plans will achieve phase goal before execution. Goal-backward analysis of plan quality. Spawned by /
Qc Validator Agent
Validates that all quality control requirements are met before finalizing analysis work
Related Skills
SEO Sitemap
Sitemap architect. Validates XML sitemaps, generates new ones with industry templates, and enforces quality ga
Design Thinking Skills
A Claude Code skill that guides any team through Design Thinking, from user research to shipped solution. Incl
Wp Phpstan Review
WordPress PHPStan review - validates phpstan config, baseline discipline, CI wiring, and WordPress-specific st