0
Add index
Geçiş güvenliğiyle sorgu performansını artırmak için veritabanı dizinleri ekleyin.
yazan kuscubasiece·8 Eylül 2026
Kaynak: rohitg00/awesome-claude-code-toolkit · Apache-2.0
Geçiş güvenliğiyle sorgu performansını artırmak için veritabanı dizinleri ekleyin.
Kaynak: rohitg00/awesome-claude-code-toolkit · Apache-2.0
mkdir -p .claude/commands && curl -sL https://www.antrophiclove.com/api/kaynak/add-index/raw -o .claude/commands/add-index.mdHedef dosya: .claude/commands/add-index.md
Add database indexes to improve query performance with migration safety.
## Steps
1. Identify the query patterns that need indexing:
2. Choose the index type:
3. Design the index:
4. Create the migration:
5. Estimate the impact:
6. Deploy safely:
## Format
```
Table: <table name>
Index: <index name>
Columns: <column list>
Type: <B-tree|Hash|GIN|GiST>
```
## Rules
- Always use CONCURRENTLY for production index creation.
- Name indexes descriptively: idx_table_column1_column2.
- Do not create redundant indexes (check existing indexes first).