seed-safety

Community

Run DB seeds safely with verification.

Authorakirschke15-cmd
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It prevents accidental data loss, duplicate seeding, and unsafe migration execution by forcing a verified, idempotent, and repeatable pre-flight and post-flight protocol.

Core Features & Use Cases

  • Pre-flight DB baseline checks: Verifies project root, captures an initial row count for the target table, and detects overlap using known identifiers (slugs, names, SKUs).
  • One-time execution with immediate verification: Runs the seed or migration exactly once and re-checks the target row count to confirm the expected delta.
  • Failure-safe behavior: If counts don’t match, it blocks re-runs, directs investigation for duplicates/anomalies, and waits for user direction before any cleanup.

Quick Start

Run the skill before executing your database seed or migration to ensure you verify the working directory, capture a baseline row count, run once, and confirm the exact expected delta.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: seed-safety
Download link: https://github.com/akirschke15-cmd/Cato-Registry/archive/main.zip#seed-safety

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.