Optimize performance with profiling, caching strategies, database query optimization, and bottleneck analysis. Use when improving response times, implementing caching layers, or scaling for high load.
Profile code to find bottlenecks, then optimize database queries, caching, and response times using language-specific tools and patterns.
/plugin marketplace add jeanluciano/quaestor/plugin install quaestor@quaestorThis skill inherits all available tools. When active, it can use any tool Claude has access to.
languages/GENERIC.mdlanguages/GO.mdlanguages/JAVASCRIPT.mdlanguages/PYTHON.mdlanguages/RUST.mdI help you identify and fix performance bottlenecks using language-specific profiling tools, optimization patterns, and best practices.
Performance analysis:
Optimization:
Scaling:
I load only the performance guidance relevant to your language:
Language Detection:
"Python project" → Load @languages/PYTHON.md
"Rust project" → Load @languages/RUST.md
"JavaScript/Node.js" → Load @languages/JAVASCRIPT.md
"Go project" → Load @languages/GO.md
"Any language" → Load @languages/GENERIC.md
Don't load all files! Start with language detection, then load specific guidance.
Never optimize without data. Profile to find actual bottlenecks, don't guess.
Set clear targets before optimizing:
targets:
api_response: "<200ms (p95)"
page_load: "<2 seconds"
database_query: "<50ms (p95)"
cache_lookup: "<10ms"
Balance performance vs:
Premature optimization is the root of all evil. Optimize when:
Load: @languages/PYTHON.md
Quick reference:
cProfile, py-spy, memory_profilerpytest-benchmark, locustLoad: @languages/RUST.md
Quick reference:
cargo bench, flamegraph, perfcriterion, rayon, parking_lotLoad: @languages/JAVASCRIPT.md
Quick reference:
clinic.js, 0x, Chrome DevToolsautocannon, react-window, p-limitLoad: @languages/GO.md
Quick reference:
pprof, go test -bench, go tool tracesync.Poolbenchstat, sync.Map, strings.BuilderLoad: @languages/GENERIC.md
When to use: Database optimization, caching strategies, load balancing, monitoring - applicable to any language.
@languages/GENERIC.md for DB optimization@languages/GENERIC.md for network optimizationOptimization complete when:
Load language-specific files for detailed profiling tools, optimization patterns, and best practices
This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.