Query optimize
SQL/NoSQL query optimization with N+1 detection and index recommendationsFrom its SKILL.md
npx -y skills add manastalukdar/ai-devstudio --skill query-optimizeAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
0.9 KB, 183 tokens by cl100k_base, as published. Nobody here has run it
Query Optimization & Performance Analysis
I'll analyze your database queries for performance issues, detect N+1 problems, recommend indexes, and provide query plan analysis.
Supported Databases:
- PostgreSQL (EXPLAIN ANALYZE)
- MySQL/MariaDB (EXPLAIN)
- MongoDB (explain())
- SQLite (EXPLAIN QUERY PLAN)
Supported ORMs:
- Prisma, TypeORM, Sequelize (JavaScript/TypeScript)
- Django ORM, SQLAlchemy (Python)
- Mongoose (MongoDB)
Token Optimization
Expected range: 1,500–2,500 tokens (initial), 400 tokens (cache hit)
Caching: No persistent caching — analyzes queries from current staged/changed files.
Early exit: Returns immediately if no slow or unindexed queries are detected.
Patterns used: Grep-before-Read, early exit, git diff scope default
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.