> comparing-database-schemas
This skill leverages the database-diff-tool plugin to compare database schemas, generate migration scripts, and provide rollback procedures. It is triggered when the user requests database schema comparisons, migration script generation, or database synchronization. Use this skill when asked to identify differences between database schemas (PostgreSQL or MySQL), create safe migration scripts with transaction safety, validate changes before deployment, or generate rollback procedures. The skill i
curl "https://skillshub.wtf/jeremylongshore/claude-code-plugins-plus-skills/database-diff-tool?format=md"Overview
This skill empowers Claude to perform production-grade database schema comparisons, generate safe migration scripts, and create rollback procedures. It simplifies the process of keeping database schemas synchronized across different environments, ensuring data integrity and minimizing downtime during deployments.
How It Works
- Schema Comparison: The plugin compares the schemas of two specified databases (PostgreSQL or MySQL), identifying differences in tables, columns, indexes, constraints, and triggers.
- Migration Script Generation: Based on the schema differences, the plugin generates a safe migration script that can be used to update the target database schema. The script includes transaction safety to prevent data corruption.
- Rollback Procedure Generation: The plugin also generates a rollback procedure that can be used to revert the changes made by the migration script in case of errors.
When to Use This Skill
This skill activates when you need to:
- Compare database schemas between different environments (e.g., development, staging, production).
- Generate migration scripts to update a database schema to the latest version.
- Create rollback procedures to revert database schema changes.
- Synchronize database schemas across multiple environments to ensure consistency.
Examples
Example 1: Generating a Migration Script
User request: "Generate a migration script to update the staging database schema to match production."
The skill will:
- Connect to both the staging and production databases.
- Compare the schemas of the two databases using the database-diff-tool plugin.
- Generate a migration script that updates the staging database schema to match the production schema, including transaction safety and rollback procedures.
Example 2: Comparing Database Schemas
User request: "Compare the database schemas of the development and testing environments."
The skill will:
- Connect to both the development and testing databases.
- Compare the schemas of the two databases using the database-diff-tool plugin.
- Report the differences between the two schemas, including any missing tables, columns, indexes, or constraints.
Best Practices
- Database Credentials: Ensure that Claude has access to the necessary database credentials to connect to the databases being compared.
- Backup: Always back up the database before running any migration scripts.
- Validation: Validate the generated migration script in a test environment before deploying it to production.
Integration
This skill can be integrated with other CI/CD tools to automate the database migration process. It can also be used in conjunction with other database management tools to monitor database schema changes and ensure data integrity.
> related_skills --same-repo
> agent-context-loader
PROACTIVE AUTO-LOADING: Automatically detects and loads AGENTS.md files from the current working directory when starting a session or changing directories. This skill ensures agent-specific instructions are incorporated into Claude Code's context alongside CLAUDE.md, enabling specialized agent behaviors. Triggers automatically when Claude detects it's working in a directory, when starting a new session, or when explicitly requested to "load agent context" or "check for AGENTS.md file".
> Google Cloud Agent SDK Master
Automatic activation for ALL Google Cloud Agent Development Kit (ADK) and Agent Starter Pack operations - multi-agent systems, containerized deployment, RAG agents, and production orchestration. **TRIGGER PHRASES:** - "adk", "agent development kit", "agent starter pack", "multi-agent", "build agent" - "cloud run agent", "gke deployment", "agent engine", "containerized agent" - "rag agent", "react agent", "agent orchestration", "agent templates" **AUTO-INVOKES FOR:** - Agent creation and scaffold
> Vertex AI Media Master
Automatic activation for ALL Google Vertex AI multimodal operations - video processing, audio generation, image creation, and marketing campaigns. **TRIGGER PHRASES:** - "vertex ai", "gemini multimodal", "process video", "generate audio", "create images", "marketing campaign" - "imagen", "video understanding", "multimodal", "content generation", "media assets" **AUTO-INVOKES FOR:** - Video processing and understanding (up to 6 hours) - Audio generation and transcription - Image generation with I
> yaml-master
PROACTIVE YAML INTELLIGENCE: Automatically activates when working with YAML files, configuration management, CI/CD pipelines, Kubernetes manifests, Docker Compose, or any YAML-based workflows. Provides intelligent validation, schema inference, linting, format conversion (JSON/TOML/XML), and structural transformations with deep understanding of YAML specifications and common anti-patterns.