MCPInstall

github-docs

GitHub 公式ドキュメント (docs.github.com)。REST API, GraphQL, Webhooks, GitHub Apps, OAuth Apps, gh CLI, PAT / GITHUBTOKEN, Actions (jobs, steps, expressions, workflow commands, concurrency, OIDC, artifact attestations, lockfile), pull requests, issues, Projects v2, immutable releases, Codespaces, Packages, Copilot API / cloud agent, code scanning, secret scanning, Dependabot, Dependency graph / SBOM, Teams, Billing, activity (events / notifications)。

Installs
1.4K
Last 24h
+16
Trending rank
#6751
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/fandhe-ai/agent-reference-skills --skill github-docs
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads github-docs automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

GitHub Docs リファレンス

GitHub 公式ドキュメント (docs.github.com) の主要セクションを網羅したスキル。

出典: docs.github.com Article Body API (free-pro-team@latest)、取得日 2026-10-17。REST は X-GitHub-Api-Version 2026-03-10 で記述(ヘッダー省略時の既定は 2022-11-28)。 ユーザーのタスクに応じて適切な README.md を読み、そこから個別ファイルへ辿ること。

ディレクトリ構成

skills/github-docs/
  SKILL.md
  references/
    actions/
      README.md
      artifact-attestations.md
      artifacts.md
      caching.md
      composite-actions.md
      concurrency.md
      contexts.md
      environment-variables.md
      events-triggers.md
      expressions.md
      limits.md
      lockfiles.md
      oidc.md
      permissions.md
      reusable-workflows.md
      runners.md
      secrets.md
      workflow-commands.md
      workflow-syntax.md
      creating-actions/
        README.md
        action-metadata.md
        docker-actions.md
        immutable-releases.md
        javascript-actions.md
    apps/
      README.md
      about.md
      authentication.md
      creating.md
      installation.md
      oauth-apps.md
      permissions-events.md
      webhooks.md
    authentication/
      README.md
      deploy-keys.md
      personal-access-tokens.md
      saml-sso.md
      ssh-keys.md
      two-factor-auth.md
    cli/
      README.md
      extensions.md
      quickstart.md
      reference.md
    graphql/
      README.md
      forming-calls.md
      overview.md
      pagination.md
      rate-limits.md
      schema-reference.md
    pages/
      README.md
      configuration.md
      custom-domains.md
      getting-started.md
    projects/
      README.md
      graphql-api.md
      rest-api.md
    pull-requests/
      README.md
      code-owners.md
      conflicts.md
      creating.md
      merging.md
      reviewing.md
    repositories/
      README.md
      branches.md
      creating-managing.md
      files.md
      releases-tags.md
      settings.md
      templates.md
    rest-api/
      README.md
      agent-tasks/
        README.md
        agent-tasks.md
      agents/
        README.md
        secrets.md
        variables.md
      billing/
        README.md
        budgets.md
        usage.md
      campaigns/
        README.md
        campaigns.md
      actions/
        README.md
        artifacts.md
        cache.md
        concurrency-groups.md
        oidc.md
        secrets.md
        self-hosted-runners.md
        variables.md
        workflow-jobs.md
        workflow-runs.md
        workflows.md
      activity/
        events.md
        notifications.md
        starring.md
        watching.md
      checks/
        README.md
        check-runs.md
        check-suites.md
      codespaces/
        codespaces.md
      copilot/
        README.md
        cloud-agent-management.md
        coding-agent-management.md
        content-exclusion-management.md
        spaces.md
        usage-metrics.md
        user-management.md
      dependency-graph/
        README.md
        dependency-review.md
        dependency-submission.md
        sboms.md
      deployments/
        README.md
        deployments.md
        environments.md
      gists/
        README.md
        gists.md
      git/
        README.md
        blobs.md
        commits.md
        refs.md
        tags.md
        trees.md
      issues/
        README.md
        assignees.md
        comments.md
        issues.md
        labels.md
        milestones.md
      orgs/
        README.md
        orgs.md
      overview/
        about.md
        api-versions.md
        authentication.md
        best-practices.md
        pagination.md
        permissions.md
        rate-limits.md
        troubleshooting.md
      packages/
        README.md
        packages.md
      pages/
        README.md
        pages.md
      projects/
        fields.md
        items.md
        projects.md
      pulls/
        README.md
        pulls.md
        review-comments.md
        review-requests.md
        reviews.md
      repos/
        README.md
        branches.md
        collaborators.md
        commits.md
        contents.md
        deploy-keys.md
        releases.md
        repos.md
        tags.md
        webhooks.md
      search/
        README.md
        search.md
      security/
        README.md
        code-scanning.md
        dependabot-alerts.md
        dependabot-repository-access.md
        dependabot-secrets.md
        secret-scanning.md
        secret-scanning-push-protection.md
      teams/
        README.md
        members.md
        teams.md
      users/
        README.md
        users.md
    webhooks/
      README.md
      about.md
      best-practices.md
      creating.md
      events.md
      securing.md
  samples/
    README.md
    cache-dependencies.md
    ci-node.md
    composite-action.md
    concurrency-deploy-queue.md
    deploy-on-push.md
    manual-dispatch.md
    matrix-build.md
    oidc-aws-deploy.md
    pr-auto-comment.md
    rest-api-call.md
    reusable-workflow-deploy.md
    scheduled-workflow.md
    secret-usage.md
  scripts/
    README.md
    api.md
    auth.md
    cli.md
    extensions.md
    generate.md
    install.md

探索手順

タスクからカテゴリを引き、カテゴリの README.md で目的のページを特定する:

  1. 下記マッピング表でタスクに対応するカテゴリを探す
  2. そのカテゴリの references/{category}/README.md を参照して目的のページを特定する
  3. 該当ページの .md を Read して詳細を確認する

samples 利用時の安全規約

samples/ のサンプルはそのまま複製されて消費側リポジトリの CI になる前提の資材である。複製時に危険な書き方が伝播しないよう、全サンプルは以下を満たす。

  • 外部 action・別リポジトリの reusable workflow はコミット SHA 固定で参照する(末尾コメントでバージョンを示す)。@v4 / @main などの可動 ref は付け替え可能でサプライチェーン攻撃の経路になる
  • ${{ ... }} を run: 本文や actions/github-script の script: 本文へ直接展開しない。env: へ渡し、シェルでは "${VAR}"、JavaScript では process.env.VAR で参照する
  • ジョブの permissions は必要最小限を明示する。既定権限が read-only のリポジトリでも動くようにする
  • 各 run: は複数行ブロック(run: |)とし、先頭に set -euo pipefail を置く。ワークフロー側のステップにも shell: bash を明示する。未定義変数やパイプ途中の失敗を見逃さないため
  • $GITHUB_OUTPUT などの環境変数は "${GITHUB_OUTPUT}" とクォートして参照する
  • fork PR を扱う場合、pull_request_target へ単純置換しない。PR のコードを実行しないジョブへ分離する(samples/pr-auto-comment.md 参照)

タスク → カテゴリ マッピング

タスクカテゴリ参照 README
ワークフロー構文・CI/CD 設定、イベントトリガー、シークレット、キャッシュ、アーティファクトactionsreferences/actions/README.md
ワークフローコマンド(::add-mask:: / GITHUB_OUTPUT / ジョブサマリー)、concurrency と queue、Actions の制限値actionsreferences/actions/README.md
OIDC クラウド連携(id-token)、lockfile(gh actions-lock)、artifact attestationsactionsreferences/actions/README.md
カスタムアクション作成(JavaScript・Docker・複合アクション)、immutable releasesactions/creating-actionsreferences/actions/creating-actions/README.md
GitHub App 作成・認証・インストール、OAuth Apps との比較appsreferences/apps/README.md
SSH キー・PAT・2FA・SAML SSO・デプロイキーauthenticationreferences/authentication/README.md
gh コマンド、CLI クイックスタート、CLI 拡張機能clireferences/cli/README.md
GraphQL クエリ・ミューテーション・スキーマ・ページネーションgraphqlreferences/graphql/README.md
GitHub Pages 作成・設定・カスタムドメインpagesreferences/pages/README.md
GitHub Projects(v2)の GraphQL / REST API 操作projectsreferences/projects/README.md
PR 作成・レビュー・マージ、CODEOWNERS、コンフリクト解決pull-requestsreferences/pull-requests/README.md
リポジトリ作成・設定、ブランチ保護、リリース・タグ管理repositoriesreferences/repositories/README.md
REST API 概要・認証・レート制限・ページネーションrest-api/overviewreferences/rest-api/README.md
Actions API(ワークフロー・シークレット・アーティファクト等)rest-api/actionsreferences/rest-api/actions/README.md
アクティビティ API(イベント・通知・スター・ウォッチ)rest-api/activityreferences/rest-api/README.md
チェック API(check-runs・check-suites)rest-api/checksreferences/rest-api/checks/README.md
Codespaces APIrest-api/codespacesreferences/rest-api/README.md
Copilot API(利用状況メトリクス・ユーザー管理・Spaces・cloud agent 管理・content exclusion)rest-api/copilotreferences/rest-api/copilot/README.md
Dependency graph API(dependency review / submission / SBOM)rest-api/dependency-graphreferences/rest-api/dependency-graph/README.md
Agent tasks API(Copilot cloud agent タスク)rest-api/agent-tasksreferences/rest-api/agent-tasks/README.md
Agents secrets / variables APIrest-api/agentsreferences/rest-api/agents/README.md
Security campaigns APIrest-api/campaignsreferences/rest-api/campaigns/README.md
Teams API(チーム・メンバー)rest-api/teamsreferences/rest-api/teams/README.md
Billing API(budgets / usage)rest-api/billingreferences/rest-api/billing/README.md
デプロイ・環境 APIrest-api/deploymentsreferences/rest-api/deployments/README.md
Gist APIrest-api/gistsreferences/rest-api/gists/README.md
Git データ API(blobs・commits・refs・tags・trees)rest-api/gitreferences/rest-api/git/README.md
Issue API(ラベル・マイルストーン・コメント・担当者)rest-api/issuesreferences/rest-api/issues/README.md
Organization APIrest-api/orgsreferences/rest-api/orgs/README.md
パッケージ APIrest-api/packagesreferences/rest-api/packages/README.md
Pages APIrest-api/pagesreferences/rest-api/pages/README.md
Projects(v2)REST API(items・fields)rest-api/projectsreferences/rest-api/README.md
PR API(レビュー・レビューコメント・レビューリクエスト)rest-api/pullsreferences/rest-api/pulls/README.md
リポジトリ API(ブランチ・コンテンツ・リリース・Webhook)rest-api/reposreferences/rest-api/repos/README.md
検索 APIrest-api/searchreferences/rest-api/search/README.md
セキュリティ API(code scanning・secret scanning・Dependabot alerts/secrets/repository access)rest-api/securityreferences/rest-api/security/README.md
ユーザー APIrest-api/usersreferences/rest-api/users/README.md
Webhook 作成・イベントペイロード・セキュリティ・ベストプラクティスwebhooksreferences/webhooks/README.md
典型的な Actions ワークフロー・デプロイ・CI パターンを知りたいsamplessamples/README.md
gh CLI インストール・認証・API 呼び出しコマンドを知りたいscriptsscripts/README.md

FAQ

What does the github-docs skill do?

GitHub 公式ドキュメント (docs.github.com)。REST API, GraphQL, Webhooks, GitHub Apps, OAuth Apps, gh CLI, PAT / GITHUBTOKEN, Actions (jobs, steps, expressions, workflow commands, concurrency, OIDC, artifact attestations, lockfile), pull requests, issues, Projects v2, immutable releases, Codespaces, Packages, Copilot API / cloud agent, code scanning, secret scanning, Dependabot, Dependency graph / SBOM, Teams, Billing, activity (events / notifications)。

How do I install github-docs?

Run npx skills add https://github.com/fandhe-ai/agent-reference-skills --skill github-docs in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/github-docs/ (personal) or .claude/skills/github-docs/ (project).

Which AI agents can use github-docs?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is github-docs safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains github-docs?

It is published by fandhe-ai in fandhe-ai/agent-reference-skills. It has 1,371 recorded installs.

More from fandhe-ai/agent-reference-skills

View all →

commitlint

fandhe-ai/agent-reference-skills

commitlint (Conventional Commits メッセージ検証ツール) リファレンス。 rules 設定、plugins、shareable-config、@commitlint/config-conventional、 Husky / lefthook / simple-git-hooks 連携、CI 統合、custom rules。

AI & Agents1.1K installs

lefthook

fandhe-ai/agent-reference-skills

Lefthook (高速並列 Git hooks マネージャー) リファレンス。 lefthook.yml 設定、pre-commit / pre-push / commit-msg 等のフック、 parallel / piped 実行、glob / run / tags フィルタ、stagedfiles、 lefthook の ai 設定 (beta)、JSON schema、Composer / npm / pip 等インストール、 保護ブランチ、CI スキップ、Husky からの移行。

editorconfig

fandhe-ai/agent-reference-skills

EditorConfig (エディタ設定統一フォーマット) リファレンス。 .editorconfig ファイル、glob パターン、root、 indentstyle / indentsize / tabwidth、endofline, charset、 trimtrailingwhitespace, insertfinalnewline, maxlinelength, spellinglanguage。

AI & Agents1.1K installs

rust

fandhe-ai/agent-reference-skills

Rust 言語リファレンス。 別名: rustlang, rs (拡張子)、Rust-lang。 TRPL (The Rust Programming Language)、Rust by Example、Reference、 Cargo Book、rustc Book、rustdoc Book、Rustonomicon (Unsafe Rust)、 Edition Guide、Standard Library、Error Index。 所有権、ライフタイム、トレイト、async / await、エラーハンドリング、マクロ。

Backend & APIs932 installs

anthropic-claude-code

fandhe-ai/agent-reference-skills

Claude Code (code.claude.com) の CLI 本体リファレンス。 CLAUDE.md memory, settings.json (All settings, settings precedence, managed-settings.json), env-vars, model config, keybindings, statusline, terminal config, cli-reference (-p / --continue / --resume), sessions, checkpointing, worktrees, remote control, channels, deep links, troubleshooting。

AI & Agents642 installs

make

fandhe-ai/agent-reference-skills

GNU Make / Makefile リファレンス。 ターゲット、prerequisite、order-only、変数展開、自動変数、pattern rule、.PHONY、-j 並列・再帰 make、増分ビルド。 Rust / Cargo / xtask、Node.js / pnpm / Turborepo、Git hooks / CI との責務分離と開発コマンド共通化。 Makefile 設計・レビュー、Bash サンプル、診断スクリプト。

Backend & APIs495 installs

Popular docs & writing skills

View category →

grill-with-docs

mattpocock/skills

A relentless interview to sharpen a plan or design, which also creates docs (ADR's and glossary) as we go.

Docs & Writing1.2M installs

lark-markdown

open.feishu.cn

飞书 Markdown:查看、创建、上传、编辑和比较飞书中的原生 Markdown 文件。当用户要操作飞书 Markdown 文件,或比较其远端版本及本地草稿时使用。纯本地 Markdown 文件操作不触发本 skill。不负责将 Markdown 导入为飞书在线文档,也不负责文件搜索、权限、评论、移动、删除等云空间管理操作。

Docs & Writing778.7K installs

writing-beats

mattpocock/skills

Writing, exploit; assemble raw material into a journey of beats, grounding each term before a beat leans on it.

Docs & Writing490.7K installs

writing-shape

mattpocock/skills

Writing, exploit: shape raw material into an article, paragraph by paragraph.

Docs & Writing490.2K installs

writing-fragments

mattpocock/skills

Writing, explore: mine raw fragments, no structure yet.

Docs & Writing489.6K installs

writing-for-agents

mattpocock/skills

Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.

Docs & Writing479.3K installs