database-backup

Community

Backup databases, prevent irreversible data loss.

Authorliauw-media
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This critical skill prevents catastrophic and irreversible data loss by enforcing mandatory database backups before any database operation, safeguarding your work and preventing costly downtime. It's based on real-world incidents of production database wipes.

Core Features & Use Cases

  • Mandatory Pre-Operation Backup: Automatically creates a database backup before running tests, migrations, seeders, or any manual queries, ensuring a safety net for all database interactions.
  • Production Safety Guards: Includes checks to warn against operating on production databases and provides robust safety wrapper scripts for common commands, minimizing risk.
  • Use Case: Before running php artisan migrate, this skill will automatically execute ./scripts/safe-migrate.sh, creating a timestamped backup of your database, ensuring you can instantly restore if the migration fails or causes unexpected issues.

Quick Start

I need to run database migrations. Use the database-backup skill to ensure my data is safe.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 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: database-backup
Download link: https://github.com/liauw-media/CodeAssist/archive/main.zip#database-backup

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.