ci-cd-pipeline-builder — Claude Code skill: setup & features
Detects project stack signals from repository files and generates baseline CI/CD pipelines for GitHub Actions or GitLab CI.
/plugin marketplace add alirezarezvani/claude-skills
/plugin install engineering-advanced-skills@claude-code-skillsWhat ci-cd-pipeline-builder does
The skill inspects project files and lockfiles using scripts/stack_detector.py. It identifies tooling and build commands, returning plain text or JSON output. The scripts/pipeline_generator.py script then takes this payload to create starter workflows for GitHub Actions or GitLab CI.
Generated configurations cover standard CI stages including lint, test, and build. Caching rules and build matrix strategies are added automatically to match the detected runtime. Deployment stages handle staging environments and manual approval gates for production rollouts.
Running the scripts requires python3. Use this skill when bootstrapping new repositories without manually copying stale YAML templates. Teams with heavily customized release infrastructure will still need to adapt the output.
What it helps with
- generate baseline workflows for GitHub Actions or GitLab CI
- detect runtimes and build commands from project lockfiles
- configure dependency caching and matrix build strategies
- set up staging and production deploy stages with approval gates
Example prompts for the agent
- Inspect repository stack and generate a GitHub Actions workflow for lint, test, and build
- Create a .gitlab-ci.yml pipeline with caching enabled for this repository
- Run scripts/stack_detector.py and output the detected stack as JSON
How to install ci-cd-pipeline-builder
1Plugin marketplace
/plugin marketplace add alirezarezvani/claude-skills/plugin install engineering-advanced-skills@claude-code-skillsThis installs the whole engineering-advanced-skills plugin with all its skills
2Skills CLI (Vercel)
npx skills add alirezarezvani/claude-skills --skill ci-cd-pipeline-builder -a claude-code3Manually: put the files in place
~/.claude/skills/ci-cd-pipeline-builder/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/ci-cd-pipeline-builder/
Manually: put the files in place
.agents/skills/ci-cd-pipeline-builder/SKILL.mdFor all projects use ~/.agents/skills/
Manually: put the files in place
.cursor/skills/ci-cd-pipeline-builder/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install alirezarezvani/claude-skills ci-cd-pipeline-builder2Manually: put the files in place
.github/skills/ci-cd-pipeline-builder/SKILL.mdPlatform CLI
gemini skills install https://github.com/alirezarezvani/claude-skills --path engineering/skills/ci-cd-pipeline-builderManually: put the files in place
.devin/skills/ci-cd-pipeline-builder/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
From the same set349
The whole set →Similar
Questions about ci-cd-pipeline-builder
How do I install ci-cd-pipeline-builder in Claude Code?
Run npx skills add alirezarezvani/claude-skills --skill ci-cd-pipeline-builder -a claude-code or install the repository via /plugin marketplace add alirezarezvani/claude-skills.
Which CI platforms does ci-cd-pipeline-builder support?
It generates configuration files for GitHub Actions (.github/workflows/ci.yml) and GitLab CI (.gitlab-ci.yml).
What dependencies are required to run the builder scripts?
You need python3 installed to execute scripts/stack_detector.py and scripts/pipeline_generator.py.
Source text
SKILL.md · MIT
--- name: "ci-cd-pipeline-builder" description: "Generate pragmatic CI/CD pipelines from detected project stack signals — fast baseline generation, repeatable checks, environment-aware deployment stages. Use when setting up CI for a new project, refactoring existing pipelines, or standardizing deployment workflows across multiple repos." --- # CI/CD Pipeline Builder **Tier:** POWERFUL **Category:** Engineering **Domain:** DevOps / Automation ## Overview Use this skill to generate pragmatic CI/CD pipelines from detected project stack signals, not guesswork. It focuses on fast baseline generation, repeatable checks, and environment-aware deployment stages. ## Core Capabilities - Detect language/runtime/tooling from repository files - Recommend CI stages (`lint`, `test`, `build`, `deploy`) - Generate GitHub Actions or GitLab CI starter pipelines - Include caching and matrix strategy based on detected stack - Emit machine-readable detection output for automation - Keep pipeline logic aligned with project lockfiles and build commands ## When to Use - Bootstrapping CI for a new repository - Replacing brittle copied pipeline files - Migrating between GitHub Actions and GitLab CI - Auditing whether pipeline steps match actual stack - Creating a reproducible baseline before custom hardening ## Key Workflows ### 1. Detect Stack ```bash python3 scripts/stack_detector.py --repo . --format text python3 scripts/stack_detector.py --repo . --format json > detected-stack.json ``` Supports input via stdin or `--input` file for offline analysis payloads. ### 2. Generate Pipeline From Detection ```bash python3 scripts/pipeline_generator.py \ --input detected-stack.json \ --platform github \ --output .github/workflows/ci.yml \ --format text ``` Or end-to-end from repo directly: ```bash python3 scripts/pipeline_generator.py --repo . --platform gitlab --output .gitlab-ci.yml ``` ### 3. Validate Before Merge 1. Confirm commands exist in project (`test`, `lint`, `build`). 2. Run generated pipeline locally where possible. 3. Ensure required secrets/env vars are documented. 4. Keep deploy jobs gated by protected branches/environments. ### 4. Add Deployment Stages Safely - Start with CI-only (`lint/test/build`). - Add staging deploy with explicit environment context. - Add production deploy with manual gate/approval. - Keep rollout/rollback commands explicit and auditable. ## Script Interfaces - `python3 scripts/stack_detector.py --help` - Detects stack signals from repository files - Reads optional JSON input from stdin/`--input` - `python3 scripts/pipeline_generator.py --help` - Generates GitHub/GitLab YAML from detection payload - Writes to stdout or `--output` ## References - [references/pipeline-design-notes.md](references/pipeline-design-notes.md) — common pitfalls, best practices, detection heuristics, generation strategy, platform decision notes, pre-merge validation checklist, and scaling guidance - [references/github-actions-templates.md](references/github-actions-templates.md) - [references/gitlab-ci-templates.md](references/gitlab-ci-templates.md) - [references/deployment-gates.md](references/deployment-gates.md) - [README.md](README.md)
© Alireza Rezvani · MIT · alirezarezvani/claude-skills