Claude-skill-registry indexes
Analyze database queries and recommend missing indexes with performance impact analysis
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/indexes" ~/.claude/skills/majiayu000-claude-skill-registry-indexes && rm -rf "$T"
manifest:
skills/data/indexes/SKILL.mdsource content
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:
- Database analysis overview and objectivesREADME.md
- Detailed query performance analysisquery-analysis.md
- Missing indexes and impact analysisindex-recommendations.md
- Before/after performance comparisonsperformance-metrics.md
- Index creation strategy and migration planimplementation-plan.md
- Performance monitoring and alertingmonitoring-setup.md
Semantic Database Task ID Examples:
user-query-optimizationorder-performance-indexessearch-query-accelerationrelationship-index-analysisslow-query-investigation
Please analyze all database queries, identify missing indexes, and document recommendations according to the standards above.
$ARGUMENTS