# Ci Cd Pipeline

> Use near the end of a project to generate CI and make the app deploy-ready. Produces a polyglot GitHub Actions workflow (lint, typecheck, test, build) and multi-stage Dockerfiles. The finish line is CI-green and container-ready, not an actual deploy.

- **Type:** Skill
- **Install:** `agentstack add skill-martian56-claude-engineer-ci-cd-pipeline`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [martian56](https://agentstack.voostack.com/s/martian56)
- **Installs:** 0
- **Category:** [Developer Tools](https://agentstack.voostack.com/c/developer-tools)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [martian56](https://github.com/martian56)
- **Source:** https://github.com/martian56/claude-engineer/tree/main/plugins/claude-engineer/skills/ci-cd-pipeline

## Install

```sh
agentstack add skill-martian56-claude-engineer-ci-cd-pipeline
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# CI/CD Pipeline

**Announce at start:** "I'm using claude-engineer:ci-cd-pipeline to generate CI and containerization."

## Finish line
**CI-green + container-ready. No actual deploy.** (Deploy targets/credentials are out of scope for v1.)

## What to generate
1. **GitHub Actions** - a polyglot workflow that, on PR and main:
   - installs both toolchains (uv for Python, pnpm/Bun for JS) with caching;
   - **lint** (`ruff` + `eslint`/`prettier --check`);
   - **typecheck** (`mypy`/`pyright` + `tsc --noEmit`);
   - **test** (`pytest` + `vitest run --coverage`) using **service containers** (Postgres/Redis) for integration tests;
   - **build** (frontend build + backend image build);
   - run the **four quality gates** (`claude-engineer:testing-and-quality`) as the merge condition.
2. **Multi-stage Dockerfiles** - FastAPI (uv builder → slim runtime) and the frontend (Next `output: standalone` or static build) + `.dockerignore`. These prove the app is container-ready.

## Non-negotiables
1. CI enforces the **same four gates** the local commit gate enforces - no weaker checks in CI.
2. Caching for both toolchains (don't reinstall the world each run).
3. Pin action versions and base images.

**Full detail (the complete Actions workflow, service-container config, the multi-stage Dockerfiles, prod compose notes):**
read `references/ci-and-containers.md` on demand.

## Red flags - STOP
- CI that skips a gate the local gate enforces.
- A Dockerfile that copies `.env`/secrets or `node_modules`/`.venv` (use `.dockerignore`).
- Unpinned `latest` actions or base images.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [martian56](https://github.com/martian56)
- **Source:** [martian56/claude-engineer](https://github.com/martian56/claude-engineer)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** yes
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-martian56-claude-engineer-ci-cd-pipeline
- Seller: https://agentstack.voostack.com/s/martian56
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
