Drizzle Orm D1

🌐Community
by jezweb · vlatest · Repository

Generates Drizzle ORM migrations and schema definitions from SQL scripts, streamlining database development workflows.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add drizzle-orm-d1 npx -- -y @trustedskills/drizzle-orm-d1
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "drizzle-orm-d1": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/drizzle-orm-d1"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

The drizzle-orm-d1 skill provides a way to interact with D1 databases using Drizzle ORM, enabling efficient querying, data manipulation, and schema management. It supports TypeScript and allows developers to define database schemas in code, making it easier to manage relational data within AI agent workflows.

When to use it

  • You need to store and retrieve structured data for an AI agent's operations.
  • You are building a serverless application that uses D1 databases on Cloudflare.
  • Your project requires type-safe database interactions with TypeScript.

Key capabilities

  • Schema-first database design using TypeScript interfaces.
  • Support for SQL queries through a type-safe API.
  • Integration with D1 databases via Cloudflare Workers.
  • Automatic migration support for schema changes.

Example prompts

  • "Create a table called users with fields id, name, and email in the D1 database."
  • "Query all users from the users table where email is '[email protected]'."
  • "Insert a new user into the users table with name 'Alice' and email '[email protected]'."

Tips & gotchas

  • Ensure your Cloudflare account has access to D1 databases before using this skill.
  • This skill assumes familiarity with TypeScript and basic SQL concepts for optimal use.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
jezweb
Installs
648

🌐 Community

Passed automated security scans.