db-guardian

Community

Protect MongoDB data with safe, audited operations.

Authorpaulinett1508-dev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

The db-guardian skill prevents dangerous MongoDB actions by enforcing backup-before-change protocols, protecting critical collections, and guiding safe migrations, cleanup, and season turnover workflows for the Super Cartola Manager.

Core Features & Use Cases

  • Max safety guardrails for destructive operations: Enforces rules like backing up before any destructive write/delete/drop-like actions, blocks high-risk patterns, and identifies protected collections that must never be reset or deleted (e.g., users, system_config, audit_logs).
  • Controlled season turnover (snapshot, cleanup, prepare next season): Provides an operational blueprint to create filesystem snapshots of final standings and financial summaries, then perform selective cleanup of game data and prepare the next season configuration.
  • Data integrity and performance readiness: Covers health checks, integrity/consistency checks (orphan detection, duplicates), required index patterns, and profiling approaches to reduce slow queries and maintain query performance.

Quick Start

Ask the db-guardian skill to generate a safe MongoDB season turnover plan for the current season, including a verified backup/snapshot step, a dry-run/confirm flow, and a selective cleanup strategy that preserves protected collections.

Dependency Matrix

Required Modules

mongoosefspath

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: db-guardian
Download link: https://github.com/paulinett1508-dev/SuperCartolaManagerv5-production/archive/main.zip#db-guardian

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.