D1 Drizzle Schema
Helps with Drizzle ORM, schema design as part of working with databases and data persistence workflows.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add d1-drizzle-schema npx -- -y @trustedskills/d1-drizzle-schema
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"d1-drizzle-schema": {
"command": "npx",
"args": [
"-y",
"@trustedskills/d1-drizzle-schema"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
The d1-drizzle-schema skill enables AI agents to interact with AWS D1 databases using Drizzle ORM. It allows agents to define, manage, and query database schemas programmatically within a TypeScript environment. This integration streamlines the development of data-driven applications by bridging high-level ORM definitions with cloud-native storage.
When to use it
- Building backend services that require persistent data storage on AWS D1.
- Automating database migrations or schema updates during deployment pipelines.
- Querying structured data from an AWS D1 instance without writing raw SQL.
- Developing TypeScript applications where type safety for database records is critical.
Key capabilities
- Defines and manages AWS D1 database schemas using Drizzle ORM syntax.
- Provides type-safe access to database tables and columns.
- Facilitates CRUD operations (Create, Read, Update, Delete) through the agent.
- Integrates seamlessly with existing Drizzle ORM configurations.
Example prompts
- "Set up a new AWS D1 database schema for a user authentication system using Drizzle."
- "Query the users table to find all accounts created in the last 24 hours."
- "Update the profile information for a specific user ID in the database."
Tips & gotchas
Ensure your AI agent has the necessary permissions to access and modify the target AWS D1 instance. This skill relies on a pre-existing Drizzle ORM configuration; it does not generate standalone SQL files but rather manages the ORM schema definitions.
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 Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.