Suggest Performance Fix
Suggests code changes to improve performance based on identified bottlenecks and optimization opportunities.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add suggest-performance-fix npx -- -y @trustedskills/suggest-performance-fix
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"suggest-performance-fix": {
"command": "npx",
"args": [
"-y",
"@trustedskills/suggest-performance-fix"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill analyzes code snippets and suggests performance improvements. It identifies potential bottlenecks, inefficient algorithms, or areas where optimization could lead to faster execution times. The suggestions are tailored to improve the overall efficiency of the provided code.
When to use it
- You have a slow-running script that needs to be optimized for speed.
- You're working with computationally intensive tasks and want to reduce processing time.
- You’re unsure how to best optimize a specific section of your code base.
- You need help identifying inefficient algorithms or data structures within existing code.
Key capabilities
- Code analysis for performance bottlenecks
- Suggestion of optimization techniques
- Identification of inefficient algorithms
- Tailored recommendations for faster execution
Example prompts
- "Analyze this Python script and suggest ways to improve its performance: [code snippet]"
- "I have a slow JavaScript function. Can you identify any areas for optimization? [function code]"
- "Suggest improvements for the efficiency of this SQL query: [SQL query]"
Tips & gotchas
The skill's effectiveness depends on providing clear and complete code snippets. It is best suited for relatively small, self-contained pieces of code rather than entire projects.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.