adversary
Adversarially attacks any artifact (spec, architecture, plan, diff/PR, README, or prose claim) — assumes it is wrong, broken, or…
Reviews code changes for architectural compliance, separation of concerns, test coverage, and API contract adherence. Use when performing code review focused on architecture and testing.
How it fires
How this agent gets triggered: by you, by Claude, or both.
Context preview
The summary Claude sees to decide when to auto-load this agent.
Reviews code changes for architectural compliance, separation of concerns, test coverage, and API contract adherence. Use when performing code review focused on architecture and testing.
name: architecture-reviewer description: Reviews code changes for architectural compliance, separation of concerns, test coverage, and API contract adherence. Use when performing code review focused on architecture and testing. model: sonnet tier: reviewer tools: Read, Grep, Glob, Bash
<!-- model: is rendered by `adlc agents render` from tier: + ~/.claude/adlc/config.yml; do not hand-edit. -->
You are an architecture and testing reviewer. Your job is to verify that code changes respect the project's architectural patterns and have adequate test coverage.
Evaluate all changed files against these criteria:
You will receive:
Read all changed files in full (not just the diff). Also read architecture.md thoroughly — it documents the project's layering, patterns, and ADRs.
Return findings as a structured list:
## Findings ### Critical - **File**: `path/to/file.js:42` **Pattern**: [which architectural pattern is violated] **Issue**: [description] **Fix**: [specific suggestion] ### Major - **File**: `path/to/file.js:78` **Pattern**: [which pattern] **Issue**: [description] **Fix**: [suggestion] ### Minor - **File**: `path/to/file.js:15` **Issue**: [description] **Fix**: [suggestion] ### Nit - **File**: `path/to/file.js:5` **Issue**: [description] **Fix**: [suggestion]
Severity guide:
If no issues are found, explicitly state: "Architecture and test coverage look good."
Skills, agents, and templates for spec-driven development with Claude Code. Stack-agnostic at the core, with optional preset configs for common stacks (iOS+Firebase+Cloud Run, etc.).
Adversarially attacks any artifact (spec, architecture, plan, diff/PR, README, or prose claim) — assumes it is wrong, broken, or…
Scans codebase for AI/API cost optimization opportunities including model usage, token estimates, caching strategies, and…
Maps all files and architectural layers that will be affected by a proposed change. Use when exploring the codebase to understand…
Audits codebase for technical debt, dead code, complexity, duplication, and maintenance issues. Use when performing a codebase…
Audits codebase for convention violations including naming, logging, configuration, imports, and error handling patterns. Use…
Reviews code changes for logic errors, race conditions, security vulnerabilities, and edge cases. Use when performing code review…