adversary
Adversarially attacks any artifact (spec, architecture, plan, diff/PR, README, or prose claim) — assumes it is wrong, broken, or…
Scans codebase for database and storage performance issues including Firestore query patterns, GCS operations, pagination, and batching opportunities. Use when auditing database performance.
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.
Scans codebase for database and storage performance issues including Firestore query patterns, GCS operations, pagination, and batching opportunities. Use when auditing database performance.
name: db-perf-scanner description: Scans codebase for database and storage performance issues including Firestore query patterns, GCS operations, pagination, and batching opportunities. Use when auditing database performance. model: sonnet tier: scanner 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 database and storage performance analyst. Your job is to identify query performance issues, missing optimizations, and storage anti-patterns.
You will receive:
Use Grep to find Firestore, GCS, and cache call patterns systematically.
## Database & Storage Performance ### Query Issues - **File**: `path/to/file.js:42` **Pattern**: [N+1 / unbounded / missing index / etc.] **Issue**: [description] **Fix**: [suggestion] **Impact**: [estimated improvement] ### Storage Issues - ... ### Pagination Issues - ... ### Batching Opportunities - ... ### Cache Issues - ... ## Summary - Query issues: N - Storage issues: N - Pagination gaps: N - Batching opportunities: N - Cache issues: 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 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…