github-actions-docs
GitHub Actionsのワークフロー作成、カスタマイズ、移行、セキュリティ対策、トラブルシューティングなどに関する質問に対し、公式ドキュメントやYAMLの具体的な記述例を用いて、的確な情報やリンクを提供するSkill。
📜 元の英語説明(参考)
Use when users ask how to write, explain, customize, migrate, secure, or troubleshoot GitHub Actions workflows, workflow syntax, triggers, matrices, runners, reusable workflows, artifacts, caching, secrets, OIDC, deployments, custom actions, or Actions Runner Controller, especially when they need official GitHub documentation, exact links, or docs-grounded YAML guidance.
🇯🇵 日本人クリエイター向け解説
GitHub Actionsのワークフロー作成、カスタマイズ、移行、セキュリティ対策、トラブルシューティングなどに関する質問に対し、公式ドキュメントやYAMLの具体的な記述例を用いて、的確な情報やリンクを提供するSkill。
※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o github-actions-docs.zip https://jpskill.com/download/21184.zip && unzip -o github-actions-docs.zip && rm github-actions-docs.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/21184.zip -OutFile "$d\github-actions-docs.zip"; Expand-Archive "$d\github-actions-docs.zip" -DestinationPath $d -Force; ri "$d\github-actions-docs.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
github-actions-docs.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
github-actions-docsフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-18
- 取得日時
- 2026-05-18
- 同梱ファイル
- 2
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
GitHub Actions ドキュメント
GitHub Actions に関する質問は、古い記憶から簡単に答えられます。このスキルを使用して、公式の GitHub ドキュメントに基づいて回答し、一般的な CI/CD のアドバイスではなく、最も権威のあるページを返してください。
使用するタイミング
以下のリクエストの場合にこのスキルを使用してください。
- GitHub Actions の概念、用語、または製品の境界について
- ワークフローの YAML、トリガー、ジョブ、マトリックス、並行処理、変数、コンテキスト、または式について
- GitHub ホスト型ランナー、大規模ランナー、セルフホスト型ランナー、または Actions Runner Controller について
- アーティファクト、キャッシュ、再利用可能なワークフロー、ワークフローテンプレート、またはカスタムアクションについて
- シークレット、
GITHUB_TOKEN、OpenID Connect、アーティファクトの証明、または安全なワークフローパターンについて - 環境、デプロイ保護ルール、デプロイ履歴、またはデプロイ例について
- Jenkins、CircleCI、GitLab CI/CD、Travis CI、Azure Pipelines、またはその他の CI システムからの移行について
- ユーザーがドキュメント、構文ガイダンス、または公式リファレンスを必要とする場合のワークフロー動作のトラブルシューティングについて
以下の場合はこのスキルを使用しないでください。
- 特定の失敗した PR チェック、欠落したワークフローログ、または CI 失敗のトリアージ。
gh-fix-ciを使用してください。 - 一般的な GitHub プルリクエスト、ブランチ、またはリポジトリ操作。
githubを使用してください。 - CodeQL 固有の設定またはコードスキャンガイダンス。
codeqlを使用してください。 - Dependabot の設定、グループ化、または依存関係更新戦略。
dependabotを使用してください。
ワークフロー
1. リクエストを分類する
検索する前に、質問がどのカテゴリに属するかを判断してください。
- はじめにまたはチュートリアル
- ワークフローの作成と構文
- ランナーと実行環境
- セキュリティとサプライチェーン
- デプロイと環境
- カスタムアクションと公開
- 監視、ログ、トラブルシューティング
- 移行
迅速な開始点が必要な場合は、references/topic-map.md を読み込み、最も近いセクションにジャンプしてください。
2. まず公式の GitHub ドキュメントを検索する
docs.github.comを信頼できる情報源として扱ってください。- https://docs.github.com/en/actions の下のページを優先してください。
- ユーザーの正確な用語と、
workflow syntax、OIDC、reusable workflows、self-hosted runnersなどの Actions に特化したフレーズで検索してください。 - 複数のページが妥当な場合は、2〜3の候補ページを比較し、ユーザーの質問に最も直接的に答えるページを選択してください。
3. 回答する前に最適なページを開く
- 最も関連性の高いページ、可能であれば正確なセクションを読んでください。
- トピックマップは、検索範囲を絞り込んだり、可能性のある開始ページを見つけたりするためにのみ使用してください。
- ページの名前が変更されたり、移動されたり、不完全であるように見える場合は、その旨を明示的に述べ、推測するのではなく、最も近い権威のあるページを返してください。
4. ドキュメントに基づいたガイダンスで回答する
- 平易な言葉で直接的な回答から始めてください。
- ドキュメントのホームページだけでなく、正確な GitHub ドキュメントのリンクを含めてください。
- ユーザーが要求した場合、またはドキュメントページで例が必要な場合にのみ、YAML またはステップバイステップの例を提供してください。
- 推論は明示的に行ってください。良い表現は次のとおりです。
GitHub ドキュメントによると、...推論:これはおそらく ... を意味します。
回答の形式
ユーザーが詳細を要求しない限り、コンパクトな構造を使用してください。
- 直接的な回答
- 関連するドキュメント
- 必要な場合のみ、YAML またはステップの例
- 複数のドキュメントページを接続する必要があった場合のみ、明示的な推論の呼び出し
引用は、それがサポートする主張の近くに置いてください。
検索とルーティングのヒント
- 概念に関する質問の場合、詳細なリファレンスページよりも概要または概念ページを優先してください。
- 構文に関する質問の場合、ワークフロー構文、イベント、コンテキスト、変数、または式の参照ページを優先してください。
- セキュリティに関する質問の場合、
Secure use、Secrets、GITHUB_TOKEN、OpenID Connect、およびアーティファクトの証明ドキュメントを優先してください。 - デプロイに関する質問の場合、クラウド固有の例よりも環境とデプロイ保護ドキュメントを優先してください。
- 移行に関する質問の場合、まず移行ハブページ、次にプラットフォーム固有の移行ガイドを優先してください。
- ユーザーが初心者向けのチュートリアルを要求した場合、生のリファレンスページではなく、チュートリアルまたはクイックスタートから始めてください。
よくある間違い
- 現在のドキュメントを確認せずに記憶から回答する
- より狭いページが存在するのに GitHub Actions ドキュメントのランディングページにリンクする
- 再利用可能なワークフローとコンポジットアクションを混同する
- OIDC がより適切に文書化されたパスであるにもかかわらず、長期間有効なクラウド認証情報を提案する
- リポジトリ固有の CI デバッグをドキュメントの質問として扱い、
gh-fix-ciに渡すべきである場合 codeqlまたはdependabotがより適切な場合、隣接するドメインがリクエストを吸収することを許す
バンドルされたリファレンス
references/topic-map.md は、可能性のあるドキュメントのエントリポイントのコンパクトなインデックスとしてのみ読んでください。意図的に不完全であり、最終的な権威としてライブの GitHub ドキュメントに置き換わることは決してありません。
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
GitHub Actions Docs
GitHub Actions questions are easy to answer from stale memory. Use this skill to ground answers in official GitHub documentation and return the closest authoritative page instead of generic CI/CD advice.
When to Use
Use this skill when the request is about:
- GitHub Actions concepts, terminology, or product boundaries
- Workflow YAML, triggers, jobs, matrices, concurrency, variables, contexts, or expressions
- GitHub-hosted runners, larger runners, self-hosted runners, or Actions Runner Controller
- Artifacts, caches, reusable workflows, workflow templates, or custom actions
- Secrets,
GITHUB_TOKEN, OpenID Connect, artifact attestations, or secure workflow patterns - Environments, deployment protection rules, deployment history, or deployment examples
- Migrating from Jenkins, CircleCI, GitLab CI/CD, Travis CI, Azure Pipelines, or other CI systems
- Troubleshooting workflow behavior when the user needs documentation, syntax guidance, or official references
Do not use this skill for:
- A specific failing PR check, missing workflow log, or CI failure triage. Use
gh-fix-ci. - General GitHub pull request, branch, or repository operations. Use
github. - CodeQL-specific configuration or code scanning guidance. Use
codeql. - Dependabot configuration, grouping, or dependency update strategy. Use
dependabot.
Workflow
1. Classify the request
Decide which bucket the question belongs to before searching:
- Getting started or tutorials
- Workflow authoring and syntax
- Runners and execution environment
- Security and supply chain
- Deployments and environments
- Custom actions and publishing
- Monitoring, logs, and troubleshooting
- Migration
If you need a quick starting point, load references/topic-map.md and jump to the closest section.
2. Search official GitHub docs first
- Treat
docs.github.comas the source of truth. - Prefer pages under https://docs.github.com/en/actions.
- Search with the user's exact terms plus a focused Actions phrase such as
workflow syntax,OIDC,reusable workflows, orself-hosted runners. - When multiple pages are plausible, compare 2-3 candidate pages and pick the one that most directly answers the user's question.
3. Open the best page before answering
- Read the most relevant page, and the exact section when practical.
- Use the topic map only to narrow the search space or surface likely starting pages.
- If a page appears renamed, moved, or incomplete, say that explicitly and return the nearest authoritative pages instead of guessing.
4. Answer with docs-grounded guidance
- Start with a direct answer in plain language.
- Include exact GitHub docs links, not just the docs homepage.
- Only provide YAML or step-by-step examples when the user asks for them or when the docs page makes an example necessary.
- Make any inference explicit. Good phrasing:
According to GitHub docs, ...Inference: this likely means ...
Answer Shape
Use a compact structure unless the user asks for depth:
- Direct answer
- Relevant docs
- Example YAML or steps, only if needed
- Explicit inference callout, only if you had to connect multiple docs pages
Keep citations close to the claim they support.
Search and Routing Tips
- For concept questions, prefer overview or concept pages before deep reference pages.
- For syntax questions, prefer workflow syntax, events, contexts, variables, or expressions reference pages.
- For security questions, prefer
Secure use,Secrets,GITHUB_TOKEN,OpenID Connect, and artifact attestation docs. - For deployment questions, prefer environments and deployment protection docs before cloud-specific examples.
- For migration questions, prefer the migration hub page first, then a platform-specific migration guide.
- If the user asks for a beginner walkthrough, start with a tutorial or quickstart instead of a raw reference page.
Common Mistakes
- Answering from memory without verifying the current docs
- Linking the GitHub Actions docs landing page when a narrower page exists
- Mixing up reusable workflows and composite actions
- Suggesting long-lived cloud credentials when OIDC is the better documented path
- Treating repo-specific CI debugging as a documentation question when it should be handed to
gh-fix-ci - Letting adjacent domains absorb the request when
codeqlordependabotis the sharper fit
Bundled Reference
Read references/topic-map.md only as a compact index of likely doc entry points. It is intentionally incomplete and should never replace the live GitHub docs as the final authority.
同梱ファイル
※ ZIPに含まれるファイル一覧。`SKILL.md` 本体に加え、参考資料・サンプル・スクリプトが入っている場合があります。
- 📄 SKILL.md (5,055 bytes)
- 📎 references/topic-map.md (8,180 bytes)