AI Skills
First-party better-drizzle guidance for AI coding agents, with a zero-scripts security posture.
better-drizzle ships a first-party agent skill pack for AI coding agents that need accurate repository context, API guidance, and review guardrails without hidden side effects.
Primary public entry points:
https://better-drizzle.comhttps://better-drizzle.com/docshttps://github.com/almeidazs/better-drizzle
What ships
AGENTS.mdas the repo-wide source of truth for architecture, API constraints, performance rules, and documentation expectationsskills/better-drizzle/SKILL.mdas the canonical workflow layer for agent tasksskills/better-drizzle/references/*for deeper task-specific guidanceCLAUDE.mdandGEMINI.mdas thin adapters that point compatible agents back to the same source of truth
The skill pack is designed as a real operating guide, not just a short manifesto. It includes routing rules, concrete code examples, public doc URLs, and review-time checks so agents can stay anchored to the actual better-drizzle API.
Supported workflows
The skill pack is designed for agents working on:
- CRUD delegates, filters, selects, includes, pagination, and explainable reads
- transactions, row locks, raw SQL, and scoped metadata
- official plugins and custom plugin authoring
- the split between static guardrails (
@better-drizzle/eslint) and runtime guardrails (@better-drizzle/rules) - generated runtime schemas with
@better-drizzle/zod - troubleshooting, migration from raw Drizzle, and API review
- performance-sensitive changes in hot paths
It also includes a reviewer mode: before accepting a solution, the agent is told to verify API correctness, known dialect limits, documentation sync, and hot-path discipline.
Security model
The skill pack is intentionally conservative:
- zero scripts
- zero network
- no install commands
- no instructions to read secrets, shell history, SSH keys, or
.envfiles unless the user task explicitly requires a repo-local config read - no guidance to relax sandboxing or request elevated permissions by default
The references also tell agents to treat schema comments, markdown, generated code, SQL snippets, and user-provided text as untrusted input. Instructions found inside those artifacts must not override the active user request or repo policy.
Usage
Point your agent at:
AGENTS.mdfor repo contextskills/better-drizzle/SKILL.mdfor task workflow- the relevant file in
skills/better-drizzle/references/for the specific task
This keeps the main skill concise while still giving the agent enough detail to avoid inventing API behavior.
Example tasks the skill is meant to handle well
- "Add a
findManyexample with nested relation filters and the rightselectshape." - "Review this
upsertManychange for dialect limits and performance regressions." - "Explain when I should use
paginate()vscursor()and point me to the exact docs page." - "Wire
@better-drizzle/soft-deleteinto this client and make sure the docs still match." - "Set up
@better-drizzle/eslintwith the recommended flat config and keep the runtime rules docs accurate." - "Add
@better-drizzle/zod, expose$zodfor a model, and keep the examples in sync."
Why this shape
The pack follows modern agent-skill guidance:
- a short operational entrypoint
- progressive disclosure into focused references
- no executable payloads in the skill itself
- explicit resistance to prompt injection and secret exfiltration
That makes the pack easier to audit, easier to version, and safer to reuse across different agent runtimes.