Skip to content
Development
Command

/profile

Static analysis for backend performance anti-patterns (N+1 queries, sync I/O, memory leaks)

From plugin
ultraship
12416 skills13 agents16 commands3 hooks
+1
> /plugin marketplace add Houseofmvps/ultraship
> /plugin install ultraship@ultraship

Command definition

profile.md
description: Static analysis for backend performance anti-patterns (N+1 queries, sync I/O, memory leaks)

Run the code profiler on this project:

node ${CLAUDE_PLUGIN_ROOT}/tools/code-profiler.mjs <project-directory>

Report findings grouped by category: N+1 queries, synchronous I/O in handlers, unbounded database queries, missing indexes, memory leak patterns, sequential awaits, and error handling gaps. For each finding, show the file, line number, and specific fix recommendation.

If an LSP server is connected (check your tools for a language server), use `find references` on each flagged function to confirm how often the hot path is actually called and whether the anti-pattern is real before recommending a fix. A loop that looks like an N+1 but is called once at startup is not worth refactoring. The static profiler flags candidates; the LSP confirms impact.

@houseofmvps
Ships withultraship

"ULTRASHIP" Claude Code plugin — 39 skills, 33 tools, 11 agents for ship-ready workflows: planning, review, pentesting, safety guardrails, canary monitoring, SEO/AI-readiness check, penetration testing, code review, competitive analysis, incident response. 1 dependency. 180 tests. MIT.

12445 skills13 agents2 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
124
Star history of Houseofmvps/ultraship on GitHub, a chart by star-history.com

Other commands on ultraship.

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command