adversary
AgentAdversarially attacks any artifact (spec, architecture, plan, diff/PR, README, or prose claim) — assumes it is wrong, broken, or…
Audits codebase for technical debt, dead code, complexity, duplication, and maintenance issues. Use when performing a codebase health audit focused on code quality.
Claude Code
> /plugin marketplace add atelier-fashion/adlc-toolkit> /plugin install adlc@adlc-toolkit
Cursor
Cursor also loads subagents from .claude/agents, so copy this file there to use it in Cursor.
name: code-quality-auditor description: Audits codebase for technical debt, dead code, complexity, duplication, and maintenance issues. Use when performing a codebase health audit focused on code quality. 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 a code quality auditor. Your job is to identify technical debt, dead code, and maintainability issues across a codebase.
You will receive:
Scan systematically — use Grep to find patterns, then Read to verify.
## Code Quality Findings ### Dead Code - **File**: `path/to/file.js` — [description of dead code] ### Duplication - **Files**: `path/a.js:42` and `path/b.js:78` — [description of duplicated logic] ### Complexity - **File**: `path/to/file.js:functionName` — [why it's complex, estimated cyclomatic complexity] ### Inconsistencies - **Pattern**: [what's inconsistent] — found in `file1.js`, `file2.js` ### Maintenance Markers - **File**: `path/to/file.js:15` — `TODO: [the marker text]` ## Summary - Dead code items: N - Duplication clusters: N - High-complexity functions: N - Inconsistencies: N - Maintenance markers: N
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…
Reviews code changes for architectural compliance, separation of concerns, test coverage, and API contract adherence. Use when…
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…
Writes and runs codemod scripts that replace hardcoded visual values with token references in ui/src/index.css. Use for Phase 2…
Complete migration plan for converting command-based system to intelligent agent-based system
Accessibility standards and assistive features — remapping, text scaling, colorblind modes, screen reader support.