Agent skill

Drizzle Safe Migrations

by pedronauck in pedronauck/skills

Plan safe Drizzle backfills, enum/check/default changes, constraint tightening, migration ordering, and rollback.

No licenceAuto-check passedDatabases

Install Drizzle Safe Migrations

skills CLI
$ npx skills add pedronauck/skills --skill drizzle-safe-migrations -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install pedronauck/skills drizzle-safe-migrations --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/pedronauck/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/mine/drizzle-safe-migrations .claude/skills/drizzle-safe-migrations && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
drizzle-safe-migrations
GitHub stars
634
Token cost
~787 tokens
SKILL.md length
343 words
Files
3 (incl. references)
Skills in repo
65
Repo updated
First seen
Licence
None found

At a glance

Plan safe Drizzle backfills, enum/check/default changes, constraint tightening, migration ordering, and rollback.

  • Works in 7 steps: Classify the change → For data+schema, create custom migration… → Generate schema migration second → …
  • Tasks that involve ORMs and data access
  • SKILL.md covers Overview, Core Rules, Workflow and Backfill Requirements, plus 3 more sections
  • Calls bun

What it does

Drizzle Safe Migrations is an agent skill from pedronauck/skills. Plan safe Drizzle backfills, enum/check/default changes, constraint tightening, migration ordering, and rollback. Excludes other ORMs, query optimization, and new-schema design.

Its SKILL.md is about 790 tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `agents/openai.yaml` and `references/production-playbook.md`).

It sits in Databases, covering ORMs and data access. It works with SQL. The repository describes itself as: My personal favorite skills.

When your agent uses it

  • Tasks that involve ORMs and data access

Example prompts

  • “/drizzle-safe-migrations”

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  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…
  7. Record material rollout risks and recovery steps when applicable

What it can do on your machine

Read from SKILL.md and the folder at commit 0422940. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • bun

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Drizzle Safe Migrations loads about 787 tokens when it runs, and up to ~1.2k if it reads all its reference files. Until then it costs about 50 tokens; SKILL.md has 343 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~50
When it runs · the whole SKILL.md, loaded when a task matches
~787
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 343 words (~787 tokens).

“Use this skill to run database migrations in a way that is auditable, deployment-safe, and consistent with Drizzle's migration model.”

— opening of SKILL.md by pedronauck
name
drizzle-safe-migrations
metadata.author
Pedro Nauck
metadata.github
https://github.com/pedronauck
metadata.repository
https://github.com/pedronauck/skills

Read the full SKILL.md on GitHub

Files

SKILL.md and 2 other files (references) in skills/mine/drizzle-safe-migrations of pedronauck/skills.

  • SKILL.md
  • agents/openai.yaml
  • references/production-playbook.md

Open the folder on GitHubat commit 0422940

Compare with similar skills

Drizzle Safe Migrations next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Drizzle Safe Migrations compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Drizzle Safe Migrations this skillpedronauck/skills634—~787Automated safety check: PassNone
DB Migrationskurealnum/dotfiles290—~820Automated safety check: PassNone
Optimizing Ef Core Queriesdotnet/skills5.6k1 repos~2.7kAutomated safety check: PassMIT
Query Buildertotvs/engpro-advpl-tlpp-skills143—~4.7kAutomated safety check: PassMIT
Migrationkortix-ai/suna20k—~1.2kAutomated safety check: PassCustom licence
Frappe Core DatabaseImpertio-Studio/Frappe_Claude_Skill_Package189—~3.8kAutomated safety check: PassMIT

Similar skills

  • DB Migrations

    kurealnum/dotfiles

    A skill your agent uses when generating or regenerating Drizzle migration files, changing database schema tables or columns, resolving migration sequence conflicts after rebase, reviewing migration…

    290 GitHub stars~820 tokensUpdated 6 mo ago
    DatabasesAuto-check passed
  • Official

    Optimize and improve the performance of slow Entity Framework Core (EF Core) queries: make them generate less SQL, make fewer database round-trips, and return results faster.

    5.6k GitHub starsUsed in 1 repo~2.7k tokens
    DatabasesAuto-check passed
  • Query Builder

    totvs/engpro-advpl-tlpp-skills

    Build optimized and safe SQL queries for Protheus tables. An agent skill from totvs/engpro-advpl-tlpp-skills.

    143 GitHub stars~4.7k tokensUpdated 5 days ago
    DatabasesAuto-check passed
  • Migration

    kortix-ai/suna

    How to change the database schema in this repo. An agent skill from kortix-ai/suna.

    20k GitHub stars~1.2k tokensUpdated today
    DatabasesAuto-check passed
  • Frappe Core Database

    Impertio-Studio/Frappe_Claude_Skill_Package

    A skill your agent uses when performing database operations in ERPNext/Frappe v14-v16.

    189 GitHub stars~3.8k tokensUpdated 23 days ago
    DatabasesAuto-check passed
  • Ef Core

    github/awesome-copilot

    Official

    Get best practices for Entity Framework Core. An agent skill from github/awesome-copilot.

    40k GitHub starsUsed in 1 repo~670 tokens
    DatabasesAuto-check passed

More from pedronauck/skills

All 65 skills in this repo
  • Deep Review

    pedronauck/skills

    Review branch diffs, working trees, or PRs in depth with defect, polish and cross-contract coverage.

    634 GitHub starsUsed in 1 repo~2.3k tokens
    Auto-check passed
  • Yc Apply

    pedronauck/skills

    Prepare, review, and package Y Combinator application answers and founder-video notes using the live form and verified founder facts.

    634 GitHub stars~1.3k tokensUpdated 26 days ago
    Auto-check passed
  • Guide technical communication for software developers. An agent skill from pedronauck/skills.

    634 GitHub starsUsed in 3 repos~2.3k tokens
    Auto-check passed
  • Tauri V2

    pedronauck/skills

    Tauri v2+ cross-platform app development with Rust backend. An agent skill from pedronauck/skills.

    634 GitHub starsUsed in 2 repos~4.1k tokens
    Auto-check passed
  • Hormozi Ad Factory

    pedronauck/skills

    Generates 150-750+ ad variations using Alex Hormozi's combinatorial Hook x Meat x CTA framework.

    634 GitHub stars~2.1k tokensUpdated 26 days ago
    Auto-check passed
  • Yt Master

    pedronauck/skills

    Plans and improves YouTube ideas, titles, thumbnail concepts, scripts, retention, channel strategy, and metric-based diagnosis.

    634 GitHub stars~736 tokensUpdated 26 days ago
    Auto-check passed

Works with

Categories

Questions about Drizzle Safe Migrations

What does Drizzle Safe Migrations do?

Plan safe Drizzle backfills, enum/check/default changes, constraint tightening, migration ordering, and rollback. Drizzle Safe Migrations is an agent skill from pedronauck/skills. Plan safe Drizzle backfills, enum/check/default changes, constraint tightening, migration ordering, and rollback.

When should I use Drizzle Safe Migrations?

Drizzle Safe Migrations fits situations like: tasks that involve ORMs and data access.

How do I install Drizzle Safe Migrations in Claude Code?

Run `npx skills add pedronauck/skills --skill drizzle-safe-migrations -a claude-code`. Or copy the skill folder (skills/mine/drizzle-safe-migrations in pedronauck/skills) into .claude/skills/drizzle-safe-migrations in your project. Claude Code loads it when a task matches its description.

How do I install Drizzle Safe Migrations in Codex?

Run `npx skills add pedronauck/skills --skill drizzle-safe-migrations -a codex`. Or copy the skill folder (skills/mine/drizzle-safe-migrations in pedronauck/skills) into .agents/skills/drizzle-safe-migrations in your project. Codex loads it when a task matches its description.

Can I use Drizzle Safe Migrations in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add pedronauck/skills --skill drizzle-safe-migrations -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/drizzle-safe-migrations, .gemini/skills/drizzle-safe-migrations, .github/skills/drizzle-safe-migrations and .opencode/skills/drizzle-safe-migrations in your project.

What does Drizzle Safe Migrations need to run?

Going by SKILL.md and its folder, Drizzle Safe Migrations needs the command-line tools its instructions call (bun).

Does Drizzle Safe Migrations access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Drizzle Safe Migrations safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Drizzle Safe Migrations use?

No licence was found for Drizzle Safe Migrations or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Drizzle Safe Migrations use?

About 787 tokens (SKILL.md is roughly 3.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 418 tokens, read only when the agent opens those files.

What are the alternatives to Drizzle Safe Migrations?

Skills that share tags, products or a category with Drizzle Safe Migrations: DB Migrations (kurealnum/dotfiles, 290 stars), Optimizing Ef Core Queries (dotnet/skills, 5.6k stars), Query Builder (totvs/engpro-advpl-tlpp-skills, 143 stars) and Migration (kortix-ai/suna, 20k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Drizzle Safe Migrations?

pedronauck (a GitHub user) maintains it in pedronauck/skills, which has 634 GitHub stars. The repository holds 65 skills in this directory. The repository was last updated on September 14, 2026.

Source: pedronauck/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.