agentleFS
nassaj2011nassaj2011/claude-skills-for-chatgpt/skills/devops-ci-cd/SKILL.md

devops-ci-cd

Skill0 starsChanged 24 days agoMITView on GitHub

Review, design and safely validate CI/CD pipelines, reproducible builds, release approvals, migrations, least-privilege secrets and rollback evidence across environments.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use when workflows/build/deployment config, migration rollout, releases, GitHub Actions, artifacts, environment drift or rollback are in …

    line 9
  2. Distinctive:

    Reduce capabilities: default read-only token; grant write permissions only to a named scoped job.

    line 14
  3. Distinctive:

    Never modify CI secrets, external environments, deployment triggers, protected branches or delete resources without explicit approval.

    line 32

≈ “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

DevOps and CI/CD — fail-closed release engineering

Activation

Use when workflows/build/deployment config, migration rollout, releases, GitHub Actions, artifacts, environment drift or rollback are in scope. Do not refactor unrelated application logic or change active production infrastructure without specific authorization.

Evidence-first pipeline

  1. Discover exact repo, commit SHA, runtime, branch protections, deploy topology, available runner permissions, job environment, external registries, backups and owner-approved window. A generic YAML example is not evidence of the user's current setup.
  2. Define immutable pipeline phases: checkout pinned source -> lint/type/unit -> contract/integration/security -> build artifact -> staging deploy -> smoke and invariant checks -> manual production authorization -> progressive rollout -> monitoring and rollback.
  3. Reduce capabilities: default read-only token; grant write permissions only to a named scoped job. Pin third-party actions to trusted immutable commits where feasible, manage secret scopes and protected environments, avoid untrusted PR artifacts/scripts, masking-only strategies or inherited secrets on fork PRs.
  4. Track artifact digests, lockfiles, SLSA-style provenance considerations and runtime compatibility. Record exact SHA, binary digest, versioned config and environment for each job.
  5. For DB schema changes, plan expand/backfill/contract, mixed-version compatibility, backup verification, long-running locks and rollback. Do not assume downgrades are data-safe after schema contraction.
  6. Simulate failure branches: lint fail, security scan unavailable, migration preflight fail, smoke fail, skipped required auth check, canceled deploy, unhealthy canary and missing backup restore evidence. Treat unknown/skipped as NOT RUN, not PASS.
  7. Define a reversible staging rollout, clear owners/approval, alert thresholds and objective abort decision. Never merge/deploy by default merely because a request asks for pipeline design.
  8. Compare proposed changes against observed CI runs; state which jobs were actually executed, pass/fail, and residual manual gates.

Expected output

  • Current-state topology + proposed workflow diff
  • Permissions table: job | token rights | secrets | environment | trigger | approval
  • Migration/rollback decision and canary failure matrix
  • Evidence register: SHA, command/job, environment, timestamp, result, not-run status
  • Explicit GO/NO-GO recommendation, approval owner and unresolved risks

Local and Web mode

examples/release-policy/ demonstrates an offline policy evaluator, not a deployer; it prevents skipped auth, unsafe migration and missing restore evidence from becoming GO. In ChatGPT Web, output a complete proposed workflow and user-run verification commands while marking jobs NOT RUN.

Safety

Never modify CI secrets, external environments, deployment triggers, protected branches or delete resources without explicit approval. Repo-local passing unit tests do not prove real production deployment readiness.

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.