devops

Automates staging-to-production promotions, deployment monitoring, and rollbacks for Cloudflare Workers.

Updated Sep 10, 2026
One-click install
npx skills add https://github.com/jacobmiller22/chrishop --skill devops-jacobmiller22
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: devops
Source: https://github.com/jacobmiller22/chrishop/tree/main/.agents/skills/devops
Command: npx skills add https://github.com/jacobmiller22/chrishop --skill devops-jacobmiller22

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Promoting code from staging to production involves coordinating git release PRs, CI/CD pipeline stages, human approval gates, edge health probes, and rollback readiness. This Skill guides AI agents through the entire ChrisShop release engineering workflow so deployments follow the enforced two-stage promotion rules without missed steps. ## Core Features & Use Cases - Production Promotion Workflow: Executes a phased staging-to-production release including preflight health checks, unpromoted commit inspection, release PR creation via GitHub CLI, and merge verification. - Deployment Pipeline Monitoring: Tracks the 5-stage GitHub Actions deploy.yml DAG, alerts the operator when the production environment approval gate is reached, and verifies post-deployment edge health. - Emergency Rollback: Executes instant Cloudflare Workers rollbacks via wrangler or the rollback.yml workflow, then confirms recovery through the /api/health endpoint. - Use Case: An operator asks to promote staging to production. The agent probes the staging edge, lists unpromoted commits, creates the release PR, monitors the deployment run, prompts for human approval at the gate, and delivers a formatted deployment report with rollback instructions. ## Quick Start Ask the agent to promote staging to production and monitor the deployment until the live edge health check passes.

Frequently Asked Questions about devops

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

FAQPage Schema
How do I promote staging to production with GitHub Actions?

Create a release PR with staging as head and production as base, verify CI checks pass, then merge. The deploy.yml workflow runs build, staging deploy, staging health probe, a human approval gate, and production deployment with health verification.

How do I rollback a Cloudflare Workers deployment?

Run pnpm exec wrangler rollback --env production to revert the edge deployment to the previous version in seconds. Alternatively trigger the rollback.yml GitHub Actions workflow with environment set to production, then verify /api/health returns healthy.

Can I deploy directly to production from a feature branch?

No. The enforce-promotion-rules CI check rejects any pull request to production that does not originate from staging. All changes must first merge into staging, pass preview deployment and checks, then promote via a release PR.

Why is my production deployment stuck in waiting state?

The deploy-production job pauses at the GitHub Actions production environment approval gate. A designated reviewer must open the workflow run, click Review deployments, select production, and approve before the deployment continues.

How do I check Cloudflare edge health before deploying?

Probe the staging health endpoint with curl -s -f https://staging-chrishop.jacobmiller22.com/api/health and confirm it returns HTTP 200 with healthy status. You can also run pnpm run deploy:prod --probe-only to check both staging and production edges.