Sql Performance Review
Helps with performance optimization, code review as part of working with databases and data persistence workflows.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add sql-performance-review npx -- -y @trustedskills/sql-performance-review
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"sql-performance-review": {
"command": "npx",
"args": [
"-y",
"@trustedskills/sql-performance-review"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill analyzes SQL queries and provides recommendations for performance improvements. It identifies potential bottlenecks, suggests indexing strategies, and offers alternative query structures to optimize execution time. The tool aims to help users understand why their SQL queries are slow and how to make them faster.
When to use it
- You're experiencing slow response times from database queries in an application.
- A developer needs assistance optimizing a complex SQL query for better efficiency.
- Database administrators want to proactively identify and address performance issues before they impact users.
- You are troubleshooting a specific report or dashboard that takes too long to generate.
Key capabilities
- SQL Query Analysis
- Performance Bottleneck Identification
- Indexing Recommendations
- Query Structure Optimization Suggestions
Example prompts
- "Can you review this SQL query and suggest ways to improve its performance:
SELECT * FROM orders WHERE customer_id = 123;?" - "I'm getting slow response times from a report. Analyze the following query and tell me what’s causing the issue: [Paste Query Here]"
- "What indexes would you recommend for this table schema: [Describe Table Schema]?"
Tips & gotchas
To get the most accurate results, provide the AI agent with as much context as possible about your database schema and workload. The skill's recommendations are suggestions; always test changes in a non-production environment first.
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.