agentleFS
andeeplusandeeplus/aplus/skills/github/SKILL.md

github

Skill2 starsChanged 38 days agoMITView on GitHub

Run GitHub work through gh, following the project's schema in .github/. Use to create issues from drafts, edit and close issues, open PRs and stacks (gh-stack), move issues on a project board, read checks and reviews, reply to a review, and merge.

166 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use taskflow-inbox-triage, BlueBubbles 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.
  • AtomicBot-aiSkill

    taskflow-inbox-triage

    Also in 6 projects that use this

  • jiulingyunSkill

    BlueBubbles

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

    Also in 20 projects that use this

  • hkyutongSkill

    node-connect

    Diagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps. Use when QR/setup code/manual connect fails, local Wi-Fi works but VPS/tailnet does not, or errors mention pairing required, unauthorized, bootstrap token invalid or expired, gateway.bind, gateway.remote.url, Tailscale, or plugins.entries.device-pair.config.publicUrl.

    Also in 18 projects that use this

  • molt-botSkill

    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

  • molt-botSkill

    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 7 projects that use this

  • +2 more from molt-bot

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 151 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
  • could be automatic: a setting could enforce it
  1. Very specific:

    Every agent does GitHub work the same way: formats come from the repository's .github/ folder, commands from the files below.

    line 8
  2. Distinctive:

    A board is optional: Follow Board.

    line 15
  3. Distinctive:

    Offer to record the board: When you had to ask which board or statuses, offer to add them to the project's instructions so the next agent …

    line 16
  4. Very specific:

    Issues come from draft files: Write a draft and run the issue script below.

    line 17
  5. Very specific:

    Never: put a token on the command line, force-push the integration branch or someone else's branch, or link a local or gitignored file from …

    line 21
  6. Distinctive:

    Add the issue if it is not on the board, before the first status move.

    line 37

“Common” is measured: kept by at least 6 in 10 of the 151 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

Every agent does GitHub work the same way: formats come from the repository's .github/ folder, commands from the files below. Do not improvise a format, label or command they already define. What to do and when comes from create-issue and create-pr.

Rules

  • Read repository policy and settings. Start with the project's instructions, which may name the board and its statuses. Resolve the integration branch, merge method, labels, milestones and issue-script alias from contribution guidance, repository settings and .github/. When no integration branch is specified, use the default branch: gh repo view --json defaultBranchRef --jq .defaultBranchRef.name.
  • Ask before you publish, unless the user asked for that exact action, or the board mapping already approves the move. Pushing, creating or editing issues and PRs, commenting and merging all publish.
  • A board is optional. Follow Board.
  • Offer to record the board. When you had to ask which board or statuses, offer to add them to the project's instructions so the next agent reads them. Edit that file only after the user agrees.
  • Issues come from draft files. Write a draft and run the issue script below. Never call gh issue create by hand: the script validates the draft against the issue forms and labels, then sets the type, labels, milestone, parent and "blocked by" links.
  • The schema is in .github/. The forms in .github/ISSUE_TEMPLATE/ define each kind of issue and its sections. .github/labels.yml, when present, lists the allowed labels. .github/pull_request_template.md is the PR body. Read them; do not restate them.
  • Commit forms before filing. When the script reports no issue forms, or before opening a PR when .github/pull_request_template.md is missing, ask the user to choose: install the defaults with --init, then review and commit them; copy in forms or a template the project already keeps elsewhere, such as the account's .github repository; or stop. The script reads only the repository's own .github/, and committed forms give people who file on github.com the same sections as agents.
  • Use scratch files outside the tree for drafts and PR bodies, so they are never committed.
  • Never put a token on the command line, force-push the integration branch or someone else's branch, or link a local or gitignored file from an issue or PR. Stack branches are rewritten only through gh stack, which pushes with --force-with-lease.

References

TaskRead
Any gh command: issues, pull requests, CI results, review comments, mergingreferences/cli.md
Add an issue to a board and set its statusreferences/cli.md
The issue draft format; create issues with the scriptreferences/issues.md
Create, change or merge a stack of pull requestsreferences/stacks.md

Board

A GitHub Project linked to the repository is a board. With none, skip it. With one, use it; with several, ask which.

  1. Unless the project's instructions give the statuses, list the status options (cli.md: Board) and ask once which option is in progress, which is in review, and which is done. Skip a step the user leaves unset. That answer approves the later moves.
  2. Add the issue if it is not on the board, before the first status move.
  3. Read the current status (cli.md: Board). Set in progress before implementation starts, and assign the logged-in user (cli.md: Issues), so other agents see the issue is taken. Set in review when its PR opens, and done when that PR merges, not when work on the issue finishes.

Script

scripts/create-issues.mts validates drafts and, with --apply, creates them. Run it from inside the repository with Node 22.6 or later, or through the project's alias when it has one:

node --experimental-strip-types <this skill's folder>/scripts/create-issues.mts <file.md | folder> [more files] [--repo owner/name] [--apply]

Without --apply it only validates and prints what it would create, with each issue's labels and milestone. <issue script> in the references means this command.

node --experimental-strip-types <this skill's folder>/scripts/create-issues.mts --init [--repo owner/name]

--init copies the default forms (bug, task, tracking, decision), labels and pull request template from assets/ into .github/, and prints what it wrote. A form keeps its issue type only when the repository has that type: organizations define issue types, and a personal repository has none. It keeps an existing labels.yml and pull request template, refuses to overwrite an existing form, and never commits.

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.