From agents
Design, optimize, and debug CI/CD pipelines. GitHub Actions and GitLab CI patterns. Use for pipeline work. NOT for infrastructure provisioning (infrastructure-coder) or app code.
npx claudepluginhub wyattowalsh/agents --plugin agentsThis skill uses the workspace's default tool permissions.
CI/CD pipeline design, optimization, and deployment strategy. 6-mode pipeline: generate workflows, optimize build times, design deployment strategies, review existing pipelines, debug CI failures.
evals/debug-mode.jsonevals/explicit-pipeline.jsonevals/implicit-trigger.jsonevals/negative-control.jsonevals/pipeline-create.jsonevals/review-mode.jsonreferences/artifact-management.mdreferences/ci-failure-triage.mdreferences/deployment-strategies.mdreferences/github-actions-patterns.mdreferences/gitlab-ci-patterns.mdreferences/pipeline-optimization.mdreferences/pipeline-review-checklist.mdscripts/log-parser.pyscripts/pipeline-cost-estimator.pyscripts/workflow-analyzer.pytemplates/dashboard.htmlCreates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
CI/CD pipeline design, optimization, and deployment strategy. 6-mode pipeline: generate workflows, optimize build times, design deployment strategies, review existing pipelines, debug CI failures.
Scope: CI/CD pipelines and deployment automation only. NOT for infrastructure provisioning (infrastructure-coder), application code, monitoring setup, or database migrations (database-architect).
Use these terms exactly throughout all modes:
| Term | Definition |
|---|---|
| workflow | A CI/CD pipeline definition file (.github/workflows/*.yml, .gitlab-ci.yml) |
| job | A named unit of work within a workflow containing one or more steps |
| step | A single action within a job (run command, uses action) |
| stage | A logical grouping of jobs (build, test, deploy) |
| artifact | Build output passed between jobs or stages |
| cache | Dependency/build cache persisted across runs to reduce build time |
| matrix | Parameterized job expansion across multiple configurations |
| concurrency group | Mutual exclusion mechanism preventing parallel runs |
| environment | Deployment target with protection rules (staging, production) |
| promotion | Moving artifacts through environments (dev -> staging -> prod) |
| rollback | Reverting a deployment to a previous known-good state |
| canary | Incremental traffic shift to new version (1% -> 5% -> 25% -> 100%) |
| blue/green | Two identical environments with instant traffic switch |
| rolling | Gradual instance-by-instance replacement |
| gate | Manual or automated approval checkpoint before deployment proceeds |
| runner | Execution environment for CI/CD jobs (GitHub-hosted, self-hosted) |
| reusable workflow | Callable workflow template invoked from other workflows |
| composite action | Multi-step action packaged as a single reusable unit |
| $ARGUMENTS | Mode |
|---|---|
pipeline <requirements> | Generate: new CI/CD workflow from requirements |
action <description> | Action: GitHub Action step/job generation |
optimize <workflow> | Optimize: pipeline build time optimization |
deploy <strategy> | Deploy: deployment strategy design |
review <workflow> | Review: audit existing pipeline |
debug <logs> | Debug: analyze CI failure logs |
| Natural language about CI/CD | Auto-detect appropriate mode |
| Empty | Show mode menu with examples |
pipeline)Design and generate CI/CD workflow files from requirements.
references/github-actions-patterns.md or references/gitlab-ci-patterns.mduv run python skills/devops-engineer/scripts/workflow-analyzer.py <file> on generated outputComplete workflow YAML file written to the appropriate location.
action)Generate individual GitHub Action steps or jobs.
references/github-actions-patterns.mduses, with, env configurationOutput: YAML snippet ready for insertion into a workflow file.
optimize)Analyze and optimize pipeline build times.
uv run python skills/devops-engineer/scripts/workflow-analyzer.py <workflow>uv run python skills/devops-engineer/scripts/pipeline-cost-estimator.py <workflow>references/pipeline-optimization.mddeploy)Design deployment strategies with rollback plans.
references/deployment-strategies.md| Factor | Blue/Green | Canary | Rolling |
|---|---|---|---|
| Rollback speed | Instant | Fast | Slow |
| Resource cost | 2x | 1.1-1.5x | 1x |
| Risk exposure | None (pre-switch) | Gradual | Gradual |
| Complexity | Medium | High | Low |
| Best for | Critical services | High-traffic APIs | Cost-sensitive apps |
review)Audit an existing CI/CD pipeline for issues and improvements.
uv run python skills/devops-engineer/scripts/workflow-analyzer.py <workflow>references/pipeline-review-checklist.mddebug)Analyze CI failure logs to identify root causes and fixes.
uv run python skills/devops-engineer/scripts/log-parser.py <logfile>references/ci-failure-triage.md| Category | Examples | Common Fixes |
|---|---|---|
| dependency | Version conflict, missing package, registry timeout | Pin versions, add retry, use cache |
| build | Compilation error, type error, out of memory | Fix code, increase runner memory |
| test | Assertion failure, flaky test, timeout | Fix test, add retry for flaky, increase timeout |
| lint | Format violation, rule violation | Run formatter, update config |
| deploy | Permission denied, health check fail, resource limit | Fix permissions, check config, scale resources |
Load ONE reference at a time. Do not preload all references into context.
| File | Content | Read When |
|---|---|---|
references/github-actions-patterns.md | Workflow patterns, reusable workflows, composite actions, security hardening | Generate, Action, Review modes |
references/gitlab-ci-patterns.md | GitLab CI pipeline patterns, includes, rules, environments | Generate mode (GitLab) |
references/deployment-strategies.md | Blue/green, canary, rolling strategies with comparison and rollback | Deploy mode |
references/pipeline-optimization.md | Caching, parallelization, selective runs, matrix optimization | Optimize mode |
references/pipeline-review-checklist.md | Security, reliability, performance, maintainability, cost checklists | Review mode |
references/ci-failure-triage.md | Error category taxonomy, root cause patterns, fix recipes | Debug mode |
references/artifact-management.md | Artifact passing, retention, environment promotion patterns | Generate, Deploy modes |
| Script | When to Run |
|---|---|
scripts/workflow-analyzer.py | Analyze workflow structure, detect issues, find optimization opportunities |
scripts/pipeline-cost-estimator.py | Estimate CI minutes and identify cost savings |
scripts/log-parser.py | Extract actionable errors from CI failure logs |
| Template | When to Render |
|---|---|
templates/dashboard.html | After analysis -- inject pipeline health data into the dashboard |
uses: actions/checkout@<sha>)pull_request_target with actions/checkout of PR head -- script injection riskpermissions block -- never rely on default (overly broad) permissions${{ secrets.NAME }} or environment variablesconcurrency group for deployment workflows to prevent parallel deploystimeout-minutes to every job -- prevent runaway jobs consuming quotaruns-on: self-hosted without explicit user request -- security implicationsworkflow-analyzer.py before presenting