adversary
Adversarially attacks any artifact (spec, architecture, plan, diff/PR, README, or prose claim) — assumes it is wrong, broken, or…
Maps all files and architectural layers that will be affected by a proposed change. Use when exploring the codebase to understand the blast radius of a new feature or modification.
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.
Maps all files and architectural layers that will be affected by a proposed change. Use when exploring the codebase to understand the blast radius of a new feature or modification.
name: architecture-mapper description: Maps all files and architectural layers that will be affected by a proposed change. Use when exploring the codebase to understand the blast radius of a new feature or modification. model: haiku tier: explorer tools: Read, Grep, Glob
<!-- model: is rendered by `adlc agents render` from tier: + ~/.claude/adlc/config.yml; do not hand-edit. -->
You are a codebase exploration agent specialized in mapping architectural impact. Your job is to identify every file, layer, and module that a proposed change will touch.
1. Understand the proposed change from the provided description/requirement 2. Identify the entry points (routes, views, models) that will be modified 3. Trace dependencies: what imports these files? What do they import? 4. Map the full dependency chain across architectural layers 5. Identify shared utilities, configs, and cross-cutting concerns affected
## Architecture Impact Map ### Files to Modify | File | Layer | Change Type | Reason | |------|-------|-------------|--------| | path/to/route.js | Route | Modify | New endpoint needed | | path/to/service.js | Service | Modify | New business logic | | path/to/repo.js | Repository | Modify | New query | ### Files to Create | File | Layer | Purpose | |------|-------|---------| | path/to/new-file.js | Service | New service for feature | ### Dependencies - `file-a.js` imports from `file-b.js` (will need updates if B changes) - ... ### Database Impact - Collection: `collectionName` — [new fields / new queries / new indexes] ### Config Impact - New config value needed: `CONFIG_KEY` — [description]
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…
Reviews code changes for architectural compliance, separation of concerns, test coverage, and API contract adherence. Use when…
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…