/devsecops-cicd:cicd-field-guidefrom devsecops-cicd
Practitioner's field guide to CI/CD covering DORA metrics, platform selection (GitHub Actions, Azure DevOps, GitLab CI, Jenkins), trunk-based branching, OIDC federation, supply-chain security, GitOps, progressive delivery, monorepo tooling, and platform engineering.
Ships in devsecops-cicd. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
kubectl applyThe fundamentals from DORA — small batches, trunk-based development, fast feedback, automated testing — still determine whether any of it works.
Throughput group:
Instability group:
Reliability: SLO/SLI-based, sits alongside.
The relabeling of "stability" to "instability" and the addition of rework rate addresses a decade-long anomaly: change failure rate never loaded statistically with the other metrics.
2025 State of AI-assisted Software Development (survey of ~5,000 professionals, June–July 2025):
2024 data (baseline): "As AI adoption increased, it was accompanied by an estimated decrease in delivery throughput by 1.5%, and an estimated reduction in delivery stability by 7.2%" per 25% increase in AI adoption.
The through-line: AI raises the stakes on getting the CI/CD basics right rather than changing them.
(December 2025 AI Capabilities Model — six of seven are classic CI/CD fundamentals)
Per the 2024 DORA Report: internal developer platforms increased individual developer productivity 8% and team productivity 10% — but teams required to use platforms exclusively saw a decrease in change throughput (8%) and stability (14%). Platforms must be paved roads (opt-in golden paths), not mandates.
| Platform | Best For | Key Strength | Honest Weakness |
|---|---|---|---|
| GitHub Actions | Cloud-native, GitHub-centric teams | Ecosystem (20,000+ marketplace actions), OIDC, Environments | 6-hour job limit; third-party action supply-chain risk |
| Azure DevOps | Microsoft-stack enterprise | Most mature deployment-environment/approval model | Migrating GUI pipelines to YAML (do this now) |
| GitLab CI | All-in-one DevSecOps | SCM + CI + security + registry in one; CI/CD Catalog (GA) | Vendor lock-in risk |
| Jenkins | Air-gapped, maximum flexibility, existing investment | 1,800+ plugins, any VCS | Losing share; self-managed infra; dated UX; high TCO in DevOps engineer time |
| Bitbucket Pipelines | Atlassian/Jira shops | Native Jira integration, zero-config deployment tracking | Hard deprecation deadline (app passwords); fewer Actions minutes |
GitHub Actions key capabilities:
environment:<env> subject, not just branches)kubernetes-novolume modeGITHUB_TOKEN permissions; set explicit permissions blocksworkflow_call) vs composite actions vs custom JS/Docker actionsAzure DevOps Pipelines key capabilities:
sc://<org>/<project>/<connection>) instead of a client secret; use the one-click Convert tool or bulk PowerShell for migration — treat as mandatoryGitLab CI key capabilities:
include; catalog hosts hundreds of components, limit raised to 100 per project in 18.5)Bitbucket Pipelines — URGENT:
oidc: true, $BITBUCKET_STEP_OIDC_TOKEN)bitbucket-pipelines.yml) + Pipes ecosystem + OIDC for cloud authJenkins honest assessment:
DORA research (based on 33,000+ professionals) identifies TBD as a key predictor of elite performance. Atlassian now labels GitFlow a "legacy workflow"; GitFlow's creator recommends against it for continuous delivery.
| Strategy | When to Use |
|---|---|
| Trunk-based development | SaaS/web apps, strong CI/CD, continuous deployment — the default |
| GitHub Flow (main + short-lived feature branches) | Pragmatic middle ground for web teams wanting PR review without GitFlow complexity |
| GitFlow | Versioned/released software — mobile apps, desktop/firmware, OSS with external contributors, heavy-compliance |
The most common, well-documented anti-pattern: long-lived feature branches — they drift from trunk, compound merge conflicts, and defeat true continuous integration.
Tooling solutions:
Replace long-lived cloud service-principal secrets with short-lived OIDC tokens per run.
Platform-by-platform:
permissions: id-token: write + azure/login; bind federated credentials to GitHub Environments (environment:<env> subject), not branchesid_tokens: block)oidc: true flag, $BITBUCKET_STEP_OIDC_TOKENHard deadline: Bitbucket app passwords — brownouts June 9, 2026; permanent removal July 28, 2026.
SLSA (OpenSSF, v1.0 April 2023):
actions/attest-build-provenance + slsa-github-generator achieve L2–L3 "in an afternoon"Sigstore stack:
SBOM generators:
Critical principle: prioritize findings by exploitability (EPSS, CISA KEV), not raw CVSS count — alerting on every CVE destroys developer trust.
Verify provenance at deploy time — generating SBOMs without verification is theater.
Both are CNCF-graduated and excellent.
| Argo CD | Flux CD | |
|---|---|---|
| Wins on | Developer UX, rich web UI, SSO/RBAC, multi-cluster visibility, fast onboarding | Kubernetes-native modularity, lightweight footprint, native OCI/SOPS, air-gapped, 100% pull-based |
| Favored by | Teams where non-engineers (PMs, compliance) need sync status visibility | Platform teams building reproducible multi-cluster infrastructure |
| Shorthand | "Argo CD is for humans" | "Flux is for robots" |
| Argo Rollouts | Flagger | |
|---|---|---|
| Model | Replaces Deployment with Rollout CRD; explicit step-based control + UI | Wraps existing Deployments with zero manifest changes; automated canary lifecycle |
| Metric providers | More native providers (Prometheus, Datadog, New Relic, CloudWatch, Wavefront, Graphite) | Fewer native; same core function |
| Natural pairing | Argo CD teams | Flux teams |
| Patterns supported | Canary, blue-green, A/B, automated rollback | Same |
Always define both success-rate AND latency thresholds — error rate alone misses performance regressions.
Azure Container Apps (cleanest pattern):
activeRevisionsMode: multipleaz containerapp ingress traffic set --label-weight blue=100 green=0App Service: deployment slots with warm-up health checks; mark env-specific config as slot-sticky.
Azure Container Apps Jobs can host self-hosted CI runners.
latest) flows dev→staging→prod; rebuilding per environment is an anti-pattern| Tool | Best For | Key Feature |
|---|---|---|
| Turborepo | JS/TS workspaces, "CI is slow" problem | Content-aware hashing, local+remote caching, --filter='...[origin/main...HEAD]' |
| Nx | JS/TS to polyglot, growing monorepo | Task sandboxing (flags undeclared inputs/outputs — Turborepo lacks this), module-boundary enforcement, distributed task execution |
| Bazel | Very large multi-language orgs (Google/Stripe-scale) | Hermetic, remote execution, polyglot — steep learning curve; Stripe: ~45min→~7min |
| Lerna | Legacy (now runs on Nx under the hood) | — |
In CI: fetch-depth: 0 for git history; nrwl/nx-set-shas for correct base/head; path filtering + dynamic matrices.
--shardBackstage (Spotify, CNCF):
Commercial alternatives: Port, Cortex, OpsLevel, Roadie (managed Backstage, $35/dev/mo), Spotify Portal SaaS ($84K/yr for 200 engineers)
Decision rule: if Backstage adoption stalls near ~10% or your platform team spends most time maintaining the portal, switch to managed/commercial.
terraform plan in CI for drift detectionMigrate every CI→cloud connection to OIDC. Hard deadline: Bitbucket app-password integrations must move before June 9, 2026.
Benchmark: if any pipeline still reads a long-lived cloud secret from CI, you are not done.
Threshold: if median PR lifetime exceeds a few days or you rebuild artifacts per environment, fix this before investing in advanced tooling.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub theviziusgroup/vibe-engineering-skills --plugin devsecops-cicd4 skills in this plugin
/bitbucket-azureUse when working with Bitbucket Pipelines in Azure/Microsoft environments, or when comparing Bitbucket vs GitHub Actions vs Azure DevOps for CI/CD. Triggers on any Bitbucket Pipelines question, especially regarding Azure authentication, OIDC, deployment environments, or pricing./devsecops-pipelineUse whenever building or reviewing CI/CD security pipelines, DevSecOps GitHub Actions workflows, SAST/DAST/SCA scanning, secrets scanning, container scanning, IaC scanning, or security gates in deployment pipelines. Essential for any security-in-pipeline work./github-atlassianAdvanced practitioner reference for GitHub and the Atlassian suite (Jira, Confluence, JSM, Bitbucket) covering 2025–2026 changes: GitHub rulesets, merge queue, GHAS rebundling (Secret Protection $19/Code Security $30), Copilot agent GA, AI Credits billing, artifact attestations, EMU; Atlassian Server EOL, Rovo bundling, JSM Service Collection, Forge replacing Connect, Data Center countdown; and the GitHub↔Jira integration pattern for 50–500 engineer orgs. Use when advising on GitHub governance, Atlassian configuration, tool selection, billing strategy, or cross-platform integration.Other plugins' skills for the same job
2 plugins ship this exact skill · first indexed Aug 12, 2026