agentleFS
Phelan164Phelan164/codex-howto/skills/operate-devops/SKILL.md

operate-devops

Skill15 starsChanged 3 months agoMITView on GitHub

Plan and implement infrastructure, CI/CD, container, deployment, observability, and operational configuration changes with least privilege, staged validation, and rollback awareness. Use for pipelines, infrastructure as code, Kubernetes, containers, release automation, monitoring, and production-readiness work; do not use to perform destructive production actions without explicit authorization.

The file

We split this skill into the rules it gives an agent

11 rules. About 0 are common, 11 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈11

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read repository and environment guidance before changing configuration.

    line 10
  2. Distinctive:

    Prefer a dry run, plan, diff, render, lint, or local build before any apply step.

    line 13
  3. Distinctive:

    Test failure behavior and rollback in the safest available environment.

    line 16
  4. Distinctive:

    Keep credentials out of code, command output, and generated artifacts.

    line 22
  5. Distinctive:

    Use least-privilege identities and scoped approvals.

    line 23
  6. Distinctive:

    Do not silently apply infrastructure because a plan succeeded.

    line 24
  7. Distinctive:

    Do not delete, force-replace, rotate, deploy, or migrate live resources without explicit authorization.

    line 25
  8. Distinctive:

    Do not weaken security controls merely to make automation pass.

    line 27
  9. Distinctive:

    Treat third-party actions, base images, and pipeline dependencies as supply-chain inputs.

    line 28
  10. Distinctive:

    Read references/change-safety.md for deployment, infrastructure, CI, secret, permission, or data-path changes.

    line 32
  11. Distinctive:

    Use repository-native commands in this order:

    line 36

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Operate DevOps

Workflow

  1. Read repository and environment guidance before changing configuration.
  2. Identify the target environment, current state, owning tool, blast radius, and approval boundary.
  3. Separate diagnosis, proposed change, apply, verification, and rollback.
  4. Prefer a dry run, plan, diff, render, lint, or local build before any apply step.
  5. Make the smallest reversible change.
  6. Validate configuration syntax and policy.
  7. Test failure behavior and rollback in the safest available environment.
  8. Review the diff for secrets, broad permissions, unpinned behavior, and unintended targets.

Guardrails

  • Confirm account, cluster, subscription, region, namespace, and environment before state-changing commands.
  • Keep credentials out of code, command output, and generated artifacts.
  • Use least-privilege identities and scoped approvals.
  • Do not silently apply infrastructure because a plan succeeded.
  • Do not delete, force-replace, rotate, deploy, or migrate live resources without explicit authorization.
  • Preserve a recovery path for availability, routing, storage, and identity changes.
  • Do not weaken security controls merely to make automation pass.
  • Treat third-party actions, base images, and pipeline dependencies as supply-chain inputs.

Change safety

Read references/change-safety.md for deployment, infrastructure, CI, secret, permission, or data-path changes.

Verification

Use repository-native commands in this order:

format/lint → validate/render → plan/diff → policy tests → staged rollout check

Report exactly which environment was inspected and which commands were not run.

Acceptance criteria

  • Target and blast radius are explicit.
  • A preview or equivalent validation was inspected.
  • Credentials and permissions follow least privilege.
  • Rollback or roll-forward steps are concrete.
  • Monitoring proves success and detects regression.
  • The final report separates proposed, executed, and unverified actions.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.