cc-devops-skills

![Mentioned in Awesome Claude Code](https://github.com/hesreallyhim/awesome-claude-code)

DevOps skills for Claude Code and Codex

Mentioned in Awesome Claude Code

A practical skill pack for DevOps work in Claude Code and Codex desktop.

This repository ships 31 skills:

  • 16 generators for scaffolding production-ready configs
  • 14 validators for linting, security checks, and dry-run validation
  • 1 debugger (k8s-debug) for cluster troubleshooting

The goal is simple: make infra and pipeline work faster without skipping correctness checks.

Quick Install

Claude Code Plugin Marketplace

BASH
/plugin marketplace add akin-ozer/cc-devops-skills
/plugin install devops-skills@akin-ozer

Codex Desktop

Skills only:

BASH
$skill-installer install https://github.com/akin-ozer/cc-devops-skills/tree/main/devops-skills-plugin/skills

Manual plugin install:

  1. Clone the repo and link the packaged plugin into your local Codex plugin directory:
BASH
git clone https://github.com/akin-ozer/cc-devops-skills.git ~/.codex/devops-skills
mkdir -p ~/plugins ~/.agents/plugins
ln -s ~/.codex/devops-skills/devops-skills-plugin ~/plugins/devops-skills
  1. Create or update ~/.agents/plugins/marketplace.json so Codex can discover the plugin:
JSON
{
  "name": "local-plugins",
  "interface": {
    "displayName": "Local Plugins"
  },
  "plugins": [
    {
      "name": "devops-skills",
      "source": {
        "source": "local",
        "path": "./plugins/devops-skills"
      },
      "policy": {
        "installation": "AVAILABLE",
        "authentication": "ON_INSTALL"
      },
      "category": "Productivity"
    }
  ]
}

If you already use ~/.agents/plugins/marketplace.json, append the devops-skills entry instead of replacing the file.

The packaged Codex manifest lives at devops-skills-plugin/.codex-plugin/plugin.json. It exists alongside the Claude manifest and points at the same skills/ directory.

Team Rollout

Add this to project-level .claude/settings.json:

JSON
{
  "extraKnownMarketplaces": {
    "devops-skills": {
      "source": {
        "source": "github",
        "repo": "akin-ozer/cc-devops-skills"
      }
    }
  }
}

Drop-In GitHub Action Wrapper

This repository also publishes a drop-in wrapper around anthropics/claude-code-action@v1.

Replace:

YAML
uses: anthropics/claude-code-action@v1

With:

YAML
uses: akin-ozer/cc-devops-skills@v1

Behavior stays compatible with upstream v1, and DevOps skills are injected by default through:

  • Marketplace: https://github.com/akin-ozer/cc-devops-skills.git
  • Plugin: devops-skills@akin-ozer

Tag policy:

  • akin-ozer/cc-devops-skills@v1 tracks this wrapper's latest v1.x.y release.
  • The wrapper internally calls anthropics/claude-code-action@v1 (tag), not a pinned SHA.

To run as pure passthrough (no auto-injection):

YAML
uses: akin-ozer/cc-devops-skills@v1
with:
  inject_devops_skills: "false"

Docs and examples:

How people use this repo

Most workflows are generator + validator loops.

MERMAID
flowchart LR
  A["Ask for generator skill"] --> B["Create artifact"]
  B --> C["Run matching validator"]
  C --> D{"Passes checks?"}
  D -- "No" --> E["Patch + re-run checks"]
  D -- "Yes" --> F["Ship to PR/CI"]

Typical prompts:

Use terraform-generator to scaffold a reusable AWS VPC module with outputs and examples.
Validate ./infra/vpc with terraform-validator and list only high-severity findings.
Use k8s-debug to diagnose pods stuck in Pending in namespace payments.

What makes these skills useful

  • Local-first validation pipelines: many validator skills run shell/Python checks directly from their scripts/ folders.
  • Tool-aware workflows: validators integrate with real tools like terraform, tflint, checkov, helm, kubeconform, actionlint, and act.
  • CRD/provider documentation lookup: Kubernetes/Helm/Terraform/Terragrunt/Ansible flows include explicit doc lookup paths for custom resources.
  • Fallback behavior is defined: when a tool is missing, many skills degrade gracefully and tell you exactly what was skipped.

Skill catalog (31)

Infrastructure as code (6)

SkillPrimary use
ansible-generatorScaffold playbooks, roles, inventories, and vars
ansible-validatorValidate/lint/security-check playbooks, roles, and inventories
terraform-generatorGenerate Terraform modules/resources/variables/outputs
terraform-validatorRun Terraform validation, linting, security audit, and planning
terragrunt-generatorScaffold Terragrunt root/child/stack layouts
terragrunt-validatorValidate Terragrunt HCL, stacks, and module wiring

CI/CD pipelines (8)

SkillPrimary use
azure-pipelines-generatorGenerate azure-pipelines.yml and reusable templates
azure-pipelines-validatorValidate syntax/security/best-practice rules for Azure Pipelines
github-actions-generatorScaffold workflows and action.yml actions
github-actions-validatorValidate and test workflows under .github/workflows
gitlab-ci-generatorGenerate .gitlab-ci.yml pipelines and job stages
gitlab-ci-validatorValidate and secure GitLab CI configs
jenkinsfile-generatorGenerate declarative/scripted Jenkinsfiles
jenkinsfile-validatorValidate Jenkinsfiles and shared-library pipeline code

Containers and Kubernetes (7)

SkillPrimary use
dockerfile-generatorCreate production-friendly Dockerfiles
dockerfile-validatorLint and security-check Dockerfiles
helm-generatorScaffold Helm charts, values, and templates
helm-validatorValidate chart structure, templates, schemas, and CRD usage
k8s-yaml-generatorGenerate Kubernetes manifests (including CRDs)
k8s-yaml-validatorValidate/lint/dry-run Kubernetes YAML
k8s-debugTroubleshoot runtime cluster failures

Observability and Logging (6)

SkillPrimary use
fluentbit-generatorGenerate Fluent Bit pipelines (INPUT/FILTER/OUTPUT)
fluentbit-validatorValidate Fluent Bit config quality and safety
logql-generatorBuild LogQL queries and alert expressions
loki-config-generatorGenerate Loki server configs for common deployment modes
promql-generatorGenerate PromQL queries, recording rules, and alerts
promql-validatorValidate and optimize PromQL queries/alerts

Scripting and Build (4)

SkillPrimary use
bash-script-generatorCreate shell scripts and CLI helpers
bash-script-validatorValidate shell scripts with ShellCheck-oriented checks
makefile-generatorGenerate Makefiles with reusable targets
makefile-validatorValidate Makefile correctness and anti-patterns

Validator Internals (examples)

These are real execution patterns inside the skill instructions and scripts:

SkillValidation pattern
terraform-validatorterraform fmt -> tflint -> terraform validate -> Checkov -> optional terraform plan
k8s-yaml-validatorCRD detection -> kubeconform schema checks -> kubectl --dry-run flow
helm-validatorhelm lint -> helm template -> kubeconform -> optional cluster dry-run
github-actions-validatoractionlint static checks + act runtime workflow tests
gitlab-ci-validatorsyntax + best-practice + security checks with strict/test-only modes
ansible-validatorsyntax/lint/check-mode + role tests + security checks
dockerfile-validatorscripted lint/security path with fallback scanning modes

Requirements

You do not need every tool for every skill. Install the tools for the domains you use.

Baseline

  • bash
  • python3 (3.8+ recommended; 3.9+ for some security tooling)

Common Toolchain by Domain

DomainCommon tools
Terraform/Terragruntterraform, tflint, terragrunt, checkov
Kubernetes/Helmkubectl, kubeconform, helm, yamllint
Dockerhadolint
GitHub Actionsactionlint, act
Shell scriptingshellcheck
Prometheuspromtool

Quick Install (macOS example)

BASH
brew install terraform tflint terragrunt helm kubeconform kubectl hadolint
brew install actionlint act shellcheck prometheus yq fluent-bit
pipx install ansible ansible-lint checkov yamllint molecule
helm plugin install https://github.com/databus23/helm-diff

Repo Layout

cc-devops-skills/
├── action.yml
├── README.md
├── LICENSE
├── docs/
│   └── drop-in-wrapper.md
├── examples/
│   └── github-actions/
│       └── iac-pr-review.yml
├── scripts/
│   └── check_upstream_action_surface.sh
├── .github/workflows/
│   └── compat-check.yml
└── devops-skills-plugin/
    ├── .claude-plugin/plugin.json
    ├── .codex-plugin/plugin.json
    └── skills/
        └── <skill-name>/
            ├── SKILL.md
            ├── scripts/
            ├── references/
            ├── assets/
            ├── examples/
            └── tests/ (or test/)

Contributing

Contributions are welcome for:

  • new skills in adjacent DevOps domains
  • better validator coverage and safer defaults
  • test fixtures and regression tests
  • improved docs/examples for real production scenarios

License

Apache-2.0