Skip to content
Development
Command

/reviews-code

Run automated code quality, security, and performance analysis on your code

BOOST
From plugin
maister
2526 skills25 agents6 commands1 MCP
Install
> /plugin marketplace add SkillPanel/maister
> /plugin install maister@maister-plugins

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/reviews-code

Context preview

What this command does when you run it.

Run automated code quality, security, and performance analysis on your code

Command definition

reviews-code.md
name: reviews-code
description: Run automated code quality, security, and performance analysis on your code

**ACTION REQUIRED**: This command delegates to a subagent. The `<command-name>` tag refers to THIS command, not the target. Invoke the code-reviewer subagent via the Task tool NOW. Pass path and scope arguments. Do not read files, explore code, or execute workflow steps yourself.

You are running a comprehensive code review using the `code-reviewer` subagent.

Your Task

You are performing automated code analysis to identify quality, security, and performance issues.

Parse User Request

**Determine the following from the user's request:**

1. **Path to analyze**:

  • If provided: Use the specified path
  • If not provided: Use ask_user to ask what to analyze

2. **Analysis scope**:

  • If `--scope=quality`: Only code quality analysis
  • If `--scope=security`: Only security analysis
  • If `--scope=performance`: Only performance analysis
  • If `--scope=all` or no scope: Complete analysis (recommended)

Your Instructions

**Invoke the code-reviewer subagent NOW using the Task tool:**

Use Task tool:
  subagent_type: "maister-code-reviewer"
  description: "Code quality review"
  prompt: |
    Analyze code at: [path from user or from ask_user]
    Scope: [quality|security|performance|all]
    Report path: [path]/code-review-report.md

**Wait for the subagent to complete before proceeding.**

The code-reviewer subagent will: 1. Analyze code for complexity, duplication, and code smells 2. Detect security vulnerabilities and hardcoded secrets 3. Identify performance issues (N+1 queries, missing indexes, caching opportunities) 4. Generate comprehensive report with findings categorized by severity 5. Provide actionable recommendations with code examples

Examples

**Example 1**: Review specific task

User: /maister-reviews-code .maister/tasks/development/2025-10-24-auth/

**Example 2**: Review with specific scope

User: /maister-reviews-code src/api/ --scope=security

**Example 3**: Review entire project

User: /maister-reviews-code src/

What to Expect

The code-reviewer will provide:

  • Summary of issues found (critical, warnings, info)
  • Detailed findings with file locations and line numbers
  • Code examples showing issues and fixes
  • Metrics on code quality, security, and performance
  • Prioritized recommendations
  • Go/no-go assessment for code review

Notes

  • This is analysis only - no code will be modified
  • Focus on actionable findings
  • Severity levels guide prioritization:
  • **Critical**: Must fix before production
  • **Warning**: Should fix before merge
  • **Info**: Nice to have improvements
Read more
Ships withmaister

Structured, standards-aware development workflows for Claude Code Describe what you want to build, and the plugin handles the rest - from specification through implementation to verification - while enforcing your project's coding standards at every step.

Get the whole plugin

Other commands on maister.

work
Command

work

Unified entry point — auto-classifies tasks and routes to appropriate workflow. ALWAYS execute when invoked via slash command.

@skillpanel@skillpanelInstall Command