Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

implement-workflow

БесплатноБез исполняемых скриптовНе проверен

Add or change GitHub Actions workflows, CI jobs, workflow scripts and their permissions. Use when editing .github/workflows or changing what a CI job does.

torrustот torrust★ 539 звёзд на GitHub

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

Implement CI Workflows

Rule

Keep CI workflow definitions as thin platform adapters. Put non-trivial decisions, data transformation, validation, and report rendering in repository-owned tools with a documented command-line interface and automated tests. Prefer Rust for that logic unless another implementation language is justified. Workflow files may retain only provider-specific triggering, permissions, runner setup, checkout, scheduling, artifact transport, and the small adapter calls needed to invoke the tool. Document unavoidable provider-specific behavior and the practical portable alternative.

Design The Boundary

Before editing a workflow, identify which behavior is provider-specific and which is repository behavior.

  • Keep triggering, permissions, runner selection, pinned action setup, immutable revision checkout, matrix scheduling, artifact transport, and provider outputs in the workflow.
  • Move decisions, parsing, validation, aggregation, numeric calculations, and report formatting into a repository-owned tool when they are more than simple orchestration.
  • Give repository tools ordinary command-line arguments, standard input or JSON files, and standard output. Do not require GitHub environment variables or GitHub output files in tool interfaces.
  • Document unavoidable provider behavior and name the practical portable alternative in the owning tool, workflow, or skill.

Implement Safely

  1. Preserve the existing trust boundary before changing workflow behavior. Use least-privilege permissions and do not expose secrets to untrusted pull request code.
  2. Pin actions to the repository's established versioning convention. Use immutable pull request revisions when base/head behavior is compared.
  3. Keep shell only for simple adapter work such as command invocation, output assignment, and artifact paths. Move substantive shell loops, jq/awk transformations, or presentation logic into tested repository tooling.
  4. Add focused automated tests for repository-tool behavior. Test the tool's portable contract separately from provider orchestration.
  5. Validate the workflow YAML locally, then obtain hosted evidence for provider-only behavior such as permissions, matrix expansion, artifacts, and fork pull requests.

Validate

Run the narrowest checks applicable to the changed surface first:

linter yaml
git diff --check

For repository tooling, also run its focused formatter, tests, and strict linting. Before committing, run the repository pre-commit gate. Record hosted workflow evidence separately when it cannot be reproduced locally.

Skill Links

  • .github/workflows/AGENTS.md
  • .github/workflows/generate_coverage_pr.yaml

Related Guidance

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

Установить implement-workflow в Claude Code и Claude Desktop

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

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

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

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

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

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

FAQ

Что делает скилл implement-workflow?

Add or change GitHub Actions workflows, CI jobs, workflow scripts and their permissions. Use when editing .github/workflows or changing what a CI job does.

Как установить скилл implement-workflow?

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

Скилл implement-workflow запускает скрипты?

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

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

Сравнить implement-workflow с