Agent skill · Audited from source
Drizzle Safe Migrations
skill · pedronauck/skillsLicence not declaredAudited 16 Oct 2026 · source 118e61cf1c61
Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit 118e61cf1c61 and found no filesystem, network or shell access and no hard-coded secrets. What it does: Plan safe Drizzle backfills, enum/check/default changes, constraint tightening, migration ordering, and rollback. Excludes other ORMs, query optimization, and new-schema design.
Cite
Cite this page
ModelsAtlas. “Drizzle Safe Migrations (pedronauck/skills)”. Retrieved 16 Oct 2026. https://modelsatlas.com/skills/pedronauck/drizzle-safe-migrations
Trust audit
Audit 0.4.1 · source read 16 Oct 2026
SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 16,667 of 17,602 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | NA | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (0)
No findings at any severity. We re-audit when the source changes.
Audit 0.4.1 · source sha 118e61cf1c61 · 16 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publisherpedronauck GitHub userOwner of the repository this skill is read from
- Source folderpedronauck/skills/skills/mine/drizzle-safe-migrationsThe exact folder we audited
- LicenceNot declaredAs the repository states it
- Commit pinned for this verdict118e61cf1c61A new audit runs when the source changes
- Repository statusNot archivedLast push 31 days ago
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: 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 --- # Drizzle Safe Migrations ## Overview Use this skill to run database migrations in a way that is auditable, deployment-safe, and consistent with Drizzle's migration model. ## Core Rules - Generate schema migrations with the existing project script and package manager; `bun run db:generate` below is an example, not a required script name. - Never hand-edit generated schema migration files. - Generate data backfills as custom migrations (`bun run db:generate -- --custom --name <name>`) and edit only that custom SQL file. - Apply data normalization before tightening constraints. - Keep one-off data fixes in migration history, not as hidden runtime logic, unless an emergency hotfix requires temporary mitigation. ## Workflow 1. Classify the change: - `schema-only`: only column/table/index/default changes. - `data+schema`: old rows must be transformed before new constraints/defaults. 2. For `data+schema`, create custom migration first: - `bun run db:generate -- --custom --name <descriptive_name>` - Add idempotent backfill SQL. 3. Generate schema migration second: - `bun run db:generate` 4. Verify migration ordering in `drizzle/meta/_journal.json`: - backfill migration index must be lower than constraint-tightening migration index. 5. Verify generated SQL and snapshots: - backfill migration contains only intended data change. - schema migration contains constraint/default/type changes. 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: - expected data transformations, - lock-risk areas, - rollback strategy. ## Backfill Requirements - Use restrictive `WHERE` clauses. - Prefer idempotent updates (`UPDATE ... WHERE status = 'legacy_value'`). - Do not mix unrelated DDL/DML in the same migration. - Keep SQL explicit and minimal. ## Constraint Tightening Pattern 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. ## Anti-Patterns - Hand-editing generated schema migration files. - Tightening constraints before backfilling existing data. - Hiding one-time migration logic in app startup code without migration artifacts. - Running migrations without validating order in the Drizzle journal. ## Reference - See `references/production-playbook.md` for command templates and review checklists.
Excerpt, first 3,146 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit 118e61c
git clone https://github.com/pedronauck/skills git -C skills checkout 118e61cf1c61
The author documents no install command, so this uses the repository directly. Our verdict covers commit 118e61cf1c61 only.
Works in
The author has not said which agents this skill supports, and we have not tested it in any.
Audit history
Every audit, every source change
- ✓SAFE B 89 / 100
first audit · source
118e61cf1c61
Similar skills
obra/superpowers
Use when creating new skills, editing existing skills, or verifying skills work before deployment
mattpocock/skills
A relentless interview to sharpen a plan or design, which also creates docs (ADR's and glossary) as we go.
mattpocock/skills
Grill the user relentlessly about a plan, decision, or idea. Use when the user wants to stress-test their thinking, or uses any 'grill' trigger phrases.
Questions about Drizzle Safe Migrations
What does the Drizzle Safe Migrations skill do?
Is Drizzle Safe Migrations safe to install?
What can Drizzle Safe Migrations access on my machine?
How current is this page?
Sources
- github.com/pedronauck/skills/tree/main/skills/mine/drizzle-safe- — the audited source at commit 118e61cf1c61 and every finding aboveObserved · 16 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Drizzle Safe Migrations skill do?
- Is Drizzle Safe Migrations safe to install?
- What can Drizzle Safe Migrations access on my machine?