production-safety

Enforce migration-first policies for production database and infrastructure changes.

16|3|Updated May 5, 2026
One-click install
npx skills add https://github.com/Kevin-Liu-01/Agent-Machines --skill production-safety
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: production-safety
Source: https://github.com/Kevin-Liu-01/Agent-Machines/tree/main/knowledge/skills/production-safety
Command: npx skills add https://github.com/Kevin-Liu-01/Agent-Machines --skill production-safety

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Production environments, databases, infrastructure, and SSM parameters are high-risk assets. This skill enforces a policy that prevents direct changes to production and requires changes to go through the defined migration pipeline.

Core Features & Use Cases

  • Enforces a migration-first policy for any production-affecting change.
  • Prohibits manual alterations to production resources and ensures changes are reviewable and auditable.
  • Supports enforcement across deployments, schema changes, configuration updates, and infrastructure modifications with validated pipelines.
  • Use Case: When updating a production table schema or rotating credentials, changes are rolled out via migrations and code deployments.

Quick Start

Route any production-affecting change through the migration pipeline and verify deployment before execution.

Frequently Asked Questions about production-safety

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

FAQPage Schema
How do I prevent direct changes to production databases and infrastructure?

To prevent direct changes to production environments, you must enforce a migration-first policy. This requires routing all database schema updates, infrastructure modifications, and SSM parameter changes through a validated code-deploy migration pipeline.

Why does direct DDL in prod fail during governance reviews?

Direct DDL in prod fails governance reviews because it bypasses required audit logging and migration discipline. Production safety guardrails prohibit manual alterations, requiring changes to be reviewable, dry-run validated, and deployed via paired code migrations.

What is the best way to enforce migration discipline for SSM parameter updates?

The best way to enforce migration discipline for SSM parameter updates is by applying automated guardrails. These guardrails require code-deploy paired migrations, enforce dry-run validation, and generate audit logs for any production-affecting configuration changes.

Can I rotate production credentials without using a migration pipeline?

No, you cannot rotate production credentials without a migration pipeline. Production safety policies require credential rotations and configuration updates to go through defined migration pipelines to ensure changes are reviewable, auditable, and fully validated before execution.

Does production safety enforcement work for incident remediation?

Yes, production safety enforcement works for incident remediation. It applies guardrails that require code-deploy paired migrations and dry-run validation, ensuring that urgent infrastructure or database fixes remain auditable rather than allowing direct manual alterations.