ProSkillsLibraryFreePassScan
DevOps & Cloud

DevOps & Cloud · agent skill

CI Pipeline Builder

Fast, locked-down CI. GitHub Actions first.

What it does

Loads when it is needed

Your agent loads it when the user builds, speeds up or hardens a CI pipeline. It carries 5 rules and reads a profile.md with your details before it starts, so the output matches your brand and project.

Same prompt, with and without

Speed up and lock down CI

Prompt · Our CI takes 17 minutes and I don't like that AWS keys sit in repo secrets. Speed it up and lock it down, please.

# .github/workflows/ci.yml  (last 5 main runs: 17m02s 16m48s 17m31s 17m10s 16m55s)
name: CI
on: [push, pull_request]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@main
      - uses: actions/setup-node@v4
        with: { node-version: 20 }
      - run: npm install
      - run: npm run lint
      - run: npm run typecheck
      - run: npm test
      - run: npm run build
      - name: Deploy
        if: github.ref == 'refs/heads/main'
        env:
          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
        run: ./scripts/deploy-ecs.sh production
# repo: acme/shop-web, package-lock.json committed

Profile used: AWS, ECS Fargate, GitHub Actions; staging, production

Without the skill
Two fixes: run the checks in parallel, and swap the stored AWS keys for GitHub OIDC. Speed: lint, typecheck, test and build run serially today. Split them, use npm ci with setup-node's npm cache, cancel superseded runs, and stop running everything twice on PR branches (push to main only). Security: @main on checkout is a moving target, so pin it; default to read-only permissions and give only deploy id-token: write. on: push: { branches: [main] } pull_request: concurrency: { group: "ci-${{ github.ref }}", cancel-in-progress: true } permissions: { contents: read } jobs: check: runs-on: ubuntu-latest strategy: { matrix: { task: [lint, typecheck, test, build] } } steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: { node-version: 20, cache: npm } - run: npm ci - run: npm run ${{ matrix.task }} deploy: needs: check if: github.ref == 'refs/heads/main' && github.event_name == 'push' runs-on: ubuntu-latest environment: production permissions: { id-token: write, contents: read } steps: - uses: actions/checkout@v4 - uses: aws-actions/configure-aws-credentials@v4 with: { role-to-assume: arn:aws:iam::<acct>:role/gh-deploy, aws-region: <region> } - run: ./scripts/deploy-ecs.sh production Create the IAM role with a GitHub OIDC trust policy limited to repo:acme/shop-web, then delete the stored keys …
With the skill
CI pipeline: acme/shop-web (GitHub Actions) Baseline: median 17m02s, one serial job. After: not measured, nothing was run; expect the slowest check plus deploy. Compare with gh run list --limit 5. Graph: lint | typecheck | test in parallel -> deploy (main only, production approval) Also: SHA-pinned actions (checkout was @main), OIDC instead of stored keys, and push limited to main so PRs stop running twice. on: pull_request: push: { branches: [main] } concurrency: { group: ci-${{ github.ref }}, cancel-in-progress: ${{ github.event_name == 'pull_request' }} } permissions: { contents: read } jobs: check: runs-on: ubuntu-24.04 timeout-minutes: 10 strategy: { fail-fast: false, matrix: { task: [lint, typecheck, test] } } steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: { persist-credentials: false } - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0 with: { node-version: 20, cache: npm } - run: npm ci - run: npm run ${{ matrix.task }} deploy: needs: check if: github.ref == 'refs/heads/main' runs-on: ubuntu-24.04 timeout-minutes: 15 environment: production permissions: { contents: read, id-token: write } steps: (same checkout and setup-node steps, then npm ci && npm run build) - uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2 with: { role-to-assume: "arn:aws:iam::412398765012:role/gh-deploy-production", aws-region: eu-west-1 } - run: ./scripts/deploy-ecs.sh production For you (not applied): create the role with trust on sub = repo:acme/shop-web:environment:production; add required reviewers to the production environment; delete the two AWS key secrets and rotate the keys.

Both answers from the same model (Claude sonnet), 2026-10-16. The one without the skill was written in a separate session that never saw it. Shortened where marked with …

Install

One command, in your project

It detects your agent; add --agent all for every agent.

npx proskills-cli add ci-pipeline-builder --order <order id from your receipt>

Or copy the skill folder (the one holding SKILL.md) into the directory your agent reads, then restart it or start a new session.

AgentThis projectEvery project
Claude Code.claude/skills/~/.claude/skills/
Cursor.agents/skills/ (or .cursor/skills/)~/.cursor/skills/
Codex.agents/skills/~/.agents/skills/
Gemini CLI.agents/skills/ (or .gemini/skills/)~/.gemini/skills/

Changelog

What changed

  • v1.0.0 · 2026-10-16
    • First versioned release: Fast, locked-down CI. GitHub Actions first.
    • Scanned 100/100 before release.

Keep it current with npx proskills-cli update; your profile.md is never touched. Everyone who bought it gets the update free and an email when it lands.

Same collection

More from DevOps & Cloud

The scan checks spec compliance, token cost, clarity and security patterns. A clean scan is not a guarantee: static scanners can be evaded. Scan any skill yourself.