agentsclimarketplace

Drizzle orm

Skill kimtth/agent-skill-100-lines-or-less/skills/drizzle-orm

Use when: define type-safe schemas, migrations, and queries with Drizzle ORM and full TS inference.From its SKILL.md

Install
npx -y skills add kimtth/agent-skill-100-lines-or-less --skill drizzle-orm

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

1.1 KB, 205 tokens by cl100k_base, as published. Nobody here has run it

Goal: end-to-end type safety from schema to query result.

Use for:

  • modeling tables, relations, and constraints in TypeScript
  • generating and applying migrations safely
  • writing queries with inferred result types

Workflow:

  1. Define tables and columns in the schema with explicit types.
  2. Declare relations for type-safe joins and nested reads.
  3. Generate migrations from the schema; review the SQL.
  4. Apply migrations through the migrator, not ad hoc edits.
  5. Query with the typed builder; let result types infer.
  6. Derive insert/select types from the schema for app code.

Patterns:

  • single source of truth: the schema drives types and migrations
  • relations for typed joins instead of manual mapping
  • prepared statements for hot queries
  • transactions for multi-step writes

Rules:

  • never hand-edit applied migrations; create a new one
  • review generated SQL before running it
  • derive types from the schema; do not duplicate them
  • scope transactions tightly around the related writes

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.