Skip to content

Chemaclass/satscribe / .claude/skills/review

review

Verified

Review changes for architecture violations, clean code, and security

FileKindSize
SKILL.mdskill md1.4 KB
---
description: Review changes for architecture violations, clean code, and security
argument-hint: "[staged | branch | path]"
allowed-tools: "Read, Glob, Grep, Bash(git diff:*), Bash(git log:*), Task"
---

# Code Review

## Context

!`git status --short`
!`git diff --stat`
!`git diff --cached --stat`

## Scope

- `staged` → `git diff --cached`
- `branch` → `git diff main...HEAD`
- a path → read the file directly
- empty → whichever of staged / unstaged / branch diff has content

## Instructions

Delegate to the **`clean-code-reviewer`** agent with the scope above. It holds the review criteria and reads `.claude/rules/*` itself — do not restate the criteria here.

For a diff touching **module boundaries** (a new module, a moved class, a cross-module import, a changed Facade signature), also delegate to **`hexagonal-architect`** and merge both reports.

## Before reporting

Verify each finding against the actual file — a diff hunk lacks the surrounding context that decides whether something is really wrong. Drop anything you cannot confirm.

## Output

Merge into one list, most severe first:

```
**[SEVERITY]** file:line — Category
What's wrong. What to do instead.
```

**CRITICAL** (security, data loss, broken behavior) · **MAJOR** (architecture violation, real smell) · **MINOR** · **SUGGESTION**

End with: verdict (**approve** / **request changes**), counts by severity, and the top items to fix first.
rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 194kUpdated Claude CodeCodexVerifiedInstall