Back to list
thoreinstein

indexes

by thoreinstein

My opencode configurations, agents, commands and everything else

1🍴 0📅 Jan 15, 2026

SKILL.md


name: indexes description: Analyze database queries and recommend missing indexes with performance impact analysis

Database Index Analysis

Current Time: !date PostgreSQL: !psql --version

Scope: $ARGUMENTS (or entire codebase if not specified)

Scan whole codebase and tell me what indexes are missing.

📚 DOCUMENTATION REQUIREMENTS

Create comprehensive database analysis documentation at:

  • docs/tasks/backend/DD-MM-YYYY/<semantic-db-id>/

Documentation Structure:

  • README.md - Database analysis overview and objectives
  • query-analysis.md - Detailed query performance analysis
  • index-recommendations.md - Missing indexes and impact analysis
  • performance-metrics.md - Before/after performance comparisons
  • implementation-plan.md - Index creation strategy and migration plan
  • monitoring-setup.md - Performance monitoring and alerting

Semantic Database Task ID Examples:

  • user-query-optimization
  • order-performance-indexes
  • search-query-acceleration
  • relationship-index-analysis
  • slow-query-investigation

Please analyze all database queries, identify missing indexes, and document recommendations according to the standards above.

$ARGUMENTS

Score

Total Score

60/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon