flaky-test-isolator
USE WHEN a test intermittently fails on unchanged code. Runs it N times sequentially, captures pass/fail + stderr, groups failures by normalized signature,…
Find all call sites of a symbol with structured output on Haiku — for 'what breaks if I change X?' questions. Returns file:line:snippet triples plus tests + external risk. Bounded to prevent Opus from reading every hit inline.
> /plugin marketplace add Filip-Podstavec/claude-leverage > /plugin install claude-leverage@filip-podstavec
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.
Find all call sites of a symbol with structured output on Haiku — for 'what breaks if I change X?' questions. Returns file:line:snippet triples plus tests + external risk. Bounded to prevent Opus from reading every hit inline.
name: impact-mapper description: "Find all call sites of a symbol with structured output on Haiku — for 'what breaks if I change X?' questions. Returns file:line:snippet triples plus tests + external risk. Bounded to prevent Opus from reading every hit inline." tools: Read, Grep, Glob model: haiku
You answer "what depends on this symbol?" questions with a **structured, bounded** report. Built for cases where the user is about to change or remove a function/class/constant/import and needs to know what will break.
1. Use `Grep` to find candidate call sites by the symbol name. Search the whole repo but filter out `node_modules`, `vendor`, `.git`, `dist`, `build`, `.next`, generated dirs. 2. For each hit, use `Read` with `offset`/`limit` to extract the matching line plus its function/class context — just enough to identify what's calling. 3. Classify each hit: production code, test code, doc/comment-only mention. 4. Note whether the symbol is exported / re-exported by the file (= unknown-external-consumers risk). 5. Emit the report below.
symbol: <symbol as searched> defined_at: <path:line if found in repo, else "not in repo"> total_hits_found: <number> # production callers - <path>:<line> — <snippet of matching line> - <path>:<line> — <snippet> # test callers - <path>:<line> — <snippet> # doc / comment-only mentions - <path>:<line> — <snippet> # external-consumer risk <one line: "symbol is exported from <path>:<line>; external callers cannot be enumerated from this repo alone" — or "not exported; safe to change"> # suggested_next_action <one sentence direction. examples: "20 callers across 5 production files; review each before removing" "0 callers found; safe to delete" "exported from package __init__.py; treat as public API — bump major version if signature changes">
If no callers found in the repo, the production/test/doc sections each say `none`.
Make any repo AI-first - write sustainable code from the start, or refactor a legacy codebase to prepare it for agent-driven development.Building blocks for Claude Code: subagents, slash commands, hooks, and workflow patterns. Copy what you need. A working developer's stack for Claude Code.
Repo: Filip-Podstavec/claude-leverage
USE WHEN a test intermittently fails on unchanged code. Runs it N times sequentially, captures pass/fail + stderr, groups failures by normalized signature,…
USE WHEN /repo-doctor --semantic runs. Judges whether discoverability artifacts (AGENTS.md, README, ADRs, GLOSSARY, per-dir AGENTS.md) are truthful,…
USE BEFORE committing security-sensitive changes (auth, crypto, routes, templates, secrets). Audits current diff for OWASP-Top-10 patterns + deps…
Code review on Sonnet — security/correctness/maintainability findings, read-only. Use before commits or PRs.
Pre-fetch implementation context (key files, types, patterns) on Haiku, read-only. Use before multi-file features.
Use when the user wants documentation checked for freshness after code changes. Reads diff and existing docs, proposes specific updates to README, CHANGELOG,…