From gh-aw-best-practice
GitHub Agentic Workflows (.github/workflows/*.md) のワークフロー定義を正確かつ安全に作成・修正・トラブルシューティングする。フロントマター構文、権限設計、デザインパターン、セキュリティのガイダンスを提供する。GH-AW ワークフローの新規作成・修正、フロントマター構文の確認、権限やセキュリティの設計、エラー対応を求められたときに使用する。
How this skill is triggered — by the user, by Claude, or both
Slash command
/gh-aw-best-practice:gh-aw-best-practiceThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
GitHub Agentic Workflows (.github/workflows/*.md) を正確かつ安全に作成・運用するためのスキル。
GitHub Agentic Workflows (.github/workflows/*.md) を正確かつ安全に作成・運用するためのスキル。
ユーザーが GH-AW ワークフローの作成・修正・トラブルシューティングを求めたとき、以下の判断フローに従う。
reference/01-frontmatter-spec.md でフロントマター構文を確認 + reference/05-workflow-examples.md で類似例を参照reference/02-setup-guide.md を参照reference/03-design-patterns.md でパターン一覧を確認reference/04-security-best-practices.md を参照reference/04-security-best-practices.md のトラブルシューティングセクションreference/04-security-best-practices.md の「冪等性・重複防止」+ reference/01-frontmatter-spec.md の skip-if-matchワークフロー (.md) を作成する際、以下を必ず確認すること:
on:, permissions:, safe-outputs: は必須safe-outputs 経由のみgh aw compile で再生成が必要。Markdown本文の変更は不要.github/workflows/
my-workflow.md # ワークフロー定義
my-workflow.lock.yml # コンパイル済みロックファイル (自動生成)
| ファイル | 内容 |
|---|---|
reference/01-frontmatter-spec.md | フロントマターの全キー・構文仕様 |
reference/02-setup-guide.md | CLIインストール・セットアップ手順 |
reference/03-design-patterns.md | デザインパターン (ChatOps, DailyOps 等) + 完全例 |
reference/04-security-best-practices.md | セキュリティ・ガードレール・トラブルシューティング |
reference/05-workflow-examples.md | 7つの実践的ワークフロー完全例 |
npx claudepluginhub suntory-n-water/suntory-n-water-marketplace --plugin gh-aw-best-practiceWrites and optimizes GitHub Actions workflows for CI/CD pipelines, triggers, jobs, steps, secrets, artifacts, and debugging runs.
Write and optimize GitHub Actions workflows. Use when creating CI/CD pipelines, configuring workflow triggers, managing artifacts, or debugging workflow runs.
Designs GitHub Actions workflows for CI/CD pipelines, covering triggers, jobs, matrix builds, caching, reusable workflows, security, and best practices. Use for creating or reviewing automation.