Home / devops
DevOps
Nine skills for shipping and operating software: Dockerfile hardening, GitHub Actions workflow authoring and validation, Kubernetes manifest review, Terraform review, a Terraform apply gate against a written policy, crontab diagnosis, .env key diffs, release notes from git history and a semver advisor.
Install
In Claude Code, add the marketplace and install the plugin:
/plugin marketplace add basitalisandhu/claude-skills
/plugin install devops@claude-skills
Or copy the skill files into ~/.claude/skills/ from a clone:
git clone https://github.com/basitalisandhu/claude-skills
cd claude-skills
python3 install.py --user --only devops
Skills
| Skill | What it does | Scripts |
|---|---|---|
| cron-doctor | Make cron jobs run when they should: a bundled script validates every crontab line, explains each schedule in plain words with its next runs, and flags missing output redirection, unescaped percent signs, PATH assumptions, day-of-month plus day-of-week confusion, DST-sensitive hours, overlaps and duplicates; then the entries are fixed with locking and logging. | yes |
| dockerfile-hardening | Harden a Dockerfile before the image ships: a bundled script flags running as root, unpinned base images or the latest tag, secrets in ENV or ARG, remote scripts piped to a shell, uncleaned apt layers, world-writable files and no HEALTHCHECK, and the file is rewritten as a smaller, pinned, non-root multi-stage build. | yes |
| env-diff | Compare the keys of .env.example against real .env files with a bundled script, listing missing, extra, empty and duplicate keys without ever printing a value. | yes |
| github-actions-author | Write or review GitHub Actions workflows in .github/workflows with least-privilege permissions, SHA-pinned actions, timeouts, concurrency and caching, checked by a bundled linter for missing or too permissive permissions, pull_request_target checkout of forks, expression injection in run steps, unpinned actions and literal secrets. | yes |
| k8s-manifest-review | Review Kubernetes manifests (Deployments, StatefulSets, DaemonSets, Jobs, CronJobs, Pods, Services, Secrets) with a bundled script for missing limits and probes, privileged or root containers, latest or mutable image tags, host namespaces, hostPath mounts, inline secrets and no seccomp, then write corrected, production-ready YAML. | yes |
| release-notes | Generate release notes from a git commit range with a bundled script that groups commits by Conventional Commits type (breaking, features, fixes, performance, docs, build), links commits and issues, and lists contributors; then edit them into notes a user can read. | yes |
| semver-advisor | Decide the next version number (major, minor, patch or a pre-release) for a library, service, REST API, CLI or schema from the actual changes, with a table of what counts as a breaking change for each, and explain the bump with evidence. | no |
| terraform-apply-gate | Decide whether a saved Terraform plan may be applied under the team's written rules: a bundled script checks the plan JSON against a small YAML policy (forbidden destroys by type, required tags, a replacement ceiling, protected names, allowed providers) and prints allow, ask or block with a reason per resource. | yes |
| terraform-review | Review Terraform or OpenTofu files (main.tf, modules, variables) against a checklist: state and backend safety, version pinning, typed and validated variables, secrets in variables, public exposure (open security groups, public buckets, 0.0.0.0/0), missing encryption and logging defaults, lifecycle and destroy protection. | no |
Plugin README
Nine skills for shipping and operating software: Dockerfile hardening, GitHub Actions authoring and validation, Kubernetes manifest review, Terraform review, a Terraform apply gate, crontab diagnosis, .env key diffs, release notes from git history, and a semver advisor.
Find this when you search for: Docker image too big, CI pipeline timeout, terraform plan policy, prevent terraform destroy.
Install
/plugin marketplace add basitalisandhu/claude-dev-skills
/plugin install devops@claude-dev-skills
Skills then appear as /devops:<skill>. Scripts need Python 3.11 or newer on PATH as python3; they use the standard library only and make no network calls.
Skills
| Skill | Triggers on | Produces |
|---|---|---|
dockerfile-hardening | review, slim or write a Dockerfile | dockerfile_lint.py findings, pinned non-root multi-stage build |
github-actions-author | add CI, review workflows, unpinned actions | gha_lint.py findings, least-privilege workflow from templates |
k8s-manifest-review | review or harden Kubernetes YAML | k8s_review.py findings, restricted-baseline manifests |
terraform-review | review Terraform code or a module | checklist findings, plan reading, rules to automate |
terraform-apply-gate | can we apply this plan, pre-apply CI step | terraform_apply_gate.py allow, ask or block against a YAML policy |
cron-doctor | cron job did not run, ran twice, wrong time | cron_doctor.py schedule explanations, next runs, fixes |
env-diff | works locally fails in staging, onboarding config | env_diff.py missing, extra and empty keys (no values) |
release-notes | release notes, GitHub release body | release_notes.py grouped Markdown, edited for readers |
semver-advisor | is this breaking, major or minor | version decision with evidence per change |
Tests for every script live in the repository's tests/ directory; run python3 -m pytest -q at the repository root.