agentclash-ci-release-gate
Use when wiring AgentClash manifest-based CI gates, deciding whether a PR should run AgentClash, resolving baselines, running `agentclash ci run`…
от agentclash★ 38 звёзд на GitHub
Установить agentclash-ci-release-gate в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
AgentClash CI Release Gate
Purpose
Wire an AgentClash candidate build/deployment into a repo-tracked CI manifest, compare it against a baseline run, and turn the release gate verdict into CI status.
Use When
- A pull request or mainline workflow should run AgentClash only when relevant files or labels match.
- A user needs a
.agentclash/ci.yamlmanifest for a candidate agent, workload, baseline, gate, and regression promotion policy. - CI should fail on AgentClash release gate failures, warnings, insufficient evidence, setup errors, run timeouts, or candidate run failures.
- A GitHub Actions workflow should use the repo-local
.github/actions/agentclash-cicomposite action. - The CI manifest and workflow should go into a GitHub repository through a setup pull request (
agentclash ci setup).
Do Not Use When
- The agent build spec does not exist yet; use
agentclash-agent-build-author. - Runtime profiles, provider accounts, model aliases, or workspace tools are not configured; use
agentclash-runtime-resources-setup. - The challenge pack or input set is not validated and published; use the challenge-pack skills first.
- The task is only to read scorecards or failure evidence from an existing run; use
agentclash-scorecard-readeroragentclash-regression-flywheel.
Environment
Use hosted production by default:
export AGENTCLASH_API_URL="https://api.agentclash.dev"
export AGENTCLASH_TOKEN="<token>"
export AGENTCLASH_WORKSPACE="<workspace-id>"
In GitHub Actions, pass tokens through secrets or the composite action inputs. Do not print tokens. ci run exits with code 10 and a JSON error envelope when workspace context is missing, so set AGENTCLASH_WORKSPACE, pass --workspace, or use saved CLI workspace config.
Manifest Shape
Create a sample with:
agentclash ci init .agentclash/ci.yaml
agentclash ci init .agentclash/ci.yaml --force
The CLI sample manifest is:
version: 1
trigger:
paths:
- .agentclash/agent.json
- prompts/**
- tools/**
labels:
- agentclash/eval
candidate:
build:
agent_build_id: 00000000-0000-0000-0000-000000000001
spec_file: .agentclash/agent.json
deployment:
name: pr-candidate
runtime_profile_id: 00000000-0000-0000-0000-000000000002
provider_account_id: 00000000-0000-0000-0000-000000000003
model: gpt-5.5
evaluation:
challenge_pack_version_id: 00000000-0000-0000-0000-000000000005
input_set_id: 00000000-0000-0000-0000-000000000006
regression_suites:
- 00000000-0000-0000-0000-000000000007
baseline:
run_id: 00000000-0000-0000-0000-000000000008
refresh: manual
max_age_days: 30
gate:
fail_on: regression
regressions:
promote_failures: proposed
Exact fields the current CLI parses:
version: must be1.trigger.paths: required, nonblank doublestar globs;trigger.labels: optional labels that can force a run.candidate.build.agent_build_id: required existing agent build ID.candidate.build.spec_file: required relative path inside the repository; absolute paths and..escapes are rejected byci run.candidate.deployment.name: optional deployment name; if blank,ci rungeneratesagentclash-ci-<unix>.candidate.deployment.runtime_profile_id: required.candidate.deployment.provider_account_idandcandidate.deployment.model: optional individually, but required together whenci runcreates the candidate deployment. Remote validation checks that the provider account exists.evaluation.challenge_pack_version_id: required.evaluation.input_set_id,evaluation.regression_suites, andevaluation.regression_cases: optional; blank regression entries are invalid.baseline.run_id: locked baseline run, preferred for PR gates.baseline.run_agent_id: optional but only valid withbaseline.run_id.baseline.deployment_id: moving baseline selector; mutually exclusive withbaseline.run_id.baseline.refresh: optionalmanual,propose, orauto_on_main; default behavior ismanual.baseline.max_age_days: optional non-negative freshness limit;0means no age check.gate.fail_on: required, one ofregression,warning, orinsufficient_evidence.gate.policy_file: optional schema field, but the currentagentclash ci runimplementation does not read or post it.regressions.promote_failures: required, one ofdisabled,proposed, orauto_on_main.
Important gate fidelity note: today ci run posts baseline_run_id, candidate_run_id, and optional run-agent IDs to /v1/release-gates/evaluate. It does not pass gate.fail_on, does not load gate.policy_file, and has no --fail-on or --policy-file flag. The backend normalizes an empty policy to the default release gate policy. Do not claim manifest gate fields customize evaluation until the CLI source wires that behavior.
Validation Commands
Validate locally first:
agentclash ci validate .agentclash/ci.yaml
agentclash ci vali
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл agentclash-ci-release-gate?
Use when wiring AgentClash manifest-based CI gates, deciding whether a PR should run AgentClash, resolving baselines, running `agentclash ci run`, interpreting gate exit codes, collecting CI artifacts, or configuring regression promotion policy in GitHub Actions.
Как установить скилл agentclash-ci-release-gate?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл agentclash-ci-release-gate запускает скрипты?
Нет, скилл состоит только из инструкций (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…