Command Palette

Search for a command to run...

Назад к скиллам
скилл № 26784

GitHub Actions

Design, debug, and harden GitHub Actions workflows with reusable pipelines, safe permissions, and faster CI and release automation.

БесплатноБез исполняемых скриптов
clawicот clawic★ 23 звезды на GitHub

Установить GitHub Actions в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Setup

On first activation, read setup.md to align auto-activation rules, repo shape, and mutation boundaries before editing workflows or triggering runs.

When to Use

User needs GitHub Actions workflow design, debugging, hardening, release orchestration, runner strategy, matrix tuning, cache fixes, or reusable workflow architecture. Use this skill when the result depends on GitHub Actions semantics and GitHub delivery controls, not generic CI advice.

Architecture

Memory lives in ~/Clawic/data/github-actions/. See memory-template.md for the baseline structure.

~/Clawic/data/github-actions/
|-- memory.md              # Persistent repo context and activation boundaries
|-- repo-map.md            # Repos, branches, package managers, and deploy targets
|-- workflow-defaults.md   # Stable defaults for triggers, permissions, caches, and runners
|-- incidents.md           # Failure signatures, root causes, and fixes
`-- release-rules.md       # Promotion gates, approvals, and rollback notes

Quick Reference

Load only the file needed for the current workflow problem.

Topic File
Setup and activation behavior setup.md
Memory schema and status model memory-template.md
Authoring patterns and reusable workflow shapes workflow-patterns.md
Permissions, secrets, OIDC, and fork safety security-model.md
Run failure triage and log-first debugging debugging-playbook.md
Tag, release, and deployment orchestration release-patterns.md
Caching, matrices, path filters, and runner efficiency performance-tuning.md

Requirements

  • Optional but high leverage tools: gh, jq, act
  • GitHub repository access if the user wants live run inspection or workflow changes
  • Deployment credentials only through GitHub-managed secrets, environments, or OIDC

Never ask the user to paste personal access tokens, cloud keys, or private signing material into chat.

CI/CD Examples

YAML snippets in this skill are examples for repository workflow files. References like ${{ github.* }}, ${{ inputs.* }}, ${{ vars.* }}, and ${{ secrets.* }} belong to GitHub Actions runtime, not to the agent runtime. The agent should design around those placeholders but should not expect to read their values directly.

Operating Coverage

This skill covers GitHub Actions as an operating system for delivery:

  • workflow authoring across push, pull_request, workflow_dispatch, schedule, and workflow_call
  • job design across permissions, concurrency, matrices, artifacts, caches, services, and environments
  • release and deployment pipelines with protected branches, approvals, tags, and rollback checkpoints
  • incident response for flaky runs, missing artifacts, cache corruption, and environment drift

Data Storage

Local notes in ~/Clawic/data/github-actions/ may include:

  • repo topology, protected branches, and environment names
  • known-good workflow defaults and reusable workflow contracts
  • recurring incident signatures with fixes and prevention notes
  • release gates, promotion steps, and rollback constraints

Core Rules

1. Start from Trigger, Target, and Artifact Contract

Before editing YAML, define:

  • the event that should start the workflow
  • the branch, tag, or environment it may affect
  • the artifact or status each job must produce

Without that contract, workflows turn into step collections with unclear release behavior.

2. Default to Explicit Permissions and Narrow Blast Radius

Declare permissions: at workflow or job level and grant only what that job needs. Treat contents: write, packages: write, and id-token: write as exceptions that need a clear reason.

3. Separate Validation, Build, Release, and Deploy Concerns

Keep pull request validation, artifact creation, release publishing, and production deployment as distinct responsibilities. Use workflow_call or small reusable jobs instead of one oversized workflow that does everything.

4. Bound Every Run with Concurrency, Timeouts, and Filters

Use concurrency for branch or environment scoped cancellation, add timeout-minutes, and filter noisy events with branch or path rules. Minutes disappear quickly when redundant runs are left unbounded.

5. Optimize Deterministic Work, Not Random Side Effects

Cache package manager state, toolchains, and stable build outputs keyed by lockfiles or explicit versions. Use artifacts for job handoffs. Do not cache paths that depend on secrets, timestamps, or mutable deploy state.

6. Debug from Logs and Reproduction Evidence

Classify failures before rewriting workflows:

  • trigger and condition mismatch
  • missing dependency or toolchain drift
  • credential or permission denial
  • artifact or path contract break
  • flaky external dependency

Fix the failure mode that exists, not the one that feels familiar.

7. Prefer Short-Lived Credentials and Protected Deploy Surfaces

Use GitHub environments, reviewe

Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • _meta.json
  • debugging-playbook.md
  • memory-template.md
  • performance-tuning.md
  • release-patterns.md
  • security-model.md
  • setup.md
  • workflow-patterns.md

FAQ

Что делает скилл GitHub Actions?

Design, debug, and harden GitHub Actions workflows with reusable pipelines, safe permissions, and faster CI and release automation.

Как установить скилл GitHub Actions?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл GitHub Actions запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить GitHub Actions с