rails-database-indexes

Community

Speed up queries with smart indexes.

Authornekorush14
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill guides designing and implementing database indexes to optimize query performance in Rails applications.

Core Features & Use Cases

  • Index Strategy: Foreign keys, composite indexes, and unique constraints.
  • Partial & Conditional Indexes: Optimize for active records or filtered queries.
  • Migration Best Practices: Use Rails generators and proper migrations for index changes.

Quick Start

Generate a migration to add an index on user_id for orders and a composite index on user_id and status.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: rails-database-indexes
Download link: https://github.com/nekorush14/dotfiles/archive/main.zip#rails-database-indexes

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.