ci-cd-pipeline-authoring
БесплатноБез исполняемых скриптовНе проверенUse when a repository needs CI/CD - author GitHub Actions workflows so TaskTrooper's pipeline auto-detects your validate/build/test jobs and…
от makifbaysal★ 123 звезды на GitHubОб этом скилле
CI/CD Pipeline Authoring
Overview
TaskTrooper does not run your build — it reads your GitHub Actions workflows and maps their jobs and files onto its own pipeline. A task entering code_review waits for your validate/build/test jobs on its pull request (get_pipeline_status shows them); once a component's delivery profile is dispatch, the release engineer dispatches your production deploy workflow at the release tag after the merge. If your workflows are not named the way the detector expects, the pipeline silently skips them and the task stalls at that gate.
Core principle: The workflow you author is the contract with the platform. Name jobs and files with the keywords the detector matches, or the stage does not exist as far as TaskTrooper is concerned.
Two kinds of pipeline slot
Status slots (mapped to a job name in any workflow) — read for pass/fail on the PR at code_review:
| Slot | Job name must contain (by repo kind) |
|---|---|
validate |
lint, vet, staticcheck (backend/worker) · lint, tsc, typecheck (frontend) · lint, swiftlint, analyze (mobile) |
build |
build, compile, docker (backend/worker/frontend) · build, xcodebuild, archive, fastlane (mobile) |
test |
test, vitest, jest |
A mobile build job must not contain docker (excluded). Give each job a clear name: — the detector matches the job's display name.
Deploy slots (mapped to a workflow file) — dispatched, one workflow file per slot:
| Slot | Workflow name: / file must contain |
|---|---|
stage_deploy |
stage, staging, preview |
preprod_deploy |
preprod, pre-prod, pre-production |
prod_deploy |
prod, production, release (must NOT contain preprod) |
Rules
- CI lives in one workflow
<id>-ci.ymlwith jobs namedvalidate/lint,build,test. Deploy lives in separate files, one per environment:<id>-deploy-stage.yml,<id>-deploy-preprod.yml,<id>-deploy-prod.yml. - A
dispatchdelivery profile's deploy workflow declareson: workflow_dispatchwith no required inputs. The platform dispatches with the branch ref only — it passes no inputs, so a workflow that requires one can never be released this way. Bake the environment into the file; read config from repo/environment vars, not inputs. - An
on_mergedelivery profile deploys on push to the default branch, on purpose.push: { branches: [main] }on the stage (or the component's only) deploy is correct there — the merge itself deploying is the whole point of that mode, and the release engineer watches, verifies and rolls back rather than dispatching. Preprod/prod still default to dispatch-only (workflow_dispatch) so a human/QA gate controls them, unless the component is explicitlyon_mergeend to end. - Authenticate with GitHub OIDC, never long-lived cloud keys. GCP → Workload Identity Federation; AWS → an IAM role via
aws-actions/configure-aws-credentials. The job needspermissions: { id-token: write, contents: read }. - Config in vars, secrets only for true secrets. Project id, region, service name, image repo → repo/environment
vars. With OIDC there are usually no cloud secrets at all. Never commit a service-account JSON or access key. - Deploy job ends with a health-check / smoke step that fails the job on a bad deploy. This is a build-time gate, not the release verdict: the release engineer's post-deploy verification is what actually decides
releasedvs a rollback. - Pin third-party actions to their current major (or a commit SHA) — check
gh api repos/<owner>/<action>/releases/latestrather than trusting a cached version number;actions/checkout@v7is current as of this writing, not@v5. - Don't author deploy YAML from scratch:
search_boilerplate_catalogfordeploy <cloud> <type>(e.g.deploy gcp backend), copy that folder's workflow templates, and rename them to<id>-deploy-<env>.yml.
Batch release workflows (a batch delivery profile: desktop, mobile, and anything else a human cuts by hand)
A batch component never dispatches a workflow — cutting the release creates a tag (or, for a local executor, runs a command on the release machine). Author the deploy side of a batch component's pipeline around that:
github_actionsexecutor — the release/publish workflow triggers on the tag push itself, not on a branch push orworkflow_dispatch:on: { push: { tags: ['v*'] } }(match the component's delivery profiletag_pattern,v*for the defaultv{version}). Read the version being released fromGITHUB_REF_NAME(the tag TaskTrooper just pushed) — never from a version file or a bump commit, because cutting a batch release never touches one. The workflow must not create its own tag or version (nosemantic-release,changesets,release-pleasestep): TaskTrooper pushes the ta
Установить ci-cd-pipeline-authoring в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл ci-cd-pipeline-authoring?
Use when a repository needs CI/CD - author GitHub Actions workflows so TaskTrooper's pipeline auto-detects your validate/build/test jobs and stage/preprod/prod deploys, and so a dispatch delivery profile can dispatch the production deploy
Как установить скилл ci-cd-pipeline-authoring?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ci-cd-pipeline-authoring запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic