CI/CD patterns with GitHub Actions — fail fast, caching, secrets, branch protection, automated releases.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-gentleman-native:ci-cdThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Your CI pipeline is the quality gate. If it doesn't catch problems before merge, it's decoration.
Your CI pipeline is the quality gate. If it doesn't catch problems before merge, it's decoration.
.github/workflows/
├── ci.yml # On PR: lint, test, build
├── deploy.yml # On merge to main: deploy
└── release.yml # On tag: publish, create release
name: CI
on:
pull_request:
branches: [main]
push:
branches: [main]
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
quality:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- run: pnpm install --frozen-lockfile
- name: Lint
run: pnpm lint
- name: Type Check
run: pnpm type-check
- name: Unit Tests
run: pnpm test -- --coverage
- name: Build
run: pnpm build
- name: Upload Coverage
uses: actions/upload-artifact@v4
with:
name: coverage
path: coverage/
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm # Built-in pnpm caching
- uses: actions/cache@v4
with:
path: .turbo
key: turbo-${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: turbo-${{ runner.os }}-
- uses: actions/cache@v4
with:
path: apps/web/.next/cache
key: nextjs-${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
${{ secrets.MY_SECRET }}.environment: production
env:
DATABASE_URL: ${{ secrets.PROD_DATABASE_URL }}
actions/upload-artifact@v4. Use if: always() so reports are saved even on failure.continue-on-error: true to hide failures. Fix them.--frozen-lockfile. You need reproducible builds.on: pull_request only.npx claudepluginhub juanisarmiento/ecosistema-claude --plugin claude-gentleman-nativeProvides GitHub Actions patterns for CI/CD pipelines, release automation with semantic-release, changesets, goreleaser, and testing strategies including matrix, cache, secrets, and reusable workflows.
Provides CI/CD pipeline patterns for GitHub Actions and GitLab CI, including testing strategies, deployment automation, and reusable actions.
Provides GitHub Actions CI pipeline templates with standard stages (lint, type-check, test, build), environment management, secrets handling, and deployment strategies. Activates when creating or editing CI workflows.