Skip to main content
command CX Codex

ci-setup — Claude Code command: what it does, how to install

ci-setup — a Claude slash command that builds out a CI/CD pipeline: it reads your stack, picks a platform and writes the config for tests, Docker and deploys.

no license ★ 1,357 updated 2026-03-01

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/commands/ci-setup.md
Open on GitHub

What ci-setup does

The command takes the agent through CI/CD setup in stages: it inspects the stack and the deploy requirements, picks a platform such as GitHub Actions, GitLab CI, Jenkins, CircleCI, Azure DevOps or AWS CodePipeline, then writes the pipeline config. Whatever you type after the call lands in $ARGUMENTS and shapes that plan.

20 steps sit inside: a test matrix, dependency caching, a multi-stage Dockerfile, release strategies like blue-green and canary, database migrations, vulnerability scanning, rollback, Slack or Teams notifications, deployment audits. YAML samples cover GitHub Actions and GitLab CI, so you are not starting from an empty file.

One step needs a secret: the Snyk scan reads SNYK_TOKEN from repository settings, and the job fails without it. Closing tips stay short: catch failures early, let independent jobs run side by side.

What it helps with

  • scaffold a GitHub Actions pipeline from scratch
  • pick a CI platform that fits the stack
  • wire up secrets and per-environment variables
  • add a multi-stage Dockerfile and build caching
  • set up rollback and deploy failure alerts

Example prompts for the agent

  • /ci-setup Node.js app, tests run with npm test, deploy to staging from develop
  • /ci-setup build a GitHub Actions pipeline with a Node version matrix and node_modules caching
  • /ci-setup add vulnerability scanning and automatic rollback when a deploy fails

How to install ci-setup

Manually: put the files in place

.claude/commands/ci-setup.md

Call it with /ci-setup. For all projects use ~/.claude/commands/

Questions about ci-setup

How do I install ci-setup in Claude Code?

Place the file at .claude/commands/ci-setup.md inside your project. The command is then available as /ci-setup.

What does ci-setup do?

It takes the agent through CI/CD setup: project analysis, platform choice, pipeline config, environments, tests, Docker and deploys.

What does the vulnerability scanning step need?

A SNYK_TOKEN secret in the repository settings. The Snyk step reads secrets.SNYK_TOKEN and fails without it.

Similar slash commands

All slash commands for DevOps and infrastructure →

From the same set112

The whole set →
prepare-release The prepare-release command walks through release preparation, from checks and version updates to build validation and Git tagging. Use it when a release needs a defined checklist. CX Codex +1 ★ 1,357repo stars hotfix-deploy hotfix-deploy is a Claude Code command that guides critical fixes through incident triage, testing, release monitoring, and rollback. CX Codex +1 ★ 1,357repo stars sync-status The sync-status command for Claude Code checks GitHub–Linear sync health, queues, webhooks, failures, and data mismatches. It supports diagnosis of synchronization issues. CX Codex +1 ★ 1,357repo stars performance-auditor performance-auditor — a subagent that hunts bottlenecks: algorithm cost, N+1 queries, bundle size, wasted re-renders. You get a prioritized report. CX Codex ★ 1,357repo stars sync-linear-to-issues sync-linear-to-issues exports Linear tasks into GitHub issues while preserving issue descriptions, sprint milestones, and status mappings. CX Codex +1 ★ 1,357repo stars task-from-pr task-from-pr is a Claude Code command that transfers GitHub pull request details to a Linear task, linking PR work with project tasks. CX Codex +1 ★ 1,357repo stars memory-merge The memory-merge command consolidates multiple semantic tree nodes into one, removing duplicates and grouping related concepts under a single node. CX Codex +1 ★ 1,357repo stars sync-conflict-resolver The sync-conflict-resolver command for Claude Code identifies and resolves data conflicts between GitHub issues and Linear tasks, merging non-conflicting fields or applying a chosen strategy. CX Codex +1 ★ 1,357repo stars

More in the catalog

Project sponsors

Companies that keep this analytics open