adversary
AgentAdversarially attacks any artifact (spec, architecture, plan, diff/PR, README, or prose claim) — assumes it is wrong, broken, or…
Scans codebase for request latency issues including sequential async operations, payload sizes, middleware overhead, and cold start impact. Use when auditing request performance.
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: latency-scanner description: Scans codebase for request latency issues including sequential async operations, payload sizes, middleware overhead, and cold start impact. Use when auditing request 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 request latency analyst. Your job is to identify performance bottlenecks that increase response times and reduce throughput.
You will receive:
Trace request paths from route handler through services to identify the full latency chain.
## Latency Analysis ### Performance Hotspots | Endpoint/Path | Est. Latency | Bottleneck | Quick Win? | |---------------|-------------|------------|------------| | POST /api/... | ~2s | Sequential AI calls | Yes | | GET /api/... | ~500ms | Full document fetch | Yes | ### Sequential Operations (parallelizable) - **File**: `path/to/file.js:42-55` **Current**: 3 sequential awaits (~1.5s total) **Proposed**: `Promise.all()` (~500ms) **Savings**: ~1s per request ### Payload Optimization - **Endpoint**: `GET /api/...` **Issue**: [description] **Fix**: [suggestion] ### Middleware Issues - ... ### Cold Start - ... ## Summary Estimated total latency reduction: ~Xs across N endpoints Top 3 quick wins: ...
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…
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.