# Ci Cd

> Create and debug GitHub Actions CI/CD pipelines: workflow authoring, matrix builds, caching, secrets, deployment steps.

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

## Install

```sh
agentstack add skill-jansenanalytics-claudex-ci-cd
```

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

## About

# ci-cd

Create and debug GitHub Actions CI/CD pipelines: workflow authoring, matrix builds, caching, secrets, deployment steps.

## When to Use

- Setting up CI/CD for a new project
- Writing GitHub Actions workflows
- Debugging failed CI runs
- Optimizing build times and caching
- Adding deployment steps
- Configuring matrix builds

## Scripts

### `scripts/generate-workflow.sh  [options]`

Generate a GitHub Actions workflow from templates. Templates: `node`, `python`, `docker`, `rust`, `go`.

```bash
bash scripts/generate-workflow.sh node --name "CI" --node-version "18,20,22"
bash scripts/generate-workflow.sh python --name "Test" --python-version "3.11,3.12"
bash scripts/generate-workflow.sh docker --name "Build" --registry ghcr.io
```

### `scripts/lint-workflow.sh [path]`

Lint GitHub Actions workflow YAML files for common errors (invalid keys, bad expressions, missing required fields).

```bash
bash scripts/lint-workflow.sh .github/workflows/ci.yml
bash scripts/lint-workflow.sh .github/workflows/  # lint all
```

### `scripts/cache-optimizer.sh [path]`

Analyze workflows and suggest caching improvements (dependency caches, build caches, artifact strategies).

```bash
bash scripts/cache-optimizer.sh .github/workflows/ci.yml
```

## References

- `references/actions-syntax.md` — GitHub Actions workflow syntax quick reference
- `references/common-workflows.md` — Ready-to-use workflow snippets
- `references/matrix-strategies.md` — Matrix build patterns and fail-fast configs
- `references/caching-patterns.md` — Caching strategies by ecosystem

## Tips

- Always pin action versions to full SHA for security (e.g., `actions/checkout@v4` minimum)
- Use `concurrency` groups to cancel redundant runs on push
- Cache `node_modules` / `.venv` / `target/` for faster builds
- Use `if: always()` for cleanup steps that must run
- Set `timeout-minutes` on jobs to prevent hung builds

## Source & license

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

- **Author:** [JansenAnalytics](https://github.com/JansenAnalytics)
- **Source:** [JansenAnalytics/claudex](https://github.com/JansenAnalytics/claudex)
- **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:** no
- **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-jansenanalytics-claudex-ci-cd
- Seller: https://agentstack.voostack.com/s/jansenanalytics
- 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%.
