manastalukdar/ai-devstudio

query-optimize

SQL/NoSQL query optimization with N+1 detection and index recommendations

First seen Feb 21, 2026

Installation

$ npx skills add manastalukdar/ai-devstudio --skill query-optimize

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from manastalukdar/ai-devstudio · top by installs.

npx skills add manastalukdar/ai-devstudio

Browse all from manastalukdar/ai-devstudio

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 1
License LICENSE
Default branch main
Open issues 0
Status Active

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 937 B
  • docs SUMMARY.md 95 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 6 installs

SKILL.md

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