ai-governance
Generate and enforce policy gates for AI coding agents (Copilot, Claude Code) — real-time session hooks that deny protected-path…
Back up and restore Kubernetes workloads with Velero, and prove recovery works. Covers Velero on EKS via Flux (IRSA, S3 backup location, EBS snapshots), schedules and retention, what a backup does not contain, restore drills that restore a namespace into an isolated copy and
Claude Code
$ npx -y skills add nitinjain999/platform-skills --skill backup-dr --agent claude-code
Codex
$ npx skills add nitinjain999/platform-skills --skill backup-dr -a codex -y
Cursor
$ npx skills add nitinjain999/platform-skills --skill backup-dr -a cursor -y
Gemini CLI
$ npx skills add nitinjain999/platform-skills --skill backup-dr -a gemini-cli -y
GitHub Copilot
$ npx skills add nitinjain999/platform-skills --skill backup-dr -a github-copilot -y
OpenCode
$ npx skills add nitinjain999/platform-skills --skill backup-dr -a opencode -y
Windsurf
$ npx skills add nitinjain999/platform-skills --skill backup-dr -a windsurf -y
name: backup-dr description: Back up and restore Kubernetes workloads with Velero, and prove recovery works. Covers Velero on EKS via Flux (IRSA, S3 backup location, EBS snapshots), schedules and retention, what a backup does not contain, restore drills that restore a namespace into an isolated copy and measure recovery time, cross-cluster disaster recovery with a read-only backup location, and GameDay pairing with chaos experiments. Use when asked to "set up cluster backups", "test our restore", "what's our recovery time", "restore a deleted namespace", or "plan DR to another cluster". Breaking things on purpose → /platform-skills:chaos. Upgrade rollback by blue/green → /platform-skills:cluster-upgrade. argument-hint: "[install|schedule|drill|restore|dr|debug] [namespace or cluster]" title: "Backup and DR Command" sidebar_label: "backup-dr" custom_edit_url: null
A backup is only as good as the last time it was restored. Set up Velero, then prove each namespace comes back and measure how long it takes.
Read `references/backup-dr.md` before responding. It holds what Velero does and does not capture (and how GitOps changes that), configuration decisions, the restore drill, cross-cluster DR, rollback and troubleshooting. The working files are in `examples/backup-dr`.
**This skill is interactive by default.** With no arguments, ask what must be recoverable (namespaces, volumes, the whole cluster), the recovery point and recovery time objectives, and whether the target is the same cluster or a new one, then run `schedule` or `dr`. Never run a restore, delete a namespace, or patch a backup location yourself: produce the commands and let the user run them.
| Mode | What it does | |---|---| | `install` | The protected backup bucket from `examples/backup-dr/bucket` (versioning, noncurrent-version retention, a bucket policy that lets only break-glass roles delete versions or lift the protection), then Velero via Flux from `examples/backup-dr` with IRSA and the scoped IAM policy | | `schedule` | Schedules and retention derived from the recovery point objective; which namespaces need more frequent backups | | `drill` | Run and interpret `restore-drill.sh`; compare the measured time with the recovery time objective | | `restore` | Restore a namespace or specific resources, including into a different namespace | | `dr` | Recovery into a new cluster: Flux bootstrap first, read-only backup location, then application namespaces | | `debug` | Failed or partial backups and restores, from `velero backup/restore describe --details` and logs |
Every mode ends with:
A production-grade field handbook for platform, DevOps, SRE, and cloud engineers covering Kubernetes, Flux CD, Terraform, GitHub Actions, AWS, OPA/Rego, KEDA, Karpenter, supply chain security, Falco, observability, and more.
Generate and enforce policy gates for AI coding agents (Copilot, Claude Code) — real-time session hooks that deny protected-path…
Generate, convert, and maintain animated GitHub-safe Markdown documents with animated SVG diagrams. Covers four SVG patterns…
Manage AWS profiles for MCP servers — discover SSO, Granted and role-chain profiles, check authentication with STS, switch…
Structured guidance for AWS CloudFront distributions, WAF web ACLs, Lambda@Edge, CloudFront Functions, Firewall Manager…
Azure identity (Workload Identity, OIDC, Entra ID), resource tagging, AKS platform patterns, RBAC scoping, and…
Design, run, and debug Chaos Engineering experiments on Kubernetes using Litmus Chaos v3 and Chaos Mesh v2. Covers fault…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.