Generate pragmatic CI/CD pipelines from detected project
CI/CD Pipeline Builder

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…
--- 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
Overview
Tier: POWERFUL Category: Engineering Domain: DevOps / Automation
Manual install (npx, ZIP)
npx skills add alirezarezvani/claude-skills --skill ci-cd-pipeline-builder -g -a claude-codemkdir -p ~/.claude/skills && curl -sL https://codeload.github.com/alirezarezvani/claude-skills/tar.gz/19392f7a0826 \
| tar -xz -C ~/.claude/skills --strip-components=3 claude-skills-19392f7a0826/engineering/skills/ci-cd-pipeline-builderNew-Item -ItemType Directory -Force "$HOME\.claude\skills" | Out-Null; Invoke-WebRequest "https://m.agentalley.io/zip/aa4ba4e69ea357e91818/ci-cd-pipeline-builder.zip" -OutFile "$env:TEMP\ci-cd-pipeline-builder.zip"; Expand-Archive "$env:TEMP\ci-cd-pipeline-builder.zip" -DestinationPath "$HOME\.claude\skills" -ForceConnects with Agent Alley MCP · agentalley.io/mcp
Files included
SKILL.md3.2 KBREADME.md1.1 KBreferences/4 files · 3.8 KBscripts/2 files · 17.0 KB
Read the files here
alirezarezvani/
Show the full text90 lines
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
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
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:
python3 scripts/pipeline_generator.py --repo . --platform gitlab --output .gitlab-ci.yml
3. Validate Before Merge
- Confirm commands exist in project (
test,lint,build). - Run generated pipeline locally where possible.
- Ensure required secrets/env vars are documented.
- 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 — common pitfalls, best practices, detection heuristics, generation strategy, platform decision notes, pre-merge validation checklist, and scaling guidance
- references/github-actions-templates.md
- references/gitlab-ci-templates.md
- references/deployment-gates.md
- README.md
| 1 | |
| 2 | name "ci-cd-pipeline-builder" |
| 3 | 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." |
| 4 | |
| 5 | |
| 6 | # CI/CD Pipeline Builder |
| 7 | |
| 8 | **Tier:** POWERFUL |
| 9 | **Category:** Engineering |
| 10 | **Domain:** DevOps / Automation |
| 11 | |
| 12 | ## Overview |
| 13 | |
| 14 | 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. |
| 15 | |
| 16 | ## Core Capabilities |
| 17 | |
| 18 | Detect language/runtime/tooling from repository files |
| 19 | Recommend CI stages (`lint`, `test`, `build`, `deploy`) |
| 20 | Generate GitHub Actions or GitLab CI starter pipelines |
| 21 | Include caching and matrix strategy based on detected stack |
| 22 | Emit machine-readable detection output for automation |
| 23 | Keep pipeline logic aligned with project lockfiles and build commands |
| 24 | |
| 25 | ## When to Use |
| 26 | |
| 27 | Bootstrapping CI for a new repository |
| 28 | Replacing brittle copied pipeline files |
| 29 | Migrating between GitHub Actions and GitLab CI |
| 30 | Auditing whether pipeline steps match actual stack |
| 31 | Creating a reproducible baseline before custom hardening |
| 32 | |
| 33 | ## Key Workflows |
| 34 | |
| 35 | ### 1. Detect Stack |
| 36 | |
| 37 | |
| 38 | python3 scripts/stack_detector.py --repo . --format text |
| 39 | python3 scripts/stack_detector.py --repo . --format json > detected-stack.json |
| 40 | |
| 41 | |
| 42 | Supports input via stdin or `--input` file for offline analysis payloads. |
| 43 | |
| 44 | ### 2. Generate Pipeline From Detection |
| 45 | |
| 46 | |
| 47 | python3 scripts/pipeline_generator.py \ |
| 48 | --input detected-stack.json \ |
| 49 | --platform github \ |
| 50 | --output .github/workflows/ci.yml \ |
| 51 | --format text |
| 52 | |
| 53 | |
| 54 | Or end-to-end from repo directly: |
| 55 | |
| 56 | |
| 57 | python3 scripts/pipeline_generator.py --repo . --platform gitlab --output .gitlab-ci.yml |
| 58 | |
| 59 | |
| 60 | ### 3. Validate Before Merge |
| 61 | |
| 62 | Confirm commands exist in project (`test`, `lint`, `build`). |
| 63 | Run generated pipeline locally where possible. |
| 64 | Ensure required secrets/env vars are documented. |
| 65 | Keep deploy jobs gated by protected branches/environments. |
| 66 | |
| 67 | ### 4. Add Deployment Stages Safely |
| 68 | |
| 69 | Start with CI-only (`lint/test/build`). |
| 70 | Add staging deploy with explicit environment context. |
| 71 | Add production deploy with manual gate/approval. |
| 72 | Keep rollout/rollback commands explicit and auditable. |
| 73 | |
| 74 | ## Script Interfaces |
| 75 | |
| 76 | `python3 scripts/stack_detector.py --help` |
| 77 | Detects stack signals from repository files |
| 78 | Reads optional JSON input from stdin/`--input` |
| 79 | `python3 scripts/pipeline_generator.py --help` |
| 80 | Generates GitHub/GitLab YAML from detection payload |
| 81 | Writes to stdout or `--output` |
| 82 | |
| 83 | ## References |
| 84 | |
| 85 | [references/pipeline-design-notes.md] — common pitfalls, best practices, detection heuristics, generation strategy, platform decision notes, pre-merge validation checklist, and scaling guidance |
| 86 | [references/github-actions-templates.md] |
| 87 | [references/gitlab-ci-templates.md] |
| 88 | [references/deployment-gates.md] |
| 89 | [README.md] |
| 90 |
Details
- Updated
- Aug 30, 2026
- License
- MIT
- Stars on the repo
- ★ 26,349
- Checked
- Source
- alirezarezvani/claude-skills ↗
- Creator
- alirezarezvani · 363 listings
Similar skills
See all →
SkillAutomates CI/CD pipeline setupCI/CD and Automation
SkillAutomated semantic versioning and release workflowVersion Bump & Release Workflow
SkillOperate Orca-managed worktrees, folder contexts, terminalsOrca CLI
SkillThreaded messages, blocking ask/reply, task dispatchOrca Orchestration
SkillDeploy applications and websites to VercelVercel deploy
SkillOpen or update a pull request on pascalorg/editorOpen PRMore from alirezarezvani
SkillResume a paused experiment/ar:ar-resume — Resume Experiment
SkillShow experiment dashboard with results, active loops/ar:ar-status — Experiment Dashboard
SkillStart an autonomous experiment loop with user-selected/ar:loop — Autonomous Experiment Loop
SkillRun a single experiment iteration/ar:run — Single Experiment Iteration
SkillSet up a new autoresearch experiment interactively/ar:setup — Create New Experiment
Skill/cs:boardroom <brief/cs:boardroom — Multi-Role Boardroom Deliberation