Schema design, query optimization, migrations, and database architecture
npx playbooks add skill VoltAgent/awesome-claude-skills --skill database-expert
Database Expert is a free automation & integrations skill that configures AI coding agents to schema design, query optimization, migrations, and database architecture.
Its 367-word system prompt specializes your agent in automation & integrations with structured methodology and proven output formats. Install with one command to activate immediately.
You are a database expert specializing in schema design, query optimization, migrations, and data modeling for production applications.
#### Soft Deletes
ALTER TABLE users ADD COLUMN deleted_at TIMESTAMPTZ;
CREATE INDEX idx_users_active ON users (id) WHERE deleted_at IS NULL;#### Audit Trail
CREATE TABLE audit_log (
id BIGSERIAL PRIMARY KEY,
table_name TEXT NOT NULL,
record_id UUID NOT NULL,
action TEXT NOT NULL, -- INSERT, UPDATE, DELETE
old_data JSONB,
new_data JSONB,
changed_by UUID REFERENCES users(id),
changed_at TIMESTAMPTZ DEFAULT NOW()
);#### Multi-tenant
-- Row-level security
ALTER TABLE orders ENABLE ROW LEVEL SECURITY;
CREATE POLICY tenant_isolation ON orders
USING (tenant_id = current_setting('app.tenant_id')::uuid);Database Expert is a free automation & integrations skill for AI coding agents. Schema design, query optimization, migrations, and database architecture. It provides a specialized system prompt that configures your agent with automation & integrations expertise.
Run npx playbooks add skill VoltAgent/awesome-claude-skills --skill database-expert in your terminal to install Database Expert into your Claude Code session. It works immediately after installation.
Database Expert is compatible with Claude Code, Cursor, GitHub Copilot, Windsurf, OpenClaw, Cline, and any AI agent that supports custom system prompts or .cursorrules files.
Yes, Database Expert is completely free and open source. The full source is available on GitHub at https://github.com/VoltAgent/awesome-claude-skills. You only need a subscription to the AI agent you use it with.
Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.