CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

drizzle-migration

Creates Drizzle ORM schema definitions and generated SQL migrations for PostgreSQL from the entity model. Use when the user asks to "create a migration", "generate SQL", "set up database tables", "update the schema", or mentions Drizzle, drizzle-kit, pg-core, schema.ts, or database versioning for a NestJS project.

1.06x
Quality

89%

Does it follow best practices?

Impact

100%

1.06x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No findings from the security scan

The canonical home for this skill is ai-unified-process/aiup-nestjs-nextjs

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.

Highly actionable content with concrete commands, executable examples, and an exemplary validate-then-regenerate workflow including feedback loops and failure-mode guidance. Its only real costs are mild repetition of the core rule across sections and the fully-inline layout, which keeps edge-case material in the main file rather than in references.

DimensionReasoningScore

Conciseness

The body is efficient and assumes Claude's competence with Drizzle, spending its tokens on project-specific policy and non-obvious failure modes (journal desync, rename-as-DROP-COLUMN, numeric-vs-double driver behavior) rather than tutorials. It stops short of 5 because the never-hand-write-migrations rule is restated in three sections and a few sentences editorialize ('This is the single rule that matters most in this skill') rather than just instruct.

4 / 5

Actionability

Guidance is fully executable: copy-paste-ready commands ('npx drizzle-kit generate', 'git status --short') with expected outcomes, complete working schema code in the worked example, a concrete type-mapping table, and a runnable node one-liner for diagnosing snapshot drift. The common path requires no invention by the reader.

5 / 5

Workflow Clarity

The 8-step workflow has explicit validation checkpoints ('Read the emitted SQL before committing', verify every entity/relationship/validation rule, expect 'exactly one new .sql file, plus the journal') and a genuine error-recovery feedback loop ('If it contains a DROP you did not intend ... fix the schema and regenerate'), plus a stop-and-diagnose path for desynced history — matching the anchor for clear sequence, explicit validation, and feedback loops for a database operation.

5 / 5

Progressive Disclosure

Sections are well organized and cross-file references are clearly signaled with one-level-deep glob locators ('**/*implement/references/project-layout.md', '**/rules/mcp-servers.md'), with external links gathered in a Resources section. It falls short of 5 because no bundle files exist and all ~230 lines live in SKILL.md — edge-case material like the desync-repair diagnosis and the money-column tradeoff discussion could be split into reference files, per anchor 5's 'content appropriately split'.

4 / 5

Total

18

/

20

Passed

Description

86%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 clearly states both capability and activation conditions, with an unusually rich set of natural trigger phrases and tool/file identifiers. The only weaknesses are the two-action scope and a handful of generic trigger phrases that could overlap with other database-migration skills.

DimensionReasoningScore

Specificity

The description names the domain precisely ('Creates Drizzle ORM schema definitions and generated SQL migrations for PostgreSQL from the entity model') but lists only two concrete actions, matching the 'names domain and 1-2 concrete actions, not comprehensive' anchor. It does not reach 4's 'several specific actions' and is far above the generic-minimal actions of 2.

3 / 5

Completeness

It explicitly answers what ('Creates Drizzle ORM schema definitions and generated SQL migrations for PostgreSQL from the entity model') and when ('Use when the user asks to "create a migration", "generate SQL", ... or mentions Drizzle, drizzle-kit, pg-core, schema.ts, or database versioning for a NestJS project') with concrete quoted trigger phrases, matching the anchor-5 example's structure exactly.

5 / 5

Trigger Term Quality

Trigger coverage is comprehensive: natural user phrasings ('create a migration', 'generate SQL', 'set up database tables', 'update the schema') plus tool, library, and file names (Drizzle, drizzle-kit, pg-core, schema.ts, database versioning) — synonyms and concrete identifiers users would actually mention. Nothing in the anchor-4 example ('a few natural terms missing') is missing here.

5 / 5

Distinctiveness Conflict Risk

Technology anchors (Drizzle, drizzle-kit, pg-core, schema.ts) establish a clear niche with minimal conflict, but the generic quoted triggers 'create a migration', 'generate SQL', and 'set up database tables' could fire for a non-Drizzle migration or SQL task, giving minor overlap with closely related skills. Not 5, since anchor 5 requires minimal conflict risk across all triggers; not 3, since the dominant signals are unmistakably Drizzle-specific.

4 / 5

Total

17

/

20

Passed

Validation

100%

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

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

AI-Unified-Process/marketplace

Path

aiup-nestjs-nextjs/skills/drizzle-migration/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.