agent-browser
Browser automation CLI for AI agents. Use when the user needs to interact with websites,…
Plan safe Drizzle backfills, enum/check/default changes, constraint tightening, migration ordering, and rollback. Excludes other ORMs, query optimization, and new-schema design.
$ npx -y skills add pedronauck/skills --skill drizzle-safe-migrations --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/drizzle-safe-migrationsContext preview
The summary Claude sees to decide when to auto-load this skill.
Plan safe Drizzle backfills, enum/check/default changes, constraint tightening, migration ordering, and rollback. Excludes other ORMs, query optimization, and new-schema design.
name: drizzle-safe-migrations description: "Plan safe Drizzle backfills, enum/check/default changes, constraint tightening, migration ordering, and rollback. Excludes other ORMs, query optimization, and new-schema design." metadata: author: Pedro Nauck github: https://github.com/pedronauck repository: https://github.com/pedronauck/skills
Use this skill to run database migrations in a way that is auditable, deployment-safe, and consistent with Drizzle's migration model.
1. Classify the change:
2. For `data+schema`, create custom migration first:
3. Generate schema migration second:
4. Verify migration ordering in `drizzle/meta/_journal.json`:
5. Verify generated SQL and snapshots:
6. Run the owning migration suite against existing-data and fresh-install cases, plus required project gates. Reuse current evidence; unrelated backend suites are not an additional skill gate. 7. Record material rollout risks and recovery steps when applicable:
When removing allowed values (enum/check):
1. Backfill existing rows to valid target value. 2. Update default to new value. 3. Tighten check/enum constraint.
For large tables or strict uptime targets, evaluate staged constraint validation supported by the actual database and driver. PostgreSQL `NOT VALID` / `VALIDATE CONSTRAINT` applies only to supported constraint kinds.
A curated collection of 87 agent skills for Claude Code and compatible AI coding assistants — 40 original (⭐️), 34 hand-picked (💎), and 13 marketing & business (📣).
Repo: pedronauck/skills
Browser automation CLI for AI agents. Use when the user needs to interact with websites,…
Answer questions about the AI SDK and help build AI-powered features. Use when developers:…
Autonomously optimize any Claude Code skill by running it repeatedly, scoring outputs against…
Centrifugo real-time messaging server expert for WebSocket PUB/SUB, channel management, JWT…
Retrieves up-to-date documentation, API references, and code examples for any developer…
Diátaxis Documentation Expert. An expert technical writer specializing in creating…