Skip to main content
Run any Skill in Manus
with one click

hotspot-optimizer

Stars3
Forks0
UpdatedJune 25, 2026 at 09:49

Find algorithmic complexity and performance hotspots across a codebase, then optimize them safely behind tests without changing behavior. Use when asked to scan for slow code, inefficient or nested loops, repeated scans, costly re-renders or recomputation, N+1 queries, avoidable quadratic work, or to reduce complexity while preserving tests, APIs, ordering, and outputs; or when a request mentions performance hotspots, hot paths, render churn, "this is slow", or "optimize for speed". Fans out across files with Task subagents, ranks findings by impact, proves current behavior with focused tests, applies localized edits, and re-runs the narrow test plus broad type, lint, and build to verify. Defaults to an analysis-only report unless you ask to implement, fix, apply, or refactor.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
5 files
SKILL.md
readonly