db-reset

Reset and reinitialize the yaozhuanzhuan trading system database with seeds and migrations.

1|Updated Apr 6, 2026
One-click install
npx skills add https://github.com/zhu637882-stack/jiaoyi --skill db-reset-zhu637882-stack
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: db-reset
Source: https://github.com/zhu637882-stack/jiaoyi/tree/main/.qoder/skills/db-reset
Command: npx skills add https://github.com/zhu637882-stack/jiaoyi --skill db-reset-zhu637882-stack

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Reset and reinitialize the yaozhuanzhuan trading system database to a clean state by removing all data and restoring seed data. This is used when you need to recover from corruption, perform a fresh deployment, or reset a development environment.

Core Features & Use Cases

  • Provides a safe, step-by-step workflow to stop services, drop and recreate the database, apply migrations and seeds.
  • Ensures post-reset data state with samples and seed data ready for use.
  • Includes verification steps to confirm table counts and data presence.

Quick Start

Initiate a complete database reset by confirming the prompt and following the step-by-step workflow.

Frequently Asked Questions about db-reset

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

FAQPage Schema
How do I reset a PostgreSQL database to a clean state with seed data?

Resetting a PostgreSQL database to a clean state involves stopping services, dropping and recreating the database, running migrations, and applying seed data. This coordinated workflow ensures a fresh, seed-ready environment for development or testing.

What is the best way to clear all data and reinitialize a trading system database?

The best way to clear all data and reinitialize a trading system database is using a step-by-step workflow that stops services, drops the database, applies migrations, and restores seed data. This ensures safe recovery from data corruption or enables fresh deployments.

When do I need to reset and reinitialize my database?

You need to reset and reinitialize your database when you must recover from data corruption, perform a fresh deployment, or restore a development environment. It clears all data and restores seed data to a verified, ready-to-use state.

How to verify database tables and data presence after running migrations and seeds?

To verify database tables and data presence after running migrations and seeds, perform basic verification steps that confirm table counts and ensure seed data is ready for use. This validates the post-reset data state.

Does a full database reset stop services before dropping and recreating the database?

Yes, a full database reset stops services before dropping and recreating the database. This step-by-step workflow ensures safe removal of all data before applying migrations and seeds to restore a clean state.

Can I use a database reset workflow for both development testing and fresh deployments?

Yes, you can use a database reset workflow for both development testing and fresh deployments. It clears all data, applies migrations, and restores seed data, making it suitable for recovering from corruption or resetting environments.