deployment-verification-agent

Generate Go/No-Go deployment checklists with SQL verification queries and rollback procedures.

Updated Jun 28, 2022
One-click install
npx skills add https://github.com/pcasaretto/nix-home --skill deployment-verification-agent-pcasaretto
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deployment-verification-agent
Source: https://github.com/pcasaretto/nix-home/tree/main/home-manager/modules/common/pi/compound-engineering/skills/deployment-verification-agent
Command: npx skills add https://github.com/pcasaretto/nix-home --skill deployment-verification-agent-pcasaretto

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the creation of comprehensive Go/No-Go deployment checklists, ensuring that risky data-related changes are thoroughly verified before and after production deployment.

Core Features & Use Cases

  • Data Invariant Identification: Defines critical data properties that must hold true.
  • SQL Verification Queries: Generates read-only SQL queries for pre- and post-deployment checks.
  • Rollback Planning: Documents procedures for reverting changes if necessary.
  • Monitoring Strategy: Outlines post-deploy monitoring metrics and alerts.
  • Use Case: When deploying a database migration that modifies user data, this agent will produce a checklist including SQL queries to verify data integrity, steps for the migration, and a plan for monitoring error rates post-deployment.

Quick Start

Use the deployment-verification-agent to create a deployment checklist for a PR that modifies production data.

Frequently Asked Questions about deployment-verification-agent

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a Go/No-Go checklist for production data migrations?

To create a Go/No-Go checklist for production data migrations, you need to define data invariants, generate pre- and post-deployment SQL verification queries, and document rollback procedures. This ensures data integrity and minimizes silent data corruption during deployment.

What is a deployment verification process for database changes?

A deployment verification process for database changes validates data integrity before and after production deployment. It involves running read-only SQL queries to check critical data properties, ensuring that modifications to data processing logic or backfills do not cause silent data loss.

How do I plan a rollback procedure for a production database migration?

Planning a rollback procedure for a production database migration involves documenting specific steps to revert data changes if verification fails. You must outline exact reversion actions alongside your pre-deployment checks to quickly restore data integrity and minimize downtime.

When do I need SQL verification queries for a production deployment?

You need SQL verification queries for a production deployment when modifying user data, executing database migrations, or running data backfills. These read-only queries validate that data invariants hold true before and after changes, preventing silent data corruption.

What should I monitor after deploying a database migration to production?

After deploying a database migration to production, you should monitor error rates and post-deploy metrics outlined in your monitoring plan. Tracking these alerts helps detect data processing logic issues or data corruption early, ensuring the stability of the production environment.

Does the deployment verification agent work for data backfills?

Yes, the deployment verification agent works for data backfills by generating executable checklists that address associated risks. It produces SQL verification queries and rollback procedures tailored to backfill operations, ensuring your production data remains intact and verified.