agentleFS
ARCASSystemsARCASSystems/FounderOS/skills/github-ops/SKILL.md

github-ops

Skill7 starsChanged 18 days agoMITView on GitHub

Fast GitHub operations via the gh CLI. Use when the user mentions GitHub issues, PRs, repos, actions, releases, creating or triaging issues, opening or reviewing pull requests, managing branches, inspecting repo state, or checking CI. Works on any repo the operator's gh CLI is authenticated against.

  • Commits and pushes

23 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

14 rules. 0 are common, 5 are distinctive, and 9 are very specific to this project.

  • 0

    Common

    Most of the 19 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 9

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When the operator asks about GitHub issues, PRs, repos, actions, or releases.

    line 19
  2. Very specific:

    Use the gh CLI via Bash for all read and write operations: gh issue list, gh pr view, gh api, gh run list, and so on.

    line 23
  3. Very specific:

    Create issues: gh issue create with the quoted blocks above

    line 48
  4. Very specific:

    Create PRs (only when explicitly asked): gh pr create with the quoted blocks above

    line 56
  5. Very specific:

    Check PR CI status: gh pr checks <number>

    line 57
  6. Very specific:

    Check a specific run status and logs: gh run view <run-id> --log

    line 61
  7. Very specific:

    Run the gh command. Report results concisely.

    line 76
  8. Very specific:

    When this skill creates a PR or any commit, follow rules/commit-naming.md (read it first if present).

    line 87
  9. Very specific:

    No AI attribution: Never add a Co-authored-by line or any AI-generated footer to a commit.

    line 89
  10. Distinctive:

    Subjects state the user-visible change in plain language: No version-only subjects. No banned words.

    line 90
  11. Distinctive:

    Push only when the operator explicitly asks: Do not push or open a PR on your own.

    line 92
  12. Very specific:

    Do not assume a GitHub MCP tool surface beyond auth unless verified in-session.

    line 97
  13. Distinctive:

    Do not claim a command ran until it has actually run and returned output.

    line 98
  14. Distinctive:

    No em dashes or en dashes.

    line 99

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

Runs on: local-exec - runs a local script; on a cloud surface I read the results, I do not run it.

Fast GitHub operations on any repo your gh CLI is authenticated against.

Trigger

When the operator asks about GitHub issues, PRs, repos, actions, or releases.

Interface: gh CLI is canonical

Use the gh CLI via Bash for all read and write operations: gh issue list, gh pr view, gh api, gh run list, and so on. The CLI is the canonical interface for this skill.

A GitHub MCP server, if present in the session, may expose only authenticate and complete_authentication (auth-only) and not the full issue, PR, or Actions tool surface. Do not assume MCP covers an operation. Check the available tools at session start before relying on MCP, and fall back to gh whenever MCP does not cover what you need. If a future session has a fuller GitHub MCP wired up, prefer those tools and fall back to gh only for gaps.

Pre-flight

  • Confirm gh is installed and authenticated: gh auth status. If it is not, tell the operator to run gh auth login and stop.
  • Confirm the target repo. If the working directory is a git repo, gh infers it. For another repo, pass --repo owner/name explicitly.

Capabilities

A title or body holds someone's words, and an issue body often holds code in backticks. Inside double quotes on the command line those backticks and any $(...) run as commands. So never put real text in quotes after --title or --body. Pass the title through a quoted block and the body on stdin with --body-file -, every line at the left edge with no spaces in front:

gh issue create --title "$(cat <<'FOUNDER_OS_TITLE_END'
<the title>
FOUNDER_OS_TITLE_END
)" --body-file - <<'FOUNDER_OS_BODY_END'
<the body, as many lines as it needs>
FOUNDER_OS_BODY_END

gh issue comment <number> and gh pr create take the same --body-file - block (and gh pr create the same --title block). If the text has a line that reads exactly FOUNDER_OS_TITLE_END or FOUNDER_OS_BODY_END, do not run it.

Issues

  • Create issues: gh issue create with the quoted blocks above
  • List and filter open issues: gh issue list --state open
  • Comment on issues: gh issue comment <number> --body-file - with the body block above
  • Close or label issues: gh issue close <number>, gh issue edit <number> --add-label "..."

Pull requests

  • List open PRs: gh pr list --state open
  • Review PR diffs and comments: gh pr view <number> --comments, gh pr diff <number>
  • Create PRs (only when explicitly asked): gh pr create with the quoted blocks above
  • Check PR CI status: gh pr checks <number>

Actions and CI

  • View recent workflow runs: gh run list
  • Check a specific run status and logs: gh run view <run-id> --log
  • Re-trigger a failed run (only when explicitly asked): gh run rerun <run-id>

Repository

  • View repo stats: gh repo view
  • Browse files and directories: gh api repos/{owner}/{repo}/contents/{path}
  • Compare branches: gh api repos/{owner}/{repo}/compare/{base}...{head}

Releases

  • List releases: gh release list
  • View release notes: gh release view <tag>

Workflow

  1. Identify the operation and target repo.
  2. Run the gh command. Report results concisely.
  3. For any write operation (create, comment, close, label, PR, rerun): confirm with the operator before acting.

Quick commands

  • "what's open" -> gh issue list --state open and gh pr list --state open
  • "CI status" -> gh run list --limit 5
  • "create issue: {title}" -> confirm, then gh issue create

Commit and push rules

When this skill creates a PR or any commit, follow rules/commit-naming.md (read it first if present). The non-negotiable rules across every repo:

  • No AI attribution. Never add a Co-authored-by line or any AI-generated footer to a commit. The operator is the author.
  • Subjects state the user-visible change in plain language. No version-only subjects. No banned words.
  • Never force push, never skip hooks, never amend a published commit.
  • Push only when the operator explicitly asks. Do not push or open a PR on your own.

Hard rules

  • Confirm before any write operation.
  • Do not assume a GitHub MCP tool surface beyond auth unless verified in-session. The gh CLI is the canonical interface.
  • Do not claim a command ran until it has actually run and returned output.
  • No em dashes or en dashes. Hyphens only. No banned words.

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.