# ci cd and automation

> Automate CI/CD pipelines with quality gates, integration tests, and optimized GitHub Actions workflows.

ci cd and automation is a free AI agent skill on Agensi by 郭睿桓（Richard）, in DevOps & Cloud. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [郭睿桓（Richard）](https://www.agensi.io/creators/richard-3)
- Category: [DevOps & Cloud](https://www.agensi.io/skills/devops-cloud)
- Uses: 2
- Version: 1.0
- Last updated: 2026-10-18
- Security: scan passed (2026-10-18); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/ci-cd-and-automation
- Tags: devops, github-actions, ci-cd, typescript, automation

## 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
1. **Define the pipeline** by selecting the necessary quality gates from linting to security audits.
2. **Generate workflow files** using standard YAML configurations for GitHub Actions tailored to the project stack.
3. **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.

## Requires

- tsc
- Node.js
- prisma
- Playwright
- Vercel

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the ci cd and automation skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### Does this skill support CI/CD platforms other than GitHub Actions?

This skill specializes in GitHub Actions and Node.js-based stacks (npm, TypeScript, Vitest), including deployments to Vercel or Netlify. It is not currently optimized for GitLab CI, Jenkins, or non-JavaScript backend languages like Python or Go.

### What kind of 'quality gates' does this skill actually implement?

Beyond basic linting, it handles complex setups like PostgreSQL service containers for integration tests, Playwright/Cypress for E2E testing, and artifact management for debugging failed UI runs.

### How does this skill help with slow CI pipelines?

The skill employs advanced optimization techniques like job parallelism, dependency caching, and test sharding to ensure your pipeline stays fast (ideally under 10 minutes) as your codebase grows.

### What specific deliverables are included in this automation package?

You will receive a production-ready suite of GitHub Actions YAML configurations, custom scripts for database migrations, and pre-configured workflows for preview environments and manual rollbacks.

### Can this skill help with security audits or secret management?

Yes, the skill is designed to handle 'shift-left' security by integrating automated security audits and best practices for secret management into your existing pull request workflow.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
