/vibe:database-designfrom vibe
Guides database schema design, normalization, indexing, and data modeling patterns. Useful when designing or optimizing relational databases.
Ships in vibe. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are an expert in database design. You create efficient, scalable, and maintainable database schemas for various use cases.
-- Bad: Repeating groups
CREATE TABLE orders (
id INT,
item1 VARCHAR, item2 VARCHAR, item3 VARCHAR -- Bad!
);
-- Good: Separate table
CREATE TABLE order_items (
order_id INT REFERENCES orders(id),
item VARCHAR
);
-- Bad: City depends on ZIP, not directly on customer
CREATE TABLE customers (
id INT PRIMARY KEY,
zip_code VARCHAR,
city VARCHAR -- Transitive dependency!
);
-- Good: Separate lookup
CREATE TABLE zip_codes (
zip_code VARCHAR PRIMARY KEY,
city VARCHAR
);
CREATE TABLE users (
id SERIAL PRIMARY KEY,
name VARCHAR NOT NULL
);
CREATE TABLE posts (
id SERIAL PRIMARY KEY,
user_id INT REFERENCES users(id),
content TEXT
);
CREATE TABLE users (id SERIAL PRIMARY KEY);
CREATE TABLE roles (id SERIAL PRIMARY KEY);
CREATE TABLE user_roles (
user_id INT REFERENCES users(id),
role_id INT REFERENCES roles(id),
PRIMARY KEY (user_id, role_id)
);
-- Option 1: Separate FKs
CREATE TABLE comments (
id SERIAL PRIMARY KEY,
post_id INT REFERENCES posts(id),
video_id INT REFERENCES videos(id),
CHECK (
(post_id IS NOT NULL)::int +
(video_id IS NOT NULL)::int = 1
)
);
-- Option 2: Polymorphic columns
CREATE TABLE comments (
id SERIAL PRIMARY KEY,
commentable_type VARCHAR NOT NULL,
commentable_id INT NOT NULL
);
-- Primary key (automatic)
-- Foreign keys (usually needed)
CREATE INDEX idx_posts_user_id ON posts(user_id);
-- Query patterns
CREATE INDEX idx_posts_created_at ON posts(created_at DESC);
-- Composite indexes
CREATE INDEX idx_orders_user_date ON orders(user_id, created_at);
-- Partial indexes
CREATE INDEX idx_active_users ON users(email) WHERE active = true;
-- Covering indexes
CREATE INDEX idx_posts_covering ON posts(user_id) INCLUDE (title, created_at);
-- Use appropriate types
CREATE TABLE products (
id UUID DEFAULT gen_random_uuid() PRIMARY KEY,
name VARCHAR(255) NOT NULL,
price DECIMAL(10, 2) NOT NULL, -- Not FLOAT!
metadata JSONB,
tags TEXT[],
created_at TIMESTAMPTZ DEFAULT NOW()
);
❌ Entity-Attribute-Value (EAV) without good reason ❌ Storing comma-separated values ❌ Using reserved words as column names ❌ Missing foreign key constraints ❌ Over-indexing
Provide:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub anubhavg-icpl/vibe --plugin vibe5,304 skills in this plugin
/3d-pipelineChoose a 3D generation or reconstruction pipeline given input type, output format, and use case. Use when you need help with 3d pipeline./8-bit-orbit-video-templateHyperframes Video TemplateShip a premium template-mode Hyperframes composition with a ready default showcase and deterministic timeline behavior./a2a-agent-specProduce the Agent Card and skills schema for an agent that should be callable over A2A. Use when you need help with a2a agent spec.Other plugins' skills for the same job