- Home
- Skills
- APIs & Backend
- CI/CD Pipeline Builder: GitHub Actions from Zero
CI/CD Pipeline Builder: GitHub Actions from Zero
by Ignasi
Generate secure, optimized CI/CD pipelines for GitHub Actions or GitLab CI with OIDC and dependency caching.
Free
CI/CD Pipeline Builder: GitHub Actions from Zero
Example session with this skill installed
My Next.js pnpm repo has no CI. I need GitHub Actions for linting, tests, and deploying to Vercel. Use OIDC for security.
- Read your context and instructions
- Compiled the ci cd pipeline
I have analyzed your repository and detected a Next.js project using pnpm. I have generated a production-grade GitHub Actions workflow that includes dependency caching, parallelized checks, and secure Vercel deployment via OIDC.
GitHub Actions Workflow: .github/workflows/ci.yml
name: CI/CD
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
id-token: write
jobs:
quality-gate:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
with:
version: 8
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'pnpm'
- run: pnpm install --frozen-lockfile
- run: pnpm lint
- run: pnpm typecheck
- run: pnpm test
deploy-preview:
if: github.event_name == 'pull_request'
needs: quality-gate
runs-on: ubuntu-latest
environment: preview
steps:
- uses: actions/checkout@v4
- name: Deploy to Vercel
run: npx vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }}
deploy-production:
if: github.ref == 'refs/heads/main'
needs: quality-gate
runs-on: ubuntu-latest
environment: production
steps:
- uses: actions/checkout@v4
- name: Deploy to Vercel
run: npx vercel deploy --prod --prebuilt --token=${{ secrets.VERCEL_TOKEN }}
Next steps
- Add
VERCEL_TOKEN,VERCEL_ORG_ID, andVERCEL_PROJECT_IDto your GitHub Repository Secrets. - Enable "Required status checks" in your branch protection settings for the
quality-gatejob. - Verify the first run duration and cache hits in the GitHub Actions tab.
Connects securely to your tools. The creator never sees your data.
About this skill
Setting up CI/CD shouldn't take all afternoon. This skill automates the transition from manual deployments to production-grade pipelines, handling everything from dependency caching to secure OIDC authentication. It eliminates the trial-and-error of YAML configuration by detecting your stack and applying industry-standard security and performance patterns.
What it does
- Automatic stack detection identifies package managers, test runners, and monorepos to generate compatible configurations.
- Performance optimization implements aggressive caching for Node.js, Python, Go, and Rust, reducing runner minutes.
- Security hardening configures OIDC for cloud providers, pins actions to commit SHAs, and sets strict permission scopes.
- Workflow orchestration builds parallelized jobs for linting, type-checking, and testing to enable fast feedback loops.
- Deployment automation generates workflows for Vercel, AWS, Fly.io, and Docker registries with environment-based approvals.
How it works
- Analyze the repository lockfiles, scripts, and Dockerfiles to map the build lifecycle.
- Configure workflow files for GitHub Actions or GitLab CI based on the detected environment.
- Optimize the pipeline using sharding, path filtering, and build-once-promote-many principles.
- Audit the generated YAML using
actionlintandzizmorfor syntax and security flaws.
Frameworks & tools
Works with GitHub Actions and GitLab CI. Supports npm, pnpm, yarn, bun, uv, poetry, pip, go, cargo, maven, and gradle. Integrates with Vercel, Netlify, Cloudflare, AWS, GCP, Azure, Fly.io, and Render.
Why this beats prompting it yourself
Generic prompts often produce insecure YAML with static keys and no caching. This skill enforces OIDC for cloud access and applies specific performance optimizations like Turbo or Next.js cache persistence that standard LLMs typically miss.
Use cases
- Migrating from manual
npm run buildsteps to automated PR checks and preview deploys. - Fixing slow CI pipelines by implementing dependency sharding and BuildKit layer caching.
- Hardening repository security by replacing long-lived AWS/GCP keys with short-lived OIDC tokens.
- Setting up a multi-stage promotion pipeline from staging to production with manual approvals.
Known limitations
Does not support Bitbucket Pipelines or Jenkins. Local verification requires act to be pre-installed on the host machine.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 11 days ago
- Free with an Agensi account
Permissions
No special permissions declared or detected
What's inside
Frequently Asked Questions
New in APIs & Backend
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for APIs & Backend.