ai-workspace-lab/xworkspace-core-skills/github-actions-operational-dispatch

Claude Code and agent skill by ai-workspace-lab/xworkspace-core-skills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Dispatch and observe operational GitHub Actions workflows (infrastructure provisioning, deploys, snapshots, migrations, credential rotation) from a conversational agent. Use before calling workflow_dispatch on any operational pipeline, and whenever a chat-driven agent is asked to provision, deploy, snapshot, migrate, or rotate something through CI.

Install

npx vskill@latest install ai-workspace-lab/xworkspace-core-skills/github-actions-operational-dispatch

SKILL.md

The same SKILL.md was published earlier as ai-workspace-lab/xworkspace-core-skills/github-actions-operational-dispatch.

GitHub Actions Operational Dispatch

Treat a conversational request to "run", "deploy", "tag", or "rotate" something as a request to operate a CI pipeline, not as a request the agent free-forms. workflow_dispatch inputs are load-bearing: wrong values silently take the wrong branch through the workflow's own routing logic, often exiting green while doing nothing or the wrong thing.

1. Build a per-repository catalog before dispatching anything

Do not infer a workflow's inputs, defaults, or hidden rules from its name or from memory. Before the first dispatch against a repository, read its actual workflow_dispatch block and any script it hands inputs to, and record: every input name, type, default, and required/optional; every input that is silently ignored by the scripts it's passed to (a dead input looks configurable but does nothing — flag it, don't expose it as if it works); every implicit rule the workflow enforces in code rather than in the YAML schema (input A requires input B; input C forces other inputs to fixed values; one action value bypasses normal switches). Store this catalog next to the target repository (its own docs, not a shared cross-repo skill) so it does not go stale the moment the workflow changes elsewhere.

2. Preflight before dispatch, not after

Run every rule from the catalog locally before calling workflow_dispatch. A rule violation must block the dispatch with a clear explanation, not be discovered ten or twenty minutes later inside a failed run. If a downstream system enforces an immutability or pin contract (e.g. a GitOps repo that only deploys an already-pinned image tag), check that contract before dispatch — requesting a value the downstream system will reject is not a workflow bug, it's a preventable preflight failure.

2.1 跨仓发布调度前置守则 (Multi-Repo Dispatch Preflight Checklist)

在调用 gh workflow run 调度运维或发版工作流前,必须执行以下显式检查:

  1. 目标标签与产物存在性确认:
  • 若参数涉及 gateway_release_tag 或 cli_release_tag,必须预先通过 gh release view <tag> -R <repo> 检查 GitHub Release 是否已发布,且对应架构二进制产物(如 linux-amd64、linux-arm64)已上传完整,严禁向工作流传递未完成构建的虚空 Tag。
  1. 全量快照 vs 定向验证隔离:
  • 仅对单个组件(如 Gateway 或 One)进行迭代验证时,优先使用定向工作流(如 xconnect-one-uat.yaml),避免调用全量快照工作流导致其他所有关联仓库一同被覆盖构建。
  • 调用 daily-main-snapshot.yaml 验证非生产时,必须强制指定 -f enable_migration=false,严禁让生产数据库单向数据同步覆盖 UAT 的测试与 Overlay 配置状态。
  1. Dry-Run 优先验证:
  • 凡支持 mode=dry-run 的运维工作流(如 xconnect-one-uat.yaml),首次执行必须使用 dry-run 观察 Ansible 对账 diff 与配置渲染,确认无破坏性漂移后再执行 mode=apply。

3. Confirm before dispatching, especially the dangerous fields

State every resolved input back to the user in plain language before dispatching — not "shall I proceed?" but the literal values that will be sent. Any input that is destructive, irreversible, or crosses an environment boundary (destroy, restore, a production/prod target, a traffic cutover, a credential rotation) requires the user to confirm that specific field, not a general "yes, go ahead". Never default a dangerous field to the enabled/destructive state; leave it off unless the user explicitly asked for it.

4. A completed run is not evidence that the operation happened

Actions provides status and conclusion on the run; use them to know when a dispatch has finished, never as the sole evidence that it worked. Independently verify the outcome the run claims to have produced — query the actual resource state, hit a health endpoint expecting the specific response the target's own operational runbook defines, or read the specific error a downstream rate limit / lock / quota system returns. A run that exits successfully while its own script silently matched zero targets is a known failure mode of this class of pipeline, not a hypothetical.

5. Stay inside the dispatch boundary

Only call workflow_dispatch (or equivalent) against workflows the operator has explicitly authorized for this target. Do not create branches, tags, or PRs to route around a workflow's trigger rules; do not modify the workflow, its scripts, or the repositories it deploys as a side effect of getting a dispatch to succeed. If a legitimate request cannot be satisfied within the existing trigger/authorization rules, say so and stop — that is a routing problem for the operator to fix, not something to bypass from a chat session.

6. Dispatch closeout is an operational handoff

After a dispatch, record a redacted operation record containing the repository, workflow, run URL/ID, resolved inputs, source SHA or release tag, environment, target scope, start/end state, and independent verification evidence. Classify the result as not_started, preflight_failed, mutated_and_failed, verified, or verified_with_observation; do not collapse a preflight failure or an in-progress lease into “success”.

For a mutating run, hand the result to the owning operations skill: resource and lease state to capacity-cost-and-resource-lifecycle, DNS/TLS state to network-dns-tls-edge-management, credentials and denied-path evidence to secrets-identity-and-access-governance, service metrics to observability-slo-and-alerting, and material failures to incident-response-and-change-management. The action is closed only when the declared observation/rollback window and its evidence are complete.

Feature lane operations

For feature deployment, freeze/promotion or retirement, resolve feature ID, revision/fingerprint, cluster/namespace and operation against the actual workflow catalog. Reject stale candidate or cross-feature targets before credentials are read. Follow feature lifecycle for leases, retained evidence and cleanup authority; a successful cleanup job alone is not proof that external databases, volumes or DNS were removed.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
8
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/ai-workspace-lab/xworkspace-core-skills/github-actions-operational-dispatch/badge)](https://verified-skill.com/skills/ai-workspace-lab/xworkspace-core-skills/github-actions-operational-dispatch)

Something wrong with this skill or its page? Tell us.