db-reset

Reset database schema with Drizzle migrations and RLS policies.

Updated Feb 10, 2026
One-click install
npx skills add https://github.com/wordshepherd/colophony --skill db-reset
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: db-reset
Source: https://github.com/wordshepherd/colophony/tree/main/.claude/skills/db-reset
Command: npx skills add https://github.com/wordshepherd/colophony --skill db-reset

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the process of resetting and configuring your database, ensuring a clean and secure environment for development and testing.

Core Features & Use Cases

  • Database Reset: Drops and recreates all tables using Drizzle ORM.
  • Migration Application: Applies all database migrations, including Row Level Security (RLS) policies.
  • RLS Enforcement: Creates and configures the app_user role for RLS.
  • Optional Seeding: Can seed the database with test data.
  • Use Case: Before starting a new development cycle or after encountering database inconsistencies, use this Skill to quickly revert to a known good state.

Quick Start

Reset the development database by running the db-reset skill.

Frequently Asked Questions about db-reset

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

FAQPage Schema
How do I reset my database schema using Drizzle migrations?

To reset your database schema, this Skill drops and recreates all tables using Drizzle ORM, then runs all pending migrations. It reverts your database to a clean state for development and testing environments.

How do I apply Row Level Security policies when resetting a database?

Applying Row Level Security policies during a database reset involves creating and configuring the `app_user` role. This Skill enforces RLS automatically after running Drizzle migrations to secure your data.

Can I seed test data after running a database reset?

Yes, you can seed test data after a database reset. This Skill supports optional data seeding immediately after applying migrations and configuring RLS, enabling comprehensive testing scenarios.

What is the best way to manage database state for development environments?

The best way to manage database state for development is automating the reset process. This Skill drops and recreates tables, runs migrations, and sets up the `app_user` role to ensure a known good state.

Do I need Drizzle ORM to drop and recreate tables with RLS?

Yes, Drizzle ORM is required to drop and recreate tables and manage migrations. This Skill relies on Drizzle to automate the database reset and subsequently apply Row Level Security policies.