cicd-pipeline-setup — скилл для Claude Code: CI/CD пайплайны
Скилл помогает агенту спроектировать CI/CD пайплайн: тесты, сборка артефактов, проверки безопасности и деплой по окружениям.
npx skills add aj-geddes/useful-ai-prompts --skill cicd-pipeline-setup -a claude-codeЧто делает cicd-pipeline-setup
Скилл описывает, как собрать автоматический конвейер для кода: прогон тестов, сборка артефактов, сканирование безопасности и выкладка в несколько окружений. Работает с GitHub Actions, GitLab CI, Jenkins и CircleCI — под каждый заготовлен отдельный справочник в папке references/.
Внутри четыре гайда: references/github-actions-workflow.md, references/gitlab-ci-pipeline.md, references/jenkins-pipeline.md и references/cicd-script.md. В основном файле лежит минимальный пример workflow для GitHub Actions с матрицей версий Node и переменными REGISTRY и IMAGE_NAME, а полные реализации автор вынес в справочники. Отдельный блок — правила «делай и не делай»: не хранить учётные данные в конфиге пайплайна, не деплоить без тестов, ставить подтверждение перед выкладкой в продакшен.
Скилл не генерирует пайплайн сам по себе — он задаёт агенту рамку и подсказывает, что проверить. Если в проекте нет тестов или секреты лежат прямо в YAML, сначала придётся разобраться с этим: скилл прямо называет такие вещи ошибками.
Какие задачи решает
- собрать workflow для тестов и сборки с нуля
- развести staging и production по разным пайплайнам
- добавить сканирование безопасности в конвейер
- настроить кэш зависимостей и параллельный прогон тестов
- вынести секреты из конфигурации пайплайна
Примеры запросов агенту
- Настрой CI/CD пайплайн для этого репозитория через GitHub Actions
- Сделай workflow: тесты на pull request, деплой в прод только после подтверждения
- Переведи наш пайплайн с Jenkins на GitLab CI, сохрани шаги сборки и деплоя
Как установить cicd-pipeline-setup
1Через Skills CLI (Vercel)
npx skills add aj-geddes/useful-ai-prompts --skill cicd-pipeline-setup -a claude-code2Вручную: положить файлы
~/.claude/skills/cicd-pipeline-setup/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/cicd-pipeline-setup/
1Через Skills CLI (Vercel)
npx skills add aj-geddes/useful-ai-prompts --skill cicd-pipeline-setup -a codex2Вручную: положить файлы
.agents/skills/cicd-pipeline-setup/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add aj-geddes/useful-ai-prompts --skill cicd-pipeline-setup -a cursor2Вручную: положить файлы
.cursor/skills/cicd-pipeline-setup/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install aj-geddes/useful-ai-prompts cicd-pipeline-setup2Вручную: положить файлы
.github/skills/cicd-pipeline-setup/SKILL.md1Через Skills CLI (Vercel)
npx skills add aj-geddes/useful-ai-prompts --skill cicd-pipeline-setup -a gemini-cli2Командой платформы
gemini skills install https://github.com/aj-geddes/useful-ai-prompts --path skills/cicd-pipeline-setupВручную: положить файлы
.devin/skills/cicd-pipeline-setup/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add aj-geddes/useful-ai-prompts --skill cicd-pipeline-setup -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о cicd-pipeline-setup
Как установить cicd-pipeline-setup в Claude?
Выполните npx skills add aj-geddes/useful-ai-prompts --skill cicd-pipeline-setup -a claude-code. Файл скилла окажется по пути ~/.claude/skills/cicd-pipeline-setup/SKILL.md.
Что делает cicd-pipeline-setup?
Помогает агенту спроектировать и написать CI/CD пайплайн: тесты, сборку, проверки безопасности и деплой. Поддерживает GitHub Actions, GitLab CI, Jenkins и CircleCI.
Для каких платформ подходит этот скилл?
Кроме Claude он ставится в Codex, Cursor, GitHub Copilot, Gemini CLI и OpenCode.
Исходный текст
SKILL.md · MIT
---
name: cicd-pipeline-setup
description: >
Design and implement CI/CD pipelines with GitHub Actions, GitLab CI, Jenkins,
or CircleCI. Use for automated testing, building, and deployment workflows.
---
# CI/CD Pipeline Setup
## Table of Contents
- [Overview](#overview)
- [When to Use](#when-to-use)
- [Quick Start](#quick-start)
- [Reference Guides](#reference-guides)
- [Best Practices](#best-practices)
## Overview
Build automated continuous integration and deployment pipelines that test code, build artifacts, run security checks, and deploy to multiple environments with minimal manual intervention.
## When to Use
- Automated code testing and quality checks
- Containerized application builds
- Multi-environment deployments
- Release management and versioning
- Automated security scanning
- Performance testing integration
- Artifact management and registry
## Quick Start
Minimal working example:
```yaml
# .github/workflows/deploy.yml
name: Build and Deploy
on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
workflow_dispatch:
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
// ... (see reference guides for full implementation)
```
## Reference Guides
Detailed implementations in the `references/` directory:
| Guide | Contents |
|---|---|
| [GitHub Actions Workflow](references/github-actions-workflow.md) | GitHub Actions Workflow |
| [GitLab CI Pipeline](references/gitlab-ci-pipeline.md) | GitLab CI Pipeline |
| [Jenkins Pipeline](references/jenkins-pipeline.md) | Jenkins Pipeline |
| [CI/CD Script](references/cicd-script.md) | CI/CD Script |
## Best Practices
### ✅ DO
- Fail fast with early validation
- Run tests in parallel when possible
- Use caching for dependencies
- Implement proper secret management
- Gate production deployments with approval
- Monitor and alert on pipeline failures
- Use consistent environment configuration
- Implement infrastructure as code
### ❌ DON'T
- Store credentials in pipeline configuration
- Deploy without automated tests
- Skip security scanning
- Allow long-running pipelines
- Mix staging and production pipelines
- Ignore test failures
- Deploy directly to main branch
- Skip health checks after deployment
© aj-geddes · MIT · aj-geddes/useful-ai-prompts