- Home
- Skills
- DevOps & Cloud
- ci cd and automation
ci cd and automation
Automate CI/CD pipelines with quality gates, integration tests, and optimized GitHub Actions workflows.
Free
Works with the AI Agents you already use
ci cd and automation
Example session with this skill installed
Set up a GitHub Actions workflow for a Node.js project that includes linting, type checking with tsc, and running Vitest with coverage. Include dependency caching.
- Read your context and instructions
- Compiled the ci cd
I have generated a production-ready CI pipeline for your Node.js project. It includes caching for npm dependencies to speed up execution and parallelizes the quality gates.
GitHub Actions CI Configuration
name: CI
on:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
quality:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
- name: Type check
run: npx tsc --noEmit
- name: Run tests
run: npm test -- --coverage
- name: Build
run: npm run build
- name: Security audit
run: npm audit --audit-level=high
Next steps
- Add the
.github/workflows/ci.ymlfile to your repository. - Ensure
lint,test, andbuildscripts are defined in yourpackage.json. - Configure Branch Protection rules in GitHub to require the
qualitystatus check before merging.
Connects securely to your tools. The creator never sees your data.
About this skill
Projects without automated gates accumulate broken states and technical debt. This skill implements rigorous CI/CD pipelines to ensure no change reaches production without passing linting, type checking, tests, and builds.
What it does
- Automates quality gates by configuring mandatory checks for linting, type checking, and unit testing on every PR.
- Configures database integration using GitHub Actions services like PostgreSQL for reliable integration and API testing.
- Sets up E2E testing with Playwright or Cypress, including artifact uploading for debugging failed runs.
- Manages deployment strategies including preview deployments for PRs and manual rollback workflows.
- Optimizes pipeline speed through dependency caching, job parallelism, and test sharding strategies.
- Enforces security hygiene by integrating security audits and secret management best practices.
How it works
- Define the pipeline by selecting the necessary quality gates from linting to security audits.
- Generate workflow files using standard YAML configurations for GitHub Actions tailored to the project stack.
- Handle failures by feeding CI error logs back into the development loop for automated fixes.
Frameworks & tools
GitHub Actions, Node.js, npm, ESLint, TypeScript, Vitest, Jest, Playwright, Prisma, Vercel, and Netlify.
Why this beats prompting it yourself
Generic prompts often miss critical infrastructure details like service health checks for databases or artifact retention for failed E2E tests. This skill applies specific "shift-left" patterns and optimization strategies that keep pipelines under the 10-minute threshold.
Use cases
- Setting up a production-ready CI pipeline for a new TypeScript project.
- Adding a staging environment with automated migrations for database-backed apps.
- Implementing a rollback workflow to revert production deployments instantly.
- Parallelizing slow test suites to reduce developer wait times.
Known limitations
Focuses primarily on GitHub Actions and Node.js ecosystems. Deployment examples assume platforms like Vercel or Netlify.
How to use
Skills on Agensi run inside your AI agent. Copy the prompt, paste it into your agent, and it connects to Agensi and installs this skill for you. If a payment is needed, your agent shows it to you first.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free forever
No account required to browse
Trust & safety
Security scanned
Verified clean 2 days ago
- Free to download with an account
Requires