Skip to content

aptratcn/skill-gitops-flow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

skill-gitops-flow

🚀 GitOps Workflow Patterns for AI Agents — Reliable deployment, rollback, and infrastructure management through Git

GitHub release License: MIT

The Problem

AI agents are increasingly being used for DevOps and deployment tasks. But without proper GitOps knowledge, they can:

  • Break production with bad deployments
  • Skip critical verification steps
  • Fail to plan for rollbacks
  • Make changes outside of version control

Result: Downtime, lost data, and broken systems.

The Solution

GitOps Flow teaches AI agents reliable deployment patterns:

  • Pre-flight checklists before any deployment
  • Multiple deployment strategies (standard, blue-green, canary)
  • Rollback procedures for every platform
  • Infrastructure as code patterns
  • Health check templates
  • Incident response flows

Key Features

  • Pre-flight checklist — Never skip critical steps
  • 4 deployment strategies — Standard, hotfix, blue-green, canary
  • Rollback guides — Git, Kubernetes, Docker, Database
  • Health check scripts — HTTP, database, dependency checks
  • CI/CD templates — GitHub Actions example
  • Post-mortem template — Learn from failures
  • Anti-patterns list — Common mistakes to avoid

Quick Start

  1. Copy SKILL.md to your agent's skill directory
  2. Reference it when planning deployments
  3. Use checklists before any infrastructure change

For OpenClaw

clawhub install skill-gitops-flow

Why This Matters

The Tracer-Cloud/opensre project (2K+ stars, trending) shows that AI-powered SRE/DevOps agents are becoming mainstream. This skill provides the GitOps knowledge that every such agent needs.

Key insight: 90% of incidents are caused by deployment issues. Proper GitOps patterns dramatically reduce this risk.

What's Inside

Section Description
Pre-Flight Checklist 9 items to verify before deploying
Deployment Flow Standard, hotfix, blue-green, canary
Rollback Procedures Git, Kubernetes, Docker, Database
Infrastructure Patterns Directory structure, ConfigMap, Secrets
Health Checks HTTP, database health check scripts
CI/CD Pipeline Complete GitHub Actions example
Incident Response 7-step flow + post-mortem template

Deployment Strategies

Standard Flow

Develop → Test → Review → Merge → Deploy → Verify → Monitor

Blue-Green

Current (Blue) → Deploy Green → Verify → Switch Traffic

Canary

95% Old + 5% New → Monitor → Gradually shift → 100% New

Emergency Hotfix

Main branch → Minimal fix → Fast-track → Deploy → Backport

Integration Examples

Works with any agent framework:

Framework How to Use
OpenClaw Install via ClawHub
Claude Code Add to .claude/ directory
Cursor Add to .cursorrules
Copilot Add to .github/copilot-instructions.md

Contributing

Issues and PRs welcome! Share your deployment patterns.

License

MIT


Built by aptratcn — Part of the awesome-agent-skills collection.

About

GitOps Workflow Patterns for AI Agents. Reliable deployment, rollback, and infrastructure management. Blue-green, canary, CI/CD templates, health checks — pure markdown, zero dependencies.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors