Drizzle Best Practices
ListedHelps with Drizzle ORM, best practices as part of working with databases and data persistence workflows.
Install on your platform
Showing Claude Code. One command installs this skill into any of the agents below.
- 1
Run this in your project
terminal$ npx skills add honra-io/drizzle-best-practices --skill drizzle-best-practices -a claude-code Uses the open-source
skillsCLI and needs Node.js. Add-gto install it for your user instead of this project.
What we know about this skill
Publisher
honra-io
Taken from the source listing. We haven't verified who controls this account.
Install target
Live repository
Not pinned. Installing fetches whatever the repository holds at the time you run the command.
Automated safety checks
This skill failed 1 of 6 checks. A failure is not proof of bad intent; it means something in the code needs a human to look at it before you run it.
No undeclared network calls: failed
Contacts 1 host that is neither well-known infrastructure nor declared in the skill's frontmatter: id-service.com.
Every host the skill dials — from its scripts, its config endpoints or the commands it tells the agent to run — is either well-known package and API infrastructure or declared in its own frontmatter. Links in documentation are not counted.
Hosts contacted
id-service.comundeclaredWhat it found
- references/types-custom-types.md:116contacts id-service.com
const response = await fetch('https://id-service.com/new');
Declares what it does: passed
SKILL.md parses and declares a name and a description.
SKILL.md exists, its frontmatter parses, and it declares a name and a description.
No obfuscated payloads: passed
No encoded or obfuscated payloads.
No base64, hex or compressed blob is decoded and then executed, and no encoded shell commands.
No credential access: passed
Reads no keys, tokens, keychains or credential files.
Neither the code nor the SKILL.md instructions read SSH keys, cloud credentials, keychains, token stores, browser cookie databases or dotfiles that hold secrets.
No pipe-to-shell installers: passed
No pipe-to-shell or download-and-run installers.
No `curl … | sh` pattern, in the code or in the instructions, that runs code fetched at run time.
Pinned to a commit: passed
Scanned honra-io/drizzle-best-practices at c1bc07273a.
The exact upstream commit SHA that was scanned is recorded, so the result refers to specific bytes.
- Commit
- c1bc07273a
- Manifest
- SKILL.md
- Scanned
- 27 files, 3,454 lines
About this skill
What it does
This skill provides best practices for using Drizzle, a lightweight ORM (Object Relational Mapper) for Next.js and React applications that connects to various SQL databases. It helps ensure efficient data management, clean code organization, and optimal performance when working with relational databases in your projects. The skill focuses on structuring database interactions within the Drizzle framework.
When to use it
- Setting up a new Next.js project: Utilize this skill during initial project setup to establish a solid foundation for database interaction using Drizzle's recommended patterns.
- Refactoring existing codebases: Apply these best practices when modernizing or improving the structure of projects already utilizing Drizzle.
- Troubleshooting performance issues: If you’re experiencing slow queries or inefficient data handling, this skill can guide you towards optimization strategies within the Drizzle context.
- Ensuring code maintainability: Implementing these guidelines promotes a consistent and understandable codebase for teams working on database-driven applications.
Key capabilities
- Database schema definition using TypeScript
- Query construction with type safety
- Data model structure recommendations
- Connection management best practices
- Optimized data fetching strategies within Drizzle
Example prompts
- "Show me how to define a user table schema in Drizzle."
- "What's the recommended way to handle database connections using Drizzle?"
- "Can you give me an example of a type-safe query with Drizzle?"
Tips & gotchas
This skill assumes familiarity with SQL databases and Next.js/React development. To get the most out of it, ensure your project is already set up to use Drizzle before requesting assistance.