Agent skill

ai-pipeline

Use when creating or evolving CI/CD pipelines: stack-aware generation for GitHub Actions and Azure Pipelines with security enforcement.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/ai-pipeline

SKILL.md

CI/CD Pipeline

Router skill for CI/CD pipeline generation. Dispatches to handler files based on sub-command.

When to Use

  • Creating new CI/CD pipelines for a project.
  • Evolving existing pipelines with advanced patterns.
  • Validating pipeline compliance (SHA pinning, timeouts, concurrency).
  • NOT for running pipelines -- that is the CI system's job.

Routing

Sub-command Handler Purpose
generate handlers/generate.md Create new pipeline from project analysis
evolve handlers/evolve.md Add advanced patterns to existing pipeline
validate handlers/validate.md Check pipeline compliance

Default (no sub-command): generate.

Quick Reference

/ai-pipeline generate                    # new pipeline from project analysis
/ai-pipeline generate --provider azure   # Azure Pipelines specifically
/ai-pipeline evolve                      # add advanced patterns
/ai-pipeline validate                    # check compliance

Shared Rules

  • SHA pinning: all third-party actions use SHA pins. First-party (actions/*) may use major tags.
  • No * versions: explicit version constraints always.
  • OIDC auth: prefer OIDC over long-lived secrets.
  • Timeouts: every job must have timeout-minutes.
  • Concurrency: group by branch to prevent parallel runs.

Integration

  • Stack detection: reads pyproject.toml, *.csproj, package.json, Cargo.toml.
  • Validation: actionlint for GitHub Actions.
  • Policy: scripts/check_workflow_policy.py for SHA pinning and timeout compliance.

References

  • .ai-engineering/manifest.yml -- CI/CD standards.
  • .ai-engineering/contexts/ -- per-stack check definitions. $ARGUMENTS

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results