ci-pipeline
Use when a CI pipeline or workflow is written or changed, when a build or check fails in CI but not locally, and when a PR gate, a build cache or a secret in…
от crewforth★ 26 звёзд на GitHub
Установить ci-pipeline в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
CI Pipeline
Trigger phrases: "ci", "pipeline", "github actions", "jenkins", "build pipeline", "pr gate", "pr check", "build fail", "build broke", "ci is failing", "workflow"
Stages (fail-fast — stop if it breaks early)
- Lint / format — style and static analysis
- Build — 0 warnings / 0 errors
- Test — unit + integration, coverage collected
- Quality —
sonarqube-checkquality gate - Security —
dependency-audit+security-scan(where applicable) - Artifact / packaging — (deployment is separate,
deploy)
Principles
- Deterministic: dependencies pinned, cache keyed correctly; no "it worked on my machine".
- Actions and the token: pin every third-party action to a full commit SHA with its version in a comment (a tag
moves when its owner moves it);
permissions: contents: readat the top, raised per job only where a step writes;persist-credentials: falseon checkout unless a later step pushes; never put${{ github.event.* }}or a matrix value insiderun:— pass it throughenv:and quote it. - Secret management: CI secret store; NO plaintext secrets in the repo/logs (overlaps with trace scan). Log masking is a filter on exact strings: an encoded, split or transformed value prints in clear, so a secret never reaches a step that echoes its environment. Prefer short-lived OIDC credentials over stored keys and ephemeral runners over reused ones; a cache restored into a job is input, so key it on what produced it and never on a value a fork controls.
- PR gate: quality gate + tests must pass; a red build is not merged.
- Branch protection: direct push to main is disabled; PR + review required.
- An agent job in CI (one that fixes, updates or triages with nobody watching): pinned, few tools, an isolated
copy, an allowlist for what comes back:
references/agent-job.md.
When a stage fails
- Fetch the failing job's log first —
gh run view --log-failed,glab ci trace,jenkins-cli console <job>, whichever this project's host provides — and quote the failing lines: a status icon names which job broke, never why. Log unreachable (no access, retention expired, the job never started) → report exactly that; never infer the cause. - Reproduce with the exact command the pipeline runs, copied out of the CI config — same flags, same env, same
versions. Green locally is not a pass: the environment difference is now the defect, so take it to
systematic-debugging. - A re-run is not a fix. Re-running until it passes hides the cause; re-run only to establish that a failure is
intermittent — and an intermittent failure in this repo's own suite is a bug (
testing), not a retry. - Say which failures aren't yours. A required check owned by another change, or an external service that was down, is reported out of scope with the job named — silence about it reads as a clean run.
DoD
- All stages green; PR gates enforced; no secret leakage; build reproducible.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/agent-job.md
FAQ
Что делает скилл ci-pipeline?
Use when a CI pipeline or workflow is written or changed, when a build or check fails in CI but not locally, and when a PR gate, a build cache or a secret in CI is set up.
Как установить скилл ci-pipeline?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ci-pipeline запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
AnthropicThe scan that the plugin's GitHub Action runs.
azure-static-web-apps
GitHubHelps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
ai-ready
GitHubMake any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
aws-cdk-python-setup
GitHubSetup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…