AI SKILL github
Use when working with GitHub (the platform on top of git) - creating or managing repositories, branches, and branch protection / rulesets; opening, reviewing, or merging pull requests (merge vs squash vs rebase, CODEOWNERS, required reviews); issues, labels, milestones, issue templates/forms, and Projects; authoring or debugging GitHub Actions workflows (.github/workflows/*.yml - on, jobs, runs-on, uses, with, permissions, matrix, contexts, GITHUB_TOKEN, caching, artifacts, reusable workflows); and the gh CLI (gh pr/issue/run/workflow/release/api); plus keeping your commit email private (GitHub noreply addresses, the block-pushes-that-expose-my-email setting / GH007). Also fires when editing files under .github/ (workflows, CODEOWNERS, ISSUE_TEMPLATE), reading a workflow error, or choosing the right GitHub command/field - even when the user never says "GitHub" by name. Gives faithful, task-routed guidance with worked examples; defers core git mechanics to the git skill.From its SKILL.md
npx -y skills add LevyBytes/AI-SKILL-githubAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
6.0 KB, ~1.1k tokens by cl100k_base, as published. Nobody here has run it
GitHub
Task-organized, faithful guidance for working with GitHub: repositories and branch protection, pull
requests, issues and Projects, GitHub Actions, and the gh CLI (with more areas added in later
batches). Content is original; identifiers (commands, flags, workflow YAML keys, API fields) are
preserved exactly. Core git mechanics live in the separate git skill.
When to use this skill
Reach for this skill whenever a task touches GitHub-the-platform: repos/branch protection, pull
requests, issues/Projects, GitHub Actions workflow authoring, or the gh CLI — including when the
user opens a file under .github/ (a workflow, CODEOWNERS, an issue template) or pastes a GitHub
Actions error, without naming "GitHub".
How to use it (runtime workflow)
- Read this file, then consult the task router below (or
references/topics.json). - Open only the one or two reference files relevant to the task — do not read everything.
- Answer strictly from the reference; preserve command/flag/YAML-key/API-field names exactly.
- If something is not covered, say so and mark it
TODO— never invent a flag, field, or key. - For core git operations (commit/branch/push/rebase mechanics), use the
gitskill instead.
Task router
| If the task is about… | Read |
|---|---|
| creating/cloning repos, visibility, branch protection rules, rulesets | references/repositories.md |
| opening/reviewing/merging PRs, merge vs squash vs rebase, CODEOWNERS, draft PRs | references/pull-requests.md |
| issues, labels, milestones, issue templates/forms, Projects (v2) | references/issues-and-projects.md |
workflow file structure (on, jobs, runs-on, steps, uses, with, permissions, matrix) | references/actions-workflow-syntax.md |
triggers/events, contexts (github, runner, needs, matrix), ${{ }} expressions | references/actions-events-and-contexts.md |
runners, GITHUB_TOKEN/permissions, caching, artifacts, reusable workflows | references/actions-runners-and-features.md |
the gh CLI (auth, repo, pr, issue, run, workflow, release, gh api) | references/gh-cli.md |
REST API: base URL, auth, X-GitHub-Api-Version, pagination, rate limits | references/rest-api.md |
| GraphQL API: endpoint, query/mutation, cursor pagination | references/graphql-api.md |
| GitHub Apps vs OAuth apps, app auth (JWT/installation tokens), webhooks + signature validation | references/apps-and-webhooks.md |
| tokens (PAT fine-grained/classic), SSH keys, Dependabot, code scanning (CodeQL), secret scanning | references/authentication-and-security.md |
keeping your commit email private (noreply addresses, the GH007 blocked push, git config user.email) | references/commit-email-privacy.md |
| GitHub Pages: site URLs, branch vs Actions publishing, custom domains/HTTPS | references/pages.md |
GitHub Packages, the ghcr.io Container registry, package auth/visibility | references/packages.md |
Codespaces and devcontainer.json configuration, prebuilds | references/codespaces.md |
| organization roles, repository roles (Read/Triage/Write/Maintain/Admin), teams, audit log | references/organizations-and-admin.md |
Gotchas
Recurring failure modes and what to do instead live in the sibling GOTCHA.md.
Verification notes
Validate the package structure (the validator ships with the skill-drafting skill; paths use the DEVROOT env var — adjust to your layout):
python "$env:DEVROOT\SKILLS\skills\skill-drafting\scripts\validate_skill_package.py" "$env:DEVROOT\SKILLS\skills\github"
Built and checked with the three-layer method (Spec → Verifier → Environment). Ground-truth checks
live in AI/work/verify_github.py: every reference is listed in references/INDEX.md, has exactly
one references/topics.json entry, resolves its cross-links, and contains a summary, a "When this
applies" line, an example, and a do/don't or anti-patterns section. The verifier also greps a
preserve-glossary of load-bearing identifiers (commands, flags, workflow keys, API fields) against the
shipped references and enforces that no source branding/attribution leaks into the original content.
Reference map
Start at references/INDEX.md. Metadata: references/topics.json (topic → file + keywords). Coverage
is comprehensive across 16 references: repos, pull requests, issues/Projects, GitHub Actions, the gh
CLI, REST and GraphQL APIs, Apps & webhooks, authentication & security, commit email privacy, Pages,
Packages, Codespaces, and organizations & administration.
Official documentation
Includes original content written for this skill. The official documentation is at https://docs.github.com/en — consult it to verify anything uncertain, conflicting, or version-specific.
What ships with it: 22 files
95.2 KB alongside SKILL.md
references/
- actions-events-and-contexts.md2.9 KB
- actions-runners-and-features.md3.9 KB
- actions-workflow-syntax.md2.9 KB
- apps-and-webhooks.md3.1 KB
- authentication-and-security.md2.8 KB
- codespaces.md2.2 KB
- commit-email-privacy.md4.6 KB
- gh-cli.md2.7 KB
- graphql-api.md2.3 KB
- INDEX.md3.6 KB
- issues-and-projects.md2.9 KB
- organizations-and-admin.md2.5 KB
- packages.md2.2 KB
- pages.md2.0 KB
- pull-requests.md2.9 KB
- repositories.md3.2 KB
- rest-api.md2.6 KB
- topics.json7.1 KB
- .gitignore140 B
- GOTCHA.md1.1 KB
- LICENSE33.7 KB
- README.md3.8 KB