/waris-skill-library:warisskill-database-modeling-migrationsfrom waris-skill-library
Use when creating or altering database schema, writing a migration, or designing a new table/relationship. Trigger on any DDL change, any ORM migration file, or schema design discussion. Migration safety rigor scales with project stage — see the gate below before reaching for zero-downtime ceremony on a pre-launch project.
Ships in waris-skill-library. 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.
No personal override on naming (singular vs plural tables), ID strategy
(UUID vs serial/auto-increment), or timestamp columns — follow whatever
the ORM/framework's own convention is (Prisma, Drizzle, Django, Rails,
etc. each have their own idiom; don't fight it). Normalize by default;
denormalize only when a measured read pattern justifies it (ties to
warisskill-performance-optimization's measure-first rule — don't
denormalize speculatively).
Two modes, decided by whether the project has real production traffic depending on it:
Pre-launch / no real users yet: simple, direct migrations are fine.
ALTER TABLE ... ADD COLUMN ... NOT NULL without a default, a
non-concurrent index, a straight UPDATE for a data fix — none of this
needs zero-downtime ceremony when there's no traffic to disrupt. Optimize
for moving fast.
Post-launch / real production traffic: full production-safe discipline, no exceptions:
NOT NULL with no
default on an existing table (forces a full rewrite/lock).CONCURRENTLY, not inline, on existing tables.The switch from mode one to mode two is itself worth noticing and flagging — once a project has real users, say so explicitly rather than silently continuing with pre-launch habits.
warisskill-performance-optimization for indexing
driven by measured query performance, and
warisskill-system-design-decision-making for whether a database
engine choice itself warrants an ADR.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub sodiqabdulwaris/waris-skill-library --plugin waris-skill-library129 skills in this plugin
/api-and-interface-designGuides stable API and interface design. Use when designing APIs, module boundaries, or any public interface. Use when creating REST or GraphQL endpoints, defining type contracts between modules, or establishing boundaries between frontend and backend./browser-testing-with-devtoolsTests in real browsers via Chrome DevTools MCP. Use when building or debugging anything that runs in a browser. Use when you need to inspect the DOM, capture console errors, analyze network requests, profile performance, or verify visual output with real runtime data. Requires the chrome-devtools MCP server to be configured./