agentsclimarketplace

Ci cd pipeline

Skill tspry/superpowers-devops/skills/ci-cd-pipeline

Use when designing, debugging, or fixing CI/CD pipelines — GitHub Actions, GitLab CI, JenkinsFrom its SKILL.md

Install
npx -y skills add tspry/superpowers-devops --skill ci-cd-pipeline

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 3 stars3 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

2.3 KB, as published. Nobody here has run it

CI/CD Pipeline

Mode Detection

  • Repo mode — templates in tooling/ci/. Scaffold or modify pipeline configs.
  • Chat mode — user pastes pipeline config or failure logs. Diagnose and provide corrected config.

Pipeline Design Principles

  1. Fast feedback — lint and test before build; build before deploy
  2. Fail fast — stop the pipeline at the first failure
  3. Secrets via secret store — never hardcode credentials
  4. Idempotent deploys — running the same deploy twice should be safe
  5. Gate production — require passing tests before any production deploy

Standard Pipeline Stages

lint → test → build → push image → deploy staging → smoke test → deploy production

GitHub Actions

Debugging failures

# Enable debug logging by setting repository secret:
ACTIONS_STEP_DEBUG = true
ACTIONS_RUNNER_DEBUG = true

Common issues:

IssueFix
Context access might be invalidCheck secret/var name spelling
Resource not accessible by integrationAdd permissions: block to workflow
Process completed with exit code 1Read that step's full log output
Workflow not triggeringCheck on: trigger matches branch/event

Useful patterns

# Run only on main branch
on:
  push:
    branches: [main]

# Matrix builds
strategy:
  matrix:
    node-version: [18, 20, 22]

# Reuse secrets
env:
  DATABASE_URL: ${{ secrets.DATABASE_URL }}

GitLab CI

Common issues:

IssueFix
Job stuck in pendingCheck runner availability and tags
artifacts not found in later stageDefine artifacts: in the producing job
Cache not workingCheck cache: key is consistent

Jenkins

Common issues:

IssueFix
Build never startsCheck agent availability and labels
Credentials not foundVerify credential ID in Jenkins credentials store
Workspace dirtyAdd cleanWs() at start of pipeline

Tooling Templates

  • tooling/ci/github-actions/ — reusable workflow templates
  • tooling/ci/gitlab-ci/ — .gitlab-ci.yml templates
  • tooling/ci/jenkins/ — Jenkinsfile templates
  • tooling/ci/starters/ — full CI/CD setups by stack

Keep looking

Skills are one crate of 627,801. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.