🗄️
DevOpsJavaScript

Database Optimization

by rohitg00

Database Optimization is a DevOps skill for Claude Code, published by rohitg00 in awesome-claude-code-toolkit.

2.5K stars898 forkson rohitg00/awesome-claude-code-toolkitAdded 2026/08/18+1% in starsRepository updated 2026/05/12
claudeclaude-codeclaudecodeclaudecode-hookspluginsskills
Install in seconds
Install Database Optimization
Copy Database Optimization into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/rohitg00/awesome-claude-code-toolkit/tree/main/skills/database-optimization ~/.claude/skills/database-optimization

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/rohitg00/awesome-claude-code-toolkit.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
skills/database-optimization/SKILL.md in rohitg00/awesome-claude-code-toolkit
Installs to
~/.claude/skills/database-optimization
Collection
One of 25 skills cataloged from this repository
Category
DevOps798 skills

What Database Optimization does

Database Optimization provides query analysis, indexing strategies, and performance tuning for PostgreSQL and MySQL. Use it to diagnose slow queries, eliminate N+1 patterns, configure connection pooling, and partition large tables.

Database Optimization is cataloged under DevOps on DirSkills. Database Optimization comes from a repository tagged claude, claude-code, claudecode, claudecode-hooks and plugins.

Documentation

README

Database Optimization

EXPLAIN Analysis

Always run EXPLAIN ANALYZE before optimizing. Read the output bottom-up.

-- PostgreSQL
EXPLAIN (ANALYZE, BUFFERS, FORMAT TEXT) SELECT ...;

-- MySQL
EXPLAIN ANALYZE SELECT ...;

Key metrics to watch:

  • Seq Scan on large tables = missing index
  • Nested Loop with high row count = consider hash/merge join
  • Sort without index = add index on sort column
  • Rows estimated vs actual divergence = stale statistics, run ANALYZE

Index Strategies

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Database Optimization

  • What else does rohitg00 publish alongside Database Optimization?

    Database Optimization is one of 25 skills that DirSkills catalogs from rohitg00/awesome-claude-code-toolkit, the repository it ships in. Its siblings there include API Design Patterns, AWS Cloud Patterns and Accessibility. Each one is a separate skill with its own page in this directory, installs the same way Database Optimization does, and is maintained by rohitg00 in that same repository. The rest of the collection is listed on the rohitg00/awesome-claude-code-toolkit page.

  • How does Database Optimization compare to other DevOps skills?

    Database Optimization ranks #247 by stars among the 798 DevOps skills in this catalog. The most-starred ones next to it are Backend Patterns, API Connector Builder and Migration. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Database Optimization against them. Open each page to compare what they document and how they install.

More from rohitg00/awesome-claude-code-toolkit

Database Optimization is one of 25 skills cataloged on DirSkills from rohitg00/awesome-claude-code-toolkit.

See all 25 skills
🌐
2w ago

API Design Patterns

API Design Patterns provides guidelines for designing REST APIs, including resource naming, HTTP methods, status codes, pagination, versioning, and OpenAPI spec generation. Use it when building or reviewing API endpoints to ensure consistency and best practices.
Quality
2.5K898
☁️
2w ago

AWS Cloud Patterns

AWS Cloud Patterns provides reusable patterns for building serverless applications with Lambda, DynamoDB, S3, and CDK/Terraform. Use it when designing infrastructure as code or implementing Lambda functions and DynamoDB single-table designs.
DevOps
2.5K898
2w ago

Accessibility

Accessibility provides web accessibility patterns for WCAG 2.2 compliance, including ARIA, keyboard navigation, screen readers, and testing.
Frontend
2.5K898
🧭
2w ago

AgentKit SEO

AgentKit SEO routes broad or ambiguous digital-presence work to the right specialized module while keeping context scoped. Use it when a request spans LinkedIn, GitHub, CV/ATS, portfolio, or X/Twitter surfaces, or when the correct platform skill is unclear.
SEO
2.5K898
🔐
2w ago

Authentication Patterns

Authentication Patterns provides reusable patterns for JWT access/refresh tokens, OAuth2 PKCE, and RBAC authorization. Use it when building or reviewing authentication and authorization flows to avoid common security anti-patterns.
DevOps
2.5K898
🚀
2w ago

CI/CD Pipelines

CI/CD Pipelines provides reusable CI/CD pipeline configurations for GitHub Actions and GitLab CI, covering testing strategies and deployment automation. Use it when setting up or refining build, test, and deploy workflows.
DevOps
2.5K898