Cc devops skills

From seaworld008/Commonly-used-high-value-skills · View interactive version

Cc devops skills is an AI agent skill from the GitHub repository seaworld008/Commonly-used-high-value-skills. SRE, DevOps, Kubernetes, CI/CD, PromQL, Terraform, Docker, and incident operations playbook for building reliable delivery and operations workflows.

How to use this skill

Skill file

CC DevOps Skills

Use this skill when working on infrastructure, delivery pipelines, Kubernetes operations, observability, PromQL, incident response, Terraform, Docker, shell automation, and reliability engineering. It provides a unified SRE/DevOps operating model rather than a single vendor-specific command set.

The skill is inspired by the Apache-2.0 cc-devops-skills repository, but this version is self-contained for this curated skill catalog.

When to Use

Skip When

Core Capabilities

  1. Translate product and engineering needs into reliable delivery systems.
  2. Build CI/CD workflows with clear stages, caching, artifact flow, gates, and rollback paths.
  3. Design Kubernetes resources with probes, requests, limits, disruption budgets, security context, and deployment strategy.
  4. Debug live clusters using repeatable evidence gathering.
  5. Write PromQL that respects labels, cardinality, windows, and alert semantics.
  6. Review infrastructure-as-code for drift, blast radius, secrets, and lifecycle risk.
  7. Harden containers and supply-chain paths.
  8. Produce incident runbooks and postmortem-ready timelines.

Operating Principles

CI/CD Workflow

Use this pipeline shape unless the repo already has a stronger local convention:

stages:
  - lint
  - unit-test
  - build
  - security-scan
  - integration-test
  - package
  - deploy-staging
  - smoke-test
  - promote-production

For each stage, define:

CI/CD Review Checklist

Kubernetes Readiness Checklist

Kubernetes Debug Flow

Use a read-only evidence path first:

kubectl get deploy,rs,pod,svc,ingress -n <namespace> -o wide
kubectl describe pod <pod> -n <namespace>
kubectl logs <pod> -n <namespace> --previous
kubectl get events -n <namespace> --sort-by=.lastTimestamp
kubectl rollout status deploy/<name> -n <namespace>

Then isolate by layer:

PromQL Patterns

Use rate windows that match scrape interval and user impact.

sum by (service) (
  rate(http_requests_total{status=~"5.."}[5m])
)
/
sum by (service) (
  rate(http_requests_total[5m])
)

For SLO burn alerts, prefer multi-window checks:

(
  job:slo_errors_per_request:ratio_rate5m > 14.4 * 0.001
and
  job:slo_errors_per_request:ratio_rate1h > 14.4 * 0.001
)
or
(
  job:slo_errors_per_request:ratio_rate30m > 6 * 0.001
and
  job:slo_errors_per_request:ratio_rate6h > 6 * 0.001
)

PromQL Review Checklist

Terraform and IaC Checks

Incident Response Flow

1. Declare incident and assign roles.
2. Define user impact and start timeline.
3. Stabilize: rollback, disable feature, scale, or shed load.
4. Gather evidence without destroying state.
5. Communicate status on a fixed cadence.
6. Resolve or mitigate.
7. Capture follow-up actions with owners and dates.

Anti-Patterns

Output Format

For reviews:

## Findings
- Severity:
- Evidence:
- Impact:
- Fix:

## Validation
- Commands:
- Expected result:

For implementation:

## Plan
- Delivery path:
- Rollback:
- Observability:
- Security:

Boundaries

Do not run destructive cloud or cluster operations without explicit user approval. Prefer read-only inspection first. Never print or persist secrets.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.