skills/db-designer/SKILL.md
Generate database schema from feature descriptions. User doesn't see SQL. Use when: features require data persistence. Triggers: internal use only.
npx skillsauth add timequity/vibe-coder db-designerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Infer schema from requirements. User never writes SQL.
Analyze requirements
Design schema
Generate migration
| Feature | Tables | |---------|--------| | Auth | users, sessions | | Blog | posts, comments, tags | | E-commerce | products, orders, order_items | | Tasks | tasks, projects, labels | | Social | users, posts, follows, likes |
-- Auto-generated, user doesn't see
create table expenses (
id uuid primary key default gen_random_uuid(),
user_id uuid references users(id),
amount decimal not null,
category text,
created_at timestamptz default now()
);
# Alembic migration auto-generated
class Expense(Base):
id = Column(UUID, primary_key=True)
user_id = Column(UUID, ForeignKey('users.id'))
amount = Column(Numeric, nullable=False)
// Schema auto-generated
export const expenses = pgTable('expenses', {
id: uuid('id').primaryKey().defaultRandom(),
userId: uuid('user_id').references(() => users.id),
amount: numeric('amount').notNull(),
});
User: "I want to track expenses by category"
Internally:
User sees: "✅ Ready to save expenses"
development
Hidden quality gate that runs before showing "Done!" to user - ensures all tests pass, build succeeds, and requirements met before claiming completion
data-ai
Use when about to claim work is complete or fixed - requires running verification commands and confirming output before making any success claims
tools
Generate UI components from natural language descriptions. Use when: user asks for a page, component, or UI element. Triggers: "create page", "add component", "show form", "make button", "страница", "компонент", "форма".
content-media
10 ready-to-use themes with colors and fonts for consistent styling. Use when: applying visual themes to pages, components, or design systems. Triggers: "theme", "color palette", "color scheme", "fonts", "branding", "visual identity", "design system colors".