agentleFS
Ghost7802Ghost7802/awesome-api-skills/skills/github/SKILL.md

github

Skill13 starsChanged 25 days agoMITView on GitHub

  • Installs packages

193 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use BlueBubbles, discord-e2e and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • jiulingyunSkill

    BlueBubbles

    为Clawdbot构建或更新BlueBubbles外部通道插件(扩展包,REST发送/探测,webhook入站)。

    Also in 22 projects that use this

  • friuns2Skill

    discord-e2e

    Test Discord with Convex-leased QA bots: check credentials without a Gateway, exercise owned messages, or prove OpenClaw replies, files, threads, reactions, streaming, and typing. Distinguish API and Gateway evidence from manual user interactions.

    Also in 10 projects that use this

  • friuns2Skill

    openclaw-repair-sweep

    Run scoped OpenClaw issue/PR repair campaigns: coordinate workers, prove root causes, and land or close verified work under the requested authority.

    Also in 10 projects that use this

  • clawdbotSkill

    openclaw-performance

    Performance work in OpenClaw: a slow or heavy flow (latency, CPU, memory, SQL, RPC, renders), writing or reviewing a perf PR, or adding a cache. Count the work, delete waste first, cache last.

    Also in 8 projects that use this

  • clawdbotSkill

    plugin-sdk-impact

    Count Plugin SDK consumers across live ClawHub releases and bundled OpenClaw plugins before deprecation, removal, or behavior changes; supports public release-date filters.

    Also in 8 projects that use this

  • AtomicBot-aiSkill

    taskflow-inbox-triage

    Also in 6 projects that use this

  • +2 more from friuns2

The file

We split this skill into the rules it gives an agent

6 rules. 0 are common, 3 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 175 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use Personal Access Tokens (Classic or Fine-grained) passed as Bearer tokens.

    line 13
  2. Very specific:

    Call octokit.rest.pulls.create to open a PR.

    line 22
  3. Distinctive:

    Never store PATs in source code.

    line 29
  4. Very specific:

    Use GraphQL for deeply nested data retrieval to save REST calls.

    line 35
  5. Very specific:

    If Actions fail to trigger via API, ensure your token has the workflow scope.

    line 38
  6. Distinctive:

    Use this when your agent works with github — structured patterns beat pasted docs and prevent common hallucinations.

    line 44

“Common” is measured: kept by at least 6 in 10 of the 175 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

GitHub REST API API Skill

Overview

The GitHub REST API (v3) allows deep integration with Git data, pull requests, and GitHub Actions. This skill emphasizes the Octokit SDK.

Installation

npm install octokit
pip install PyGithub

Authentication

Use Personal Access Tokens (Classic or Fine-grained) passed as Bearer tokens. Fine-grained PATs are highly recommended for least-privilege access.

Core Concepts

  • Octokit: The official SDK.
  • Refs: Git references (branches/tags).
  • Checks: Status reports for commits (used by CI).

Common Workflows

  1. Authenticate Octokit.
  2. Call octokit.rest.pulls.create to open a PR.
  3. Request reviewers via octokit.rest.pulls.requestReviewers.

Error Handling

Handle HttpError. Status 404 often indicates missing permissions (due to token scope) rather than a truly missing resource.

Security

Never store PATs in source code. Use GitHub Apps for server-to-server integrations rather than service accounts.

Rate Limits

Authenticated requests are limited to 5,000 per hour. Search API is limited to 30 requests per minute.

Best Practices

Use GraphQL for deeply nested data retrieval to save REST calls. Use the If-None-Match header to utilize conditional requests (saves rate limits).

Troubleshooting

If Actions fail to trigger via API, ensure your token has the workflow scope.

References

Why use this skill

Use this when your agent works with github — structured patterns beat pasted docs and prevent common hallucinations.

AI pitfalls

  • Referencing CLI flags or config keys that do not exist
  • Using outdated major versions of tools
  • Skipping lockfile or version pinning in examples

Production checklist

  • Secrets in environment variables, not source code
  • Error handling and logging in place
  • Rate limits and timeouts configured

Related skills

  • vercel — integrates with
  • docker — works well with
  • terraform — works well with

Last Verified: 2026-07-02

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.