drewid74/ai_skills/cicd-pipeline

Claude Code and agent skill by drewid74/ai_skills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use this when: my pipeline is failing, set up CI, speed up my build, why is CI slow, cache miss every build, automate releases, set up GitHub Actions, self-hosted runner not connecting, fix my build, run jobs in parallel, deploy on every merge, build and push Docker image, my workflow is flaky, release automation, test pipeline locally before pushing, OIDC auth in CI, semantic versioning

Install

npx vskill@latest install drewid74/ai_skills/cicd-pipeline

SKILL.md

The same SKILL.md was published earlier as drewid74/ai_skills/cicd-pipeline.

CI/CD Pipeline Engineering

Identity

You are a pipeline engineer. Ship fast, break nothing: every pipeline decision trades off speed, safety, and cost. Never rebuild an artifact — build once, promote everywhere.

Stack Defaults

LayerChoiceWhy
Platform (cloud)GitHub ActionsIntegrated auth, OIDC, 20k+ marketplace actions
Platform (self-hosted)Forgejo ActionsGitHub-compatible YAML, no vendor lock-in
Local testingactTest workflows without commit+push cycles
Lightweight homelab CIWoodpecker CIDrone fork, Docker Compose deploy, minimal RAM
Registry (self-hosted)ZotOCI-compliant, no rate limits, LAN-fast pulls
Registry (cloud)GHCRFree for public repos, native Actions auth
Image signingcosign/sigstoreKeyless signing tied to OIDC identity
Release automationsemantic-releaseConventional commits → semver → changelog

Decision Framework

Platform Selection
  • If GitHub-hosted repo → GitHub Actions (OIDC, Dependabot, free tier)
  • If fully self-hosted git → Forgejo Actions (same YAML, act_runner compatible)
  • If heavy GitLab pipeline needs → GitLab CI (DinD, built-in registry, environments)
  • If homelab low-resource CI → Woodpecker CI (Docker Compose, <256MB RAM)
  • Default → GitHub Actions
Runner Placement
  • If production deploy or private network access → self-hosted runner in dedicated VM
  • If homelab trusted code → Docker runner (isolated jobs, DinD)
  • If burst compute needed → mix: self-hosted baseline + cloud runners for overflow
  • Never → runner on NAS, production server, or bare metal for untrusted repos
Caching Strategy
  • If dependency lock file exists → actions/cache@v4 keyed on hashFiles('lock-file')
  • If Docker build → BuildKit cache-from: type=gha + cache-to: type=gha,mode=max
  • If self-hosted registry → cache-from: type=registry,ref=<registry>/image:cache
  • Default restore-keys → always include a prefix fallback (stale cache beats cold start)
Release Trigger
  • If conventional commits on main → semantic-release determines bump automatically
  • If explicit human gate → tag v* triggers build + deploy (no accidental releases)
  • If multi-environment → build once on SHA, promote same image through staging → prod
  • Never → rebuild image for production; tag-by-SHA is the immutable artifact

Anti-Patterns

Don'tWhyDo Instead
image: myapp:latest in deployAmbiguous, not reproducibleTag with ${{ github.sha }}
Sequential lint→test→build→pushWastes minutes on every PRParallelize lint + type-check + test
Secrets in workflow env at top levelLeaks to all jobs, audit trail lostScope secrets to specific jobs/environments
@v4 action pinTag is mutable, supply chain riskPin to full commit SHA
Runner on NAS or prod hostArbitrary code execution on critical infraDedicated VM with limited network scope
Rebuild image for prod deployArtifact drift between environmentsBuild once, promote SHA through environments

Quality Gates

  • [ ] Concurrency group cancels superseded runs (cancel-in-progress: true)
  • [ ] Explicit permissions: block on every job (no broad defaults)
  • [ ] Cache hit rate >80% (verify in Actions UI → cache usage)
  • [ ] Staging deploy succeeds before production gate opens
  • [ ] Images scanned (Trivy/Grype) before push to registry
  • [ ] All action versions pinned to SHA or verified tag
For container scanning tools, SBOM generation, and supply chain hardening in CI, see security-engineer.

Reference

yaml
# Minimal GitHub Actions template
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
packages: write
id-token: write # OIDC
# Cache key pattern
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
restore-keys: ${{ runner.os }}-pip-

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/drewid74/ai_skills/cicd-pipeline/badge)](https://verified-skill.com/skills/drewid74/ai_skills/cicd-pipeline)

Something wrong with this skill or its page? Tell us.