ci-cd
CI/CD pipeline design and management. Use when building, troubleshooting, or optimizing build and deployment pipelines.
от saolalab★ 38 звёзд на GitHub
Установить ci-cd в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
CI/CD Pipelines
Pipeline Architecture
Commit → Build → Test → Security Scan → Deploy → Verify → Monitor
Pipeline Best Practices
Build Stage
- Reproducible builds — Same input = same output
- Caching — Cache dependencies, build artifacts
- Parallel execution — Run independent jobs concurrently
- Artifact versioning — Tag artifacts with commit SHA
Test Stage
- Fast feedback — Unit tests first, integration later
- Parallelization — Split test suites across workers
- Flaky test management — Quarantine, don't ignore
- Coverage gates — Block PRs below threshold
Security Stage
- SAST — Static analysis on every commit
- Dependency scanning — Check for known CVEs
- Secret scanning — Prevent credential leaks
- Container scanning — Scan images before deploy
Deploy Stage
- Environment promotion — Dev → Staging → Prod
- Deployment gates — Approval for production
- Rollback capability — One-click rollback
- Blue-green/Canary — Safe production deployments
GitHub Actions Example
name: CI/CD Pipeline
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- run: npm ci
- run: npm run build
- uses: actions/upload-artifact@v4
with:
name: build
path: dist/
test:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npm ci
- run: npm test -- --coverage
deploy:
needs: [build, test]
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v4
- run: ./deploy.sh
Metrics to Track
| Metric | Target | Description |
|---|---|---|
| Build time | < 10 min | Time from commit to artifacts ready |
| Test time | < 15 min | Time for full test suite |
| Deploy time | < 5 min | Time to deploy to production |
| Pipeline success rate | > 95% | % of pipelines completing successfully |
| Deployment frequency | Daily+ | How often we deploy to production |
| Lead time | < 1 day | Commit to production |
Troubleshooting
Common Issues
- Flaky tests — Add retries, improve isolation
- Slow builds — Profile, cache, parallelize
- OOM errors — Increase resources or optimize
- Timeouts — Check network, increase limits
- Permission errors — Verify service account access
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл ci-cd?
CI/CD pipeline design and management. Use when building, troubleshooting, or optimizing build and deployment pipelines.
Как установить скилл ci-cd?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ci-cd запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
AnthropicGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
webapp-testing
AnthropicToolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
brand-guidelines
AnthropicApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
web-artifacts-builder
AnthropicSuite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…