Optimize Database.Prompt — Data skill for Claude Code
Analyze and optimize database schema, queries, and performance.
How to install Optimize Database.Prompt
Installs to ~/.claude/skills/ils15-pantheon-legacy-optimize-database.prompt/SKILL.md
mkdir -p ~/.claude/skills/ils15-pantheon-legacy-optimize-database.prompt && curl -fsSL https://raw.githubusercontent.com/ils15/pantheon-legacy/HEAD/prompts/optimize-database.prompt.md -o ~/.claude/skills/ils15-pantheon-legacy-optimize-database.prompt/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Optimize Database.Prompt does
name: optimize-database description: "Analyze and optimize database schema, queries, and performance" agent: demeter tools: ['search', 'usages']
Optimize Database (Demeter)
Performance Analysis
Query Optimization
- Identify N+1 queries
- Analyse query plans (EXPLAIN)
- Suggest strategic indexes
- Optimise JOINs
- Batch operations when possible
Index Strategy
- Indexes on WHERE columns
- Indexes on JOIN columns
- Indexes on ORDER BY columns
- Composite indexes when approp
Alternatives in Data
- SQL Queries — Generate SQL queries from natural language across major dialects 7.8k ★
- Aoci Code — Local-first MCP server + CLI in Go: a persistent, governed codebase index that distills code and database sche 443 ★
- Core Data Agent Skill — An Agent Skill focused on Apple’s Core Data framework, helping with data modeling, fetch requests, performance 301 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Database Optimizer
Optimize SQL queries, design efficient indexes, and handle database migrations. Solves N+1 problems, slow quer
Supabase Performance Optimizer
Optimize Supabase database performance with specialized agents: $ARGUMENTS
Rogue Database Engineering Skill
Expert database engineering for application data layers: schema and ERD design, relational modeling, indexing,
DB Profile
Profile database queries with EXPLAIN ANALYZE, diagnose slow scans, and recommend indexes.
DB Opt
Identifies and optimizes slow database queries and schema bottlenecks.
DB Review
Review database schema, queries, and migrations
Related Agents
Database Schema Designer
PROACTIVELY USE this agent when you need to design database schemas, create migration files, optimize database
DB Explorer
Use this agent to understand the current database schema, explore existing queries, identify patterns, or anal
General Backend Developer
Use this agent proactively when you need to design, implement, or optimize backend API systems, including REST