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

github

Skill1 starsChanged 56 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), read checks and reviews, reply to a review, and merge.

96 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use gifgrep, goplaces 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.
  • seedprodSkill

    gifgrep

    Search GIF providers with CLI/TUI, download results, and extract stills/sheets.

    Also in 8 projects that use this

  • seedprodSkill

    goplaces

    Query Google Places API (New) via the goplaces CLI for text search, place details, resolve, and reviews. Use for human-friendly place lookup or JSON output for scripts.

    Also in 6 projects that use this

  • +10 more from seedprod

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 86 edited versions we read keep these.

  • 0

    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. Very specific:

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

    line 15
  3. 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 19

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

Project specifics (the integration branch, the merge method, milestone and label conventions, an alias for the issue script) come from the project's AGENTS.md and the project skill it names. If neither says, the integration branch is the default branch: gh repo view --json defaultBranchRef.

Rules

  • Ask before you publish, unless the user asked for that exact action. Pushing, creating or editing issues and PRs, commenting and merging all publish.
  • 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, ask the user to choose: install the defaults with --init, then review and commit them; copy in forms 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
The issue draft format; create issues with the scriptreferences/issues.md
Create, change or merge a stack of pull requestsreferences/stacks.md

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) and labels 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, 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.