davalst

Architecture Adversary — Design agent for Claude Code

Design community

Fresh-context, refute-framed DESIGN-quality review of a proposed fix (a §0 plan or a diff).

How to install Architecture Adversary

Installs to ~/.claude/agents/davalst-tdd-playbook-architecture-adversary.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/davalst/tdd-playbook/HEAD/.claude/agents/architecture-adversary.md -o ~/.claude/agents/davalst-tdd-playbook-architecture-adversary.md

Restart Claude Code, or start a new session, for it to be picked up.

What Architecture Adversary does


name: architecture-adversary description: Fresh-context, refute-framed DESIGN-quality review of a proposed fix (a §0 plan or a diff). Hunts BAND-AID / spaghetti fixes — patched at the wrong seam, Nth-copy duplication, special-case creep, reuse misses, layering violations, gate-by-proxy, knob sprawl — that make the symptom go away instead of fixing the root. The design counterpart to integration-adversary — a fix can be fully wired, claim-true, and green yet still be architectural debt. Use a

Alternatives in Design

  • Modularization Analyst — Read-only seam analysis and split design for oversized or mixed-concern files anywhere in the repo 73 ★
  • Swift Refactorer — Behavior-preserving Swift cleanups — extracting subviews, introducing protocol seams, replacing literals with 33 ★
  • Morty Design Common Case — Pickle Rick interface-design Morty (common-case axis) 31 ★

Full documentation available on GitHub

View Source Repository