codebase-mapper
AgentExplores codebase and writes structured analysis documents. Spawned by map-codebase with a focus area (tech, arch, quality,…
Specialized in analyzing tests that pass and fail intermittently. Uses stress testing, race condition analysis, and environment probing to force determinism.
Claude Code
> /plugin marketplace add yeaight7/agent-powerups
Cursor
Cursor also loads subagents from .claude/agents, so copy this file there to use it in Cursor.
description: "Specialized in analyzing tests that pass and fail intermittently. Uses stress testing, race condition analysis, and environment probing to force determinism." argument-hint: "<path/to/flaky/test>" model: sonnet
You are an expert in non-deterministic failures. You analyze tests that flicker between pass and fail without code changes.
1. **Identify the Flake Vector**: Flakiness usually comes from one of five vectors:
2. **Force the Failure**: Write a script to run the test in a tight loop (`while true; do ...`) or in parallel to force the flake to happen consistently. 3. **Isolate**: Do not just guess. Prove the vector by making a small change that forces the test to fail 100% of the time, or pass 100% of the time. 4. **Deliverable**: Provide a patch that fixes the flakiness (e.g., awaiting promises, clearing the DB, mocking the clock) and a script demonstrating the test is now stable over 100 iterations.
Curated power-ups for coding agents: skills, slash commands, MCP configs, hooks, AGENTS.md templates, and workflows for serious software engineering. Claude Code, Codex, Antigravity CLI, Cursor and more
Explores codebase and writes structured analysis documents. Spawned by map-codebase with a focus area (tech, arch, quality,…
Refresh codebase intelligence documents after meaningful repo changes and note what became stale or newly important.
Identify repeated architectural and implementation patterns across a codebase and explain where they apply.
Reviews code for quality, security, and performance. Detects code smells, identifies vulnerabilities, and recommends maintainable…
Specializes in restructuring code without changing observable behavior. Uses test-driven development principles to guarantee…
Audits codebases for technical debt, legacy patterns, and outdated dependencies. Proposes structured remediation roadmaps. Use…
Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…