0xdarkmatter/claude-mods/ci-cd-ops
Claude Code and agent skill by 0xdarkmatter/claude-mods
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
CI/CD pipeline patterns with GitHub Actions, release automation, and testing strategies. Use for: github actions, workflow, CI, CD, pipeline, deploy, release, semantic release, changesets, goreleaser, matrix, cache, secrets, environment, artifact, reusable workflow, composite action.
Install
npx vskill@latest install 0xdarkmatter/claude-mods/ci-cd-opsSKILL.md
CI/CD Operations
Comprehensive patterns for continuous integration, delivery, and deployment using GitHub Actions, release automation tools, and testing pipelines.
GitHub Actions Quick Reference
Workflow File Anatomy
Core Syntax Elements
| Element | Purpose | Example | |
|---|---|---|---|
on | Event triggers | push, pull_request, schedule | |
jobs.<id>.runs-on | Runner selection | ubuntu-latest, self-hosted | |
jobs.<id>.needs | Job dependencies | needs: [build, lint] | |
jobs.<id>.if | Conditional execution | if: github.event_name == 'push' | |
jobs.<id>.strategy.matrix | Parallel variants | node-version: [18, 20, 22] | |
jobs.<id>.environment | Deployment target | environment: production | |
jobs.<id>.permissions | Token scope | contents: write | |
steps[*].uses | Use an action | uses: actions/checkout@v4 | |
steps[*].run | Run a command | run: npm test | |
steps[*].env | Step environment | env: { CI: true } |
Trigger Decision Tree
| Scenario | Trigger | Config | |
|---|---|---|---|
| Run tests on every PR | pull_request | branches: [main] | |
| Deploy on merge to main | push | branches: [main] | |
| Release on version tag | push | tags: ['v*'] | |
| Nightly builds | schedule | cron: '0 2 * * *' | |
| Manual deployment | workflow_dispatch | inputs: { environment: ... } | |
| Called by another workflow | workflow_call | inputs:, secrets: | |
| On PR label change | pull_request | types: [labeled] | |
| On issue comment | issue_comment | types: [created] | |
| On release published | release | types: [published] | |
| On package push | registry_package | types: [published] |
Trigger Filter Patterns
Caching Strategies
| Ecosystem | Action / Key | Path | Restore Key | |
|---|---|---|---|---|
| Node (npm) | actions/setup-node with cache: npm | Auto | Auto | |
| Node (pnpm) | actions/setup-node with cache: pnpm | Auto | Auto | |
| Go modules | actions/setup-go with cache: true | Auto | Auto | |
| Cargo | actions/cache@v4 | ~/.cargo/registry, target | cargo-${{ runner.os }}-${{ hashFiles('Cargo.lock') }} | |
| pip / uv | actions/setup-python with cache: pip | Auto | Auto | |
| Docker layers | docker/build-push-action | Uses buildx cache | type=gha or type=registry | |
| Gradle | actions/setup-java with cache: gradle | Auto | Auto | |
| Composer | actions/cache@v4 | vendor | composer-${{ hashFiles('composer.lock') }} |
Manual Cache Example
Matrix Strategy
Dynamic Matrix
Secrets Management
| Scope | Access | Use Case | |
|---|---|---|---|
| Repository secrets | All workflows in repo | API keys, tokens | |
| Environment secrets | Jobs targeting that environment | Production credentials | |
| Organization secrets | Selected repos in org | Shared service accounts | |
| OIDC tokens | Federated identity | Cloud deployment (no stored secrets) |
Secrets Best Practices
OIDC for Cloud (No Stored Secrets)
Common Workflow Patterns
Test on Pull Request
Deploy on Merge to Main
Release on Tag
Gotchas Table
| Gotcha | Problem | Fix | |
|---|---|---|---|
| Shallow clone | git describe fails, history missing | actions/checkout@v4 with fetch-depth: 0 | |
| Default permissions | GITHUB_TOKEN is read-only by default | Set permissions: explicitly | |
| Action pinning | @main can break without warning | Pin to SHA: @abc123 or @v4 | |
| Fork PR secrets | Secrets unavailable on fork PRs | Use pull_request_target carefully | |
| Concurrent deploys | Race condition on production | Use concurrency: groups | |
| Stale caches | Cache grows unbounded | Include lockfile hash in key | |
| Node.js version | setup-node defaults vary | Always specify node-version | |
| Docker layer cache | Rebuilds everything without cache | Use cache-from: type=gha | |
| Matrix + environment | Each matrix job needs approval | Use a single deploy job after matrix | |
| Path filters + required checks | Skipped jobs block merge | Use paths-filter action or make checks non-required | |
GITHUB_TOKEN in PRs | Cannot trigger other workflows | Use a PAT or GitHub App token | |
| Windows line endings | Scripts fail with \r\n | Use .gitattributes or core.autocrlf |
Expression Syntax Quick Reference
| Expression | Result | |
|---|---|---|
${{ github.event_name }} | push, pull_request, etc. | |
${{ github.ref_name }} | Branch or tag name | |
${{ github.sha }} | Full commit SHA | |
${{ github.actor }} | User who triggered | |
${{ runner.os }} | Linux, Windows, macOS | |
${{ contains(github.event.head_commit.message, '[skip ci]') }} | Check commit message | |
${{ needs.build.outputs.version }} | Output from prior job | |
${{ fromJson(steps.meta.outputs.json) }} | Parse JSON output | |
${{ hashFiles('**/package-lock.json') }} | Hash for cache keys | |
${{ format('refs/heads/{0}', matrix.branch) }} | String formatting | |
${{ toJson(matrix) }} | Debug: print matrix config |
Step Outputs
Job Outputs (for Cross-Job Communication)
Reference Files
| File | Contents | |
|---|---|---|
references/github-actions.md | Complete workflow syntax, reusable workflows, composite actions, OIDC, runners, debugging | |
references/release-automation.md | Semantic versioning, semantic-release, changesets, goreleaser, changelog, publishing | |
references/testing-pipelines.md | Test stages, parallelism, coverage, service containers, e2e in CI, deployment pipelines |
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/ci-cd-ops/SKILL.md
Popularity
- Repository stars
- 78
- Repository forks
- 9
- 7-day trend score
- 14
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 1 Apr 2026, 7 months ago.
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
[](https://verified-skill.com/skills/0xdarkmatter/claude-mods/ci-cd-ops)