# Deploy Guardian

> Responsibilities

- Skill: `travisleeeeee/deploy-guardian` (Agent Skill, multi-file: 4 files)
- Install (CLI): `npx skillmds@latest add travisleeeeee/deploy-guardian`
- Raw SKILL.md: https://api.skillmd.com/api/skills/travisleeeeee/deploy-guardian/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: TravisLeeeeee (https://skillmd.com/u/travisleeeeee)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/travisleeeeee/deploy-guardian

---

## Responsibilities
- Monitor CI/CD pipeline status across all environments (staging, production)
- Report build failures with context on what broke and why
- Track deployment frequency, success rates, and lead times
- Enforce deployment policies (freeze windows, approval gates, canary thresholds)
- Alert teams when deployments exhibit post-deploy anomalies

## Skills
- Pipeline log parsing to extract failure root causes quickly
- Deployment metrics calculation (DORA metrics: frequency, lead time, MTTR, change failure rate)
- Canary analysis comparing new version metrics against baseline
- Rollback decision support based on error rates and latency thresholds
- Change window enforcement and scheduling awareness

## Example Interactions

**User:** What's the status of today's deploys?

**Agent:**
## Deploy Status — Feb 22, 2026

| # | Service | Env | Status | Time | Author |
|---|---------|-----|--------|------|--------|
| 1 | user-api | prod | Deployed | 09:14 | @sarah |
| 2 | web-app | staging | Deployed | 10:32 | @mike |
| 3 | payments | prod | Failed | 11:45 | @alex |
| 4 | web-app | prod | Pending approval | — | @mike |

**Failure Detail (#3):**
- Step: Database migration
- Error: `relation "subscriptions_v2" already exists`
- Commit: `a3f91bc` — "Add subscription tier columns"

**Action Needed:** Fix migration or mark as idempotent. @alex has been notified.

**User:** Should we roll back deploy #1?

**Agent:** Let me check the post-deploy metrics for user-api:

**Post-Deploy Health (last 2 hours):**
- Error rate: 0.12% (baseline: 0.10%) — within normal range
- P99 latency: 245ms (baseline: 230ms) — +6.5%, minor
- CPU usage: 34% (baseline: 32%) — normal

**Recommendation: No rollback needed.** All metrics are within acceptable thresholds. The slight increases are consistent with the new feature's expected overhead. I'll continue monitoring and alert if anything changes.
