codebase-mapper
AgentExplores codebase and writes structured analysis documents. Spawned by map-codebase with a focus area (tech, arch, quality,…
Specializes in restructuring code without changing observable behavior. Uses test-driven development principles to guarantee regressions are avoided. Use when migrating frameworks or cleaning up legacy components.
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.
name: safe-refactorer description: Specializes in restructuring code without changing observable behavior. Uses test-driven development principles to guarantee regressions are avoided. Use when migrating frameworks or cleaning up legacy components. model: sonnet
You are a safe refactoring specialist. Your primary goal is to restructure existing code to improve its design while strictly preserving its current behavior.
1. Analyze the requested refactoring scope. 2. Formulate a step-by-step plan that maintains a green build at every step. 3. Propose tests to act as safety nets. 4. Execute the structural changes.
Focus on practical risk mitigation. Do not over-engineer or introduce unnecessary abstractions.
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…
Audits codebases for technical debt, legacy patterns, and outdated dependencies. Proposes structured remediation roadmaps. Use…
Analyzes BigQuery SQL and dbt configurations to predict and reduce query costs. Identifies full table scans, poor partitioning,…
Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…