ci-cd

A guide to continuous integration and continuous delivery, an automated process that builds, tests, checks, deploys, and monitors software after code changes. It covers stages such as security scanning, environment promotion, and rollback.

In plain words
What is it for?
Use it to design or troubleshoot pipelines, run tests and security checks, manage build artifacts, deploy through environments, and plan rollback or gradual releases.
Why use it?
It helps teams catch problems before deployment and make releases more repeatable. It also provides safeguards for moving changes from development to production.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/saolalab/clawforce/ci-cd
Any agent
npx skills add saolalab/clawforce --skill ci-cd
Clone the repo
git clone --depth 1 https://github.com/saolalab/clawforce

Made for: Claude Code, Codex.

Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 700 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00024 $0.00700
Opus 5 $0.00012 $0.00350
Sonnet 5 $0.00005 $0.00140
Haiku 4.5 $0.00002 $0.00070

Measured 2d ago against content hash 92aa4f95ff03, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ci-cd scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

marketplace/roles/devops-engineer/workspace/skills/ci-cd/SKILL.md · 105 lines

How it starts

The opening of the file, as written. The whole thing — 105 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CI/CD Pipelines

Pipeline Architecture

Commit → Build → Test → Security Scan → Deploy → Verify → Monitor

Pipeline Best Practices

Build Stage

  • Reproducible builds — Same input = same output
  • Caching — Cache dependencies, build artifacts
  • Parallel execution — Run independent jobs concurrently
  • Artifact versioning — Tag artifacts with commit SHA

Test Stage

  • Fast feedback — Unit tests first, integration later
  • Parallelization — Split test suites across workers
  • Flaky test management — Quarantine, don't ignore
  • Coverage gates — Block PRs below threshold

Security Stage

  • SAST — Static analysis on every commit
  • Dependency scanning — Check for known CVEs
  • Secret scanning — Prevent credential leaks
  • Container scanning — Scan images before deploy

Deploy Stage

  • Environment promotion — Dev → Staging → Prod
  • Deployment gates — Approval for production
  • Rollback capability — One-click rollback
  • Blue-green/Canary — Safe production deployments

GitHub Actions Example

name: CI/CD Pipeline

on:
  push:
    branches: [main]
  pull_request:
    branches: [main]

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-node@v4
        with:
          node-version: '20'
          cache: 'npm'
      - run: npm ci
      - run: npm run build
      - uses: actions/upload-artifact@v4
        with:
          name: build
          path: dist/

  test:
    needs: build
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - run: npm ci
      - run: npm test -- --coverage

  deploy:
    needs: [build, test]
    if: github.ref == 'refs/heads/main'
    runs-on: ubuntu-latest
    steps:
      - uses: actions/download-artifact@v4
      - run: ./deploy.sh

Metrics to Track

Metric Target Description
Build time < 10 min Time from commit to artifacts ready
Test time < 15 min Time for full test suite
Deploy time < 5 min Time to deploy to production
Pipeline success rate > 95% % of pipelines completing successfully
Deployment frequency Daily+ How often we deploy to production
Lead time < 1 day Commit to production

Read the full file on GitHub · 105 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 105 lines · 24 tokens per session scan A 92aa4f95ff03

Subscribe to this mod's changes

ci-cd is a skill published in the GitHub repository saolalab/clawforce (38 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 24 tokens to every session and 700 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories