erinrugas

db-reset

Resets and reseeds development/test databases safely. Use when a clean database state is needed for debugging, migration verification, or reproducible QA scenarios.

erinrugas 1 Updated 3mo ago
GitHub

Install

npx skillscat add erinrugas/artisan-agents/db-reset

Install via the SkillsCat registry.

SKILL.md

DB Reset Skill

When to Apply

  • User requests a clean data reset.
  • Migration/seeding drift causes local breakage.
  • Test data must be rebuilt from scratch.

Workflow

  1. Confirm environment scope (local/test/staging) and risk.
  2. Identify reset command pattern from project tooling.
  3. Execute reset + seed using project-standard commands.
  4. Validate schema status and key baseline data.
  5. Report exactly what was destroyed/recreated.

Safety

  • Do not run destructive reset on production data.
  • Prefer scoped resets where supported.
  • Call out irreversible actions before execution.