add-db-schema

Manage database schema changes and Drizzle ORM migrations for TypeScript projects.

Updated Feb 8, 2026
One-click install
npx skills add https://github.com/raulnq/node-hono-react-monorepo --skill add-db-schema
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-db-schema
Source: https://github.com/raulnq/node-hono-react-monorepo/tree/main/.claude/skills/add-db-schema
Command: npx skills add https://github.com/raulnq/node-hono-react-monorepo --skill add-db-schema

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of creating, modifying, and migrating database schemas, ensuring consistency between your application code and your database structure.

Core Features & Use Cases

  • New Table Creation: Define and add new database tables with specified columns and constraints.
  • Table Modification: Add, remove, or alter columns in existing database tables.
  • Migration Execution: Generate and apply database migrations to update the schema.
  • Use Case: When developing a new feature that requires a new users table, use this skill to define the table schema, create the necessary Zod validation, and generate the migration files.

Quick Start

Use the add-db-schema skill to create a new table named 'products' with columns 'id', 'name', and 'price'.

Frequently Asked Questions about add-db-schema

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage database schema modifications and Drizzle ORM migrations in a TypeScript backend?

You can manage database schema modifications by defining new tables, adding or altering columns, and generating SQL migrations using Drizzle Kit within a TypeScript backend.

How do I create a new database table and generate the corresponding SQL migration?

To create a new database table, define the table schema and required columns, then use Drizzle Kit to generate and apply the corresponding SQL migration files to update the database.

Does this database schema management approach work with Zod for schema validation?

Yes, this approach integrates with Zod to provide schema validation alongside Drizzle ORM, ensuring consistency between your application code and the underlying database structure.

Can I add or modify columns in existing database tables using Drizzle migrations?

Yes, you can add, remove, or alter columns in existing database tables, which facilitates the generation and application of SQL migrations to update the schema accordingly.

What's the best way to keep my TypeScript application code consistent with my database structure?

Streamlining the creation, modification, and migration of database schemas ensures consistency between your TypeScript application code and your database structure by integrating Zod validation and Drizzle Kit.