CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

db-migrate

Author or review a Drizzle DB migration for zero-downtime safety — expand/contract phasing, backward-compatibility with the deployed app version, and writing the `-- migration-safe` acknowledgment the check:migrations lint requires. Use when adding/editing files under `packages/db/migrations/` or changing `packages/db/schema.ts`.

Quality

91%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Medium

Suggest reviewing before use

SKILL.md
Quality
Evals
Security

Quality

Content

88%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

An excellent, highly actionable body: every workflow step is executable and validated, and the contract-tracking mechanism is genuinely novel guidance rather than general knowledge. The only improvements are trimming brief re-explanations of known Postgres/deploy concepts and considering a reference split for the playbook table.

DimensionReasoningScore

Conciseness

Mostly lean and project-specific, but a few tokens re-explain knowledge Claude already has — the blue/green cutover non-atomicity in 'The window' and 'plain `DROP INDEX` takes ACCESS EXCLUSIVE on the table' — which could be trimmed.

4 / 5

Actionability

Fully executable throughout: exact commands ('cd packages/db && bunx drizzle-kit generate', 'bun run check:migrations', the contract-pending grep), copy-paste SQL annotation examples, a precise marker format, and a per-operation playbook covering the common migration cases.

5 / 5

Workflow Clarity

A clear six-step sequence with explicit validation checkpoints and feedback loops (lint hard errors vs annotate tier, schema-mock regeneration, re-running drizzle-kit generate to confirm no drift, dev-DB verification) — appropriate for a destructive database skill, so no cap applies.

5 / 5

Progressive Disclosure

Well-organized sections with no nested references and no bundle files to mismanage, but at ~93 lines with no external reference split (e.g., the per-operation playbook could live in references/), it sits just below the clean self-contained top anchor.

4 / 5

Total

18

/

20

Passed

Description

92%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description that states concrete capabilities and gives an explicit, path-based 'Use when' clause in third-person/implicit-imperative voice. The only gap is a few missing natural synonyms for migration work.

DimensionReasoningScore

Specificity

Lists multiple concrete actions — 'Author or review a Drizzle DB migration', 'expand/contract phasing', 'backward-compatibility with the deployed app version', and 'writing the `-- migration-safe` acknowledgment' — comprehensively covering the skill's scope.

5 / 5

Completeness

Explicitly answers both what ('Author or review a Drizzle DB migration for zero-downtime safety...') and when ('Use when adding/editing files under `packages/db/migrations/` or changing `packages/db/schema.ts`') with concrete trigger paths.

5 / 5

Trigger Term Quality

Good natural keywords ('Drizzle DB migration', 'packages/db/migrations/', 'packages/db/schema.ts') that users of this repo would say, but common variations like 'schema change' or 'add a column' are absent.

4 / 5

Distinctiveness Conflict Risk

Clear niche: Drizzle migrations, a project-specific lint (check:migrations), and exact file paths make conflict with other skills minimal.

5 / 5

Total

19

/

20

Passed

Validation

93%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

referenced_paths_exist

Referenced path issues: 1 possibly missing (scripts/check-migrations-safety.ts)

Warning

Total

15

/

16

Passed

Repository

simstudioai/sim

Path

.agents/skills/db-migrate/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.