CI/CD Pipeline Builder
Generates pragmatic CI/CD pipelines (GitHub Actions or GitLab CI) based on detected project stack signals, including lint, test, build, and deploy stages with caching and matrix strategy. Produces starter pipeline YAML files and machine-readable detection output.
✨ What it does
- Detects language/runtime/tooling from repository files
- Recommends CI stages (lint, test, build, deploy)
- Generates GitHub Actions or GitLab CI starter pipelines
- Includes caching and matrix strategy based on detected stack
- Emits machine-readable detection output for automation
- Keeps pipeline logic aligned with project lockfiles and build commands
🎯 When to use it
- 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
🚀 How to use
Trigger by asking to generate a CI/CD pipeline for your project, or use the provided scripts directly. Inputs: repository path or detection JSON. Example prompts:
Generate a GitHub Actions pipeline for this repo.
Create a GitLab CI pipeline for the current project.
Run python3 scripts/stack_detector.py --repo . --format json to detect stack, then python3 scripts/pipeline_generator.py --input detected-stack.json --platform github --output .github/workflows/ci.yml.
📄 Output: Starter pipeline YAML files (e.g., .github/workflows/ci.yml or .gitlab-ci.yml) and optional detection JSON.
📦 Add this skill to Claude Code
# 1. Get the skills repo
git clone --depth 1 https://github.com/alirezarezvani/claude-skills /tmp/claude-skills
# 2. Copy this skill into your project (or ~/.claude/skills for all projects)
mkdir -p .claude/skills
cp -r /tmp/claude-skills/engineering/skills/ci-cd-pipeline-builder .claude/skills/ci-cd-pipeline-builderSkill source: engineering/skills/ci-cd-pipeline-builder/SKILL.md
⚠️ Good to know
Requires Python 3 and the scripts in the skill's scripts directory; generated pipelines assume standard commands (test, lint, build) exist in the project.
❓ FAQ
What platforms does the skill support?
It supports generating pipelines for GitHub Actions and GitLab CI.
How does the skill determine the pipeline stages?
It detects the project stack from repository files and recommends stages like lint, test, build, and deploy based on that.
Can I generate a pipeline without running detection separately?
Yes, you can run the pipeline generator directly on a repo with --repo . to do end-to-end generation.
🤖 Overview, features, install steps and FAQ were generated from the project's SKILL.md on Sep 4, 2026. Always check the original source before running commands.