Slash Command260 repo starsupdated 16d ago
pipeline
The pipeline command automatically detects a project's technology stack and existing CI/CD infrastructure, then designs or reviews a complete pipeline with stages for linting, type checking, testing, security scanning, building, and deployment. Use it to create GitHub Actions workflows from scratch, audit and improve existing pipelines, or add missing quality gates such as test coverage reporting, dependency audits, or production approval gates.
Install in Claude Code
Copymkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/borghei/Claude-Skills/HEAD/.claude/commands/pipeline.md -o ~/.claude/commands/pipeline.mdThen start a new Claude Code session; the slash command loads automatically.
Definition
pipeline.md
Design or review a CI/CD pipeline: 1. **Detect project stack** — scan for package.json (Node), requirements.txt/pyproject.toml (Python), go.mod (Go), Cargo.toml (Rust), Gemfile (Ruby), pom.xml (Java), etc. 2. **Identify existing CI** — check for .github/workflows/, .gitlab-ci.yml, Jenkinsfile, .circleci/, bitbucket-pipelines.yml. 3. **Design pipeline stages:** - **Lint**: language-appropriate linters (eslint, ruff, golangci-lint) - **Type Check**: TypeScript, mypy, etc. if applicable - **Unit Tests**: with coverage reporting - **Integration Tests**: if test infrastructure exists - **Security Scan**: dependency audit, SAST, secret detection - **Build**: compile/bundle/containerize - **Deploy**: staging then production, with approval gates 4. **Generate workflow YAML** for the detected CI platform (default: GitHub Actions). 5. **Identify missing quality gates:** - No test step? Flag it. - No security scan? Recommend one. - No branch protection? Suggest rules. - No deployment approval? Add manual gate for production. 6. **Output** the complete pipeline configuration file ready to commit.
More from this repository
changelog-managerSubagent
>-
code-reviewerSubagent
>-
doc-generatorSubagent
>-
git-workflowSubagent
>-
qa-engineerSubagent
>-
security-auditorSubagent
>-
a11y-auditSlash Command
Run an accessibility audit on the current project for WCAG compliance.
code-to-prdSlash Command
Reverse-engineer a Product Requirements Document from existing code.