Get the FREE Ultimate OpenClaw Setup Guide →

specialist-review

Scanned
npx machina-cli add skill codenamev/ai-software-architect/specialist-review --openclaw
Files (1)
SKILL.md
7.1 KB

Specialist Review

Conducts focused reviews from a specific specialist's perspective.

Overview

This skill performs a deep-dive review from one specialist's expertise:

  1. Parses which specialist and what target to review
  2. Loads or creates the specialist in the team
  3. Analyzes the target from that specialist's unique lens
  4. Conducts expert-level review with specific findings
  5. Generates detailed review document
  6. Reports key findings and recommendations

Specialist guidance: references/specialist-perspectives.md Review template: assets/specialist-review-template.md

High-Level Workflow

1. Parse Request

Extract from user request:

  • Specialist role: Which expert? (e.g., "Security Specialist", "Performance Expert")
  • Target: What to review? (e.g., "API authentication", "database queries")

Input validation: Apply sanitization from _patterns.md:

  • Specialist role: Alphanumeric + spaces/hyphens only, convert to kebab-case for filename
  • Target: Remove dangerous characters, convert to kebab-case
  • Combined filename length: max 100 characters

Examples:

  • "Security Specialist" + "API authentication" → security-specialist-api-authentication.md
  • "Ruby Expert" + "ActiveRecord models" → ruby-expert-activerecord-models.md

2. Load or Create Specialist

Check .architecture/members.yml for the requested specialist.

If exists: Load their profile (specialties, disciplines, domains, perspective)

If doesn't exist: Create new member and add to members.yml:

- id: [specialist_id]
  name: "[Person Name]"
  title: "[Specialist Title]"
  specialties: ["[Specialty 1]", "[Specialty 2]", "[Specialty 3]"]
  disciplines: ["[Discipline 1]", "[Discipline 2]"]
  skillsets: ["[Skill 1]", "[Skill 2]"]
  domains: ["[Domain 1]", "[Domain 2]"]
  perspective: "[Their unique viewpoint]"

Inform user: "I've added [Name] ([Title]) to your architecture team."

Specialist guidance: See references/specialist-perspectives.md § Creating New Specialists

3. Analyze Target

Use available tools to examine the target:

  • Glob to find relevant files
  • Grep to search for patterns
  • Read to examine code, configs, documentation

Understand:

  • Current implementation
  • Dependencies and context
  • Related ADRs or documentation
  • Patterns being used

4. Conduct Expert Review

Adopt the specialist's persona and expertise. Apply their unique lens.

Review from specialist's perspective:

  • Focus on their domain of expertise (security, performance, maintainability, etc.)
  • Provide expert-level insights, not surface-level comments
  • Reference specific files, line numbers, and code
  • Explain impact and provide actionable fixes

Review structure (for each specialist):

  • Specialist perspective and focus
  • Executive summary with assessment
  • Current implementation description
  • Strengths identified
  • Concerns with severity and specific fixes
  • Recommendations (immediate, short-term, long-term)
  • Best practices and industry standards
  • Code examples showing issues and improvements
  • Risks if not addressed
  • Success metrics

Detailed guidance by specialist: references/specialist-perspectives.md § Core Specialists

Review template: Load and fill assets/specialist-review-template.md

5. Create Review Document

Load the template:

cat .claude/skills/specialist-review/assets/specialist-review-template.md

Fill in all sections with detailed, specific findings.

Save to: .architecture/reviews/[specialist-role]-[target].md

Format: [role-kebab-case]-[target-kebab-case].md

6. Report to User

Provide concise summary:

[Specialist Title] Review Complete: [Target]

Reviewer: [Specialist Name]
Location: .architecture/reviews/[filename].md
Assessment: [Overall assessment]

Key Findings:
1. [Most important finding]
2. [Second finding]
3. [Third finding]

Priority Actions:
1. [Critical action 1]
2. [Critical action 2]

Critical Issues: [Count]
High Priority: [Count]
Total Recommendations: [Count]

Next Steps:
- Address critical issues immediately
- Review detailed findings in document
- [Specific next action based on findings]

Specialist Quick Reference

Core Specialists (see references/specialist-perspectives.md):

  • Security Specialist: Authentication, authorization, vulnerabilities, OWASP
  • Performance Specialist: Query optimization, caching, bottlenecks, scalability
  • Domain Expert: Business logic, domain models, ubiquitous language
  • Maintainability Expert: Code quality, technical debt, testability
  • Systems Architect: Architecture patterns, component interaction, coherence
  • AI Engineer: LLM integration, agent orchestration, evaluation

Technology Specialists:

  • JavaScript/Python/Ruby/Go/Rust Expert: Language-specific best practices
  • Framework Specialists: React, Rails, Django, Spring, etc.

Creating new specialists: Automatically added to team when requested

Related Skills

Before Specialist Review:

  • list-members - See available specialists
  • architecture-status - Check if area previously reviewed

After Specialist Review:

  • create-adr - Document decisions from findings
  • architecture-review - Include in comprehensive review
  • Request another specialist for different domain perspective

Workflow Examples:

  1. Security review → Finds auth issue → Create ADR → Performance review
  2. Ruby Expert review → Rails-specific guidance → Implement → Follow-up review
  3. Full architecture review → Deep-dive with specialists on concerns

Quality Guidelines

Excellent specialist reviews:

  • Stay laser-focused within domain
  • Provide expert-level, not generic, insights
  • Reference exact files and line numbers
  • Include code examples (current vs recommended)
  • Explain "why", not just "what"
  • Consider context and constraints
  • Provide actionable, implementable advice
  • Estimate effort for each recommendation

Avoid:

  • Straying outside specialist's domain
  • Vague or surface-level comments
  • Missing specific locations
  • Recommendations without implementation guidance

Documentation

Source

git clone https://github.com/codenamev/ai-software-architect/blob/main/.claude/skills/specialist-review/SKILL.mdView on GitHub

Overview

Specialist Review performs a deep-dive assessment from one expert's perspective (e.g., Security Specialist, Performance Expert). It parses the requested specialist and target, loads or creates the specialist in the team, analyzes the target through the specialist's lens, and outputs a detailed review document with findings and actionable recommendations.

How This Skill Works

1) Parse the user request to extract the specialist role and target. 2) Load an existing specialist profile or create a new one, then prepare the review context. 3) Analyze the target using the specialist's perspective with Read, Glob, and Grep to gather evidence, then produce an expert-level review document with findings, risks, and fixes.

When to Use It

  • Ask [specialist role] to review [target]
  • Get [specialist]'s opinion on [topic]
  • Have [role] review [code/component]
  • When you want deep expertise in ONE specific domain rather than multiple perspectives
  • Not suitable for comprehensive multi-perspective reviews (use architecture-review instead)

Quick Start

  1. Step 1: Parse the user request to identify the specialist role and the target to review
  2. Step 2: Load or create the specialist profile, then prepare the analysis context
  3. Step 3: Analyze the target with Read/Glob/Grep and generate a structured review document

Best Practices

  • Clearly specify the specialist role and the exact target to review
  • Sanitize and normalize inputs (kebab-case for filenames, safe target strings)
  • Provide concrete scope, context, and any known dependencies
  • Reference relevant files or code sections with specific observations
  • Leverage the specialist perspectives guidance and the review template to structure insights

Example Use Cases

  • Ask Security Specialist to review API authentication flow and token validation
  • Request Performance Expert's opinion on database query performance and indexing
  • Have Ruby Expert review ActiveRecord models and ORM usage patterns
  • Have Frontend Specialist review the client-side caching and state management
  • Generate a focused specialist review document for compliance and logging controls

Frequently Asked Questions

Add this skill to your agents
Sponsor this space

Reach thousands of developers