Command Palette

Search for a command to run...

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

agentic-workflow-development

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

gh-aw CLI usage, compilation, testing, debugging, add-wizard, and CI/CD practices for GitHub Agentic Workflows

Hack23от Hack23★ 15 звёзд на GitHub

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

🛠️ Agentic Workflow Development Skill

Purpose

Development lifecycle guidance for GitHub Agentic Workflows: CLI setup, compilation, testing, debugging, sharing workflows via add-wizard, version control, and CI/CD integration.

When to Use

Apply this skill when:

  • Setting up gh-aw development environment
  • Creating, testing, and debugging workflows
  • Sharing workflows via gh aw add-wizard
  • Implementing CI/CD for workflow deployment
  • Troubleshooting workflow execution issues

Rules

CLI Setup and Usage

MUST:

  • Install GitHub CLI: gh --version to verify
  • Install gh-aw extension: gh extension install github/gh-aw
  • Keep gh-aw updated: gh extension upgrade gh-aw
  • Initialize repositories: gh aw init for new projects
  • Use CLI for all workflow operations (not manual file editing of .lock.yml)

MUST NOT:

  • Manually edit .lock.yml files
  • Use outdated gh-aw versions
  • Skip repository initialization
  • Bypass CLI for workflow management

Development Workflow

MUST:

  • Create workflow .md files in .github/workflows/
  • Use descriptive workflow names (kebab-case)
  • Compile after every edit: gh aw compile
  • Test workflows before committing: gh aw run <workflow-name>
  • Review compilation output for warnings
  • Commit both .md and .lock.yml files together
  • Write meaningful commit messages

MUST NOT:

  • Edit workflows without compiling
  • Commit .md without .lock.yml
  • Skip testing before merge
  • Use generic commit messages

Rapid Iteration with Watch Mode

MUST:

  • Use gh aw compile --watch for active development
  • Keep watch mode running in dedicated terminal
  • Review compilation errors immediately
  • Test changes incrementally
  • Save frequently to trigger recompilation

MUST NOT:

  • Ignore watch mode error messages
  • Make multiple changes without testing
  • Disable automatic compilation during development

Testing Strategies

MUST:

  • Test with workflow_dispatch trigger first
  • Use gh aw run <workflow-name> for manual testing
  • Test with real repository data
  • Verify safe-outputs work as expected
  • Test error conditions and edge cases
  • Review GitHub Actions logs after each test run
  • Test permission boundaries

MUST NOT:

  • Test only happy path scenarios
  • Skip permission testing
  • Test in production without staging
  • Ignore test failures

Debugging Techniques

MUST:

  • Use gh aw logs to review execution logs
  • Check GitHub Actions workflow run details
  • Review compilation output for syntax errors
  • Add debug logging to workflow instructions
  • Test workflows in isolation
  • Use gh aw status to check workflow health
  • Reproduce issues locally when possible

MUST NOT:

  • Debug only by editing production workflows
  • Ignore error messages
  • Skip log review
  • Make blind fixes without understanding root cause

Version Control Practices

MUST:

  • Use feature branches for workflow changes
  • Write descriptive pull request descriptions
  • Include workflow testing results in PRs
  • Review workflow changes carefully (both .md and .lock.yml)
  • Tag workflow versions for major changes
  • Maintain changelog for workflow evolution
  • Document breaking changes

MUST NOT:

  • Commit directly to main branch
  • Merge without review
  • Skip documentation updates
  • Delete workflow history

Code Review for Workflows

MUST:

  • Review natural language instructions for clarity
  • Verify security settings (permissions, tools, network)
  • Check safe-outputs configuration
  • Validate trigger appropriateness
  • Confirm secret usage is correct
  • Test workflow before approving PR
  • Verify compilation produces expected .lock.yml

MUST NOT:

  • Approve without testing
  • Skip security review
  • Ignore compilation warnings
  • Rubber-stamp workflow changes

Workflow Organization

MUST:

  • Group related workflows in subdirectories (if supported)
  • Use consistent naming conventions
  • Document workflow purpose in file header
  • Create README for complex workflow systems
  • Link related workflows explicitly
  • Maintain workflow dependency documentation

MUST NOT:

  • Create monolithic workflows (split into orchestrator-worker)
  • Use unclear or cryptic names
  • Leave workflows undocumented
  • Create hidden dependencies

Performance Optimization

MUST:

  • Profile workflow execution time
  • Optimize AI prompts for clarity and brevity
  • Batch operations when possible
  • Cache results to avoid redundant work
  • Use appropriate trigger frequencies
  • Monitor resource usage and costs

MUST NOT:

  • Over-trigger workflows
  • Create unnecessarily complex instructions
  • Ignore performance warnings
  • Skip cost monitoring

Maintenance and Upgrades

MUST:

  • Regularly update gh-aw CLI: gh extension upgrade gh-aw
  • Upgrade workflow dependencies: gh aw upgrade
  • Review and apply workflow template updates
  • Monitor for deprecated features
  • Test upgrades in non-production first
  • Document upgrade procedures
  • Maintain backward compatibility
Полный SKILL.md на GitHub

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

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

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

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

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

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

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

FAQ

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

gh-aw CLI usage, compilation, testing, debugging, add-wizard, and CI/CD practices for GitHub Agentic Workflows

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

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

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

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

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

Сравнить agentic-workflow-development с