Skip to content
Agentmart
Submit a tool

github

Use for GitHub pull requests, issues, CI workflows, and API queries

Skill by OrestesK

IndexedMIT★ 2
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/orestesk-github

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use for GitHub pull requests, issues, CI workflows, and API queries

Use cases: backend, devops

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/github

What's inside

Skill name
github
Description
Use for GitHub pull requests, issues, CI workflows, and API queries
License
MIT
Instructions
123 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# GitHub (gh CLI)

Use the `gh` CLI for all GitHub operations

## Read-only inspection

Use these commands to inspect PRs, issues, and CI:
- `gh pr list`, `gh pr view <number>`
- `gh pr view <number> --json number,url,state,headRefName,headRefOid,baseRefName,baseRefOid`
- `gh pr checks <number> --json name,bucket,state,workflow,link`
- `gh pr checks <number> --watch --fail-fast` when checks are pending
- `gh run list`, `gh run view <id>`, `gh run view <id> --log-failed`, `gh run watch <id>`
- `gh api repos/{owner}/{repo}/pulls/{number}/comments` for PR review comments
- `gh api repos/{owner}/{repo}/issues/{number}/comments` for PR discussion comments
- `gh issue list`, `gh issue view <number>`
- `gh api repos/{owner}/{repo}/...` for other read-only API queries

## Keep PR evidence current

For a readiness claim or review that depends on current PR content:
1. Select the PR. Use the `gh pr view <number> --json` command above to record its number, URL, state, head name/OID, and base name/OID
2. Use that PR number for every later metadata, diff, check, and review query. Collect evidence for the recorded PR state
3. Immediately before the final claim or an authorized claim-bearing post, fetch the same identity fields again with that PR number
4. If the state, head name/OID, or base name/OID changed, do not claim or post. Reassess the PR, discard evidence that depended on its old content, collect the needed evidence again, and repeat this check
5. Report the final identity as `PR <number> <url>; head <name>@<OID>; base <name>@<OID>`

This check confirms freshness:
- it does not lock the PR. Use it only when the conclusion depends on PR content, not for metadata-only inspection or non-PR reviews

## GitHub mutations and command rules

For every GitHub mutation, the user must request and explicitly approve the exact tool (`gh`), command, action, target, and expected effect. State every relevant credential, data, cost, time, environment, and destructive boundary, then wait. The active authorization, external-action, and project rules still control what is allowed

Mutation categories include:
- creating a PR with `gh pr create --title "..." --body-file /tmp/pr_body.md`
- editing a PR description/body
- posting a PR comment
- submitting a PR review
- creating an inline PR review comment
- creating an issue
- posting an issue comment
- pushing, merging, closing, or reopening
- labeling, assigning, or requesting reviewers
- changing a PR base

Always use `--body-file` for multi-line PR bodies to avoid shell-escaping errors. Check `gh auth status` if an operation fails

## Prepare Your PR for Human Review

Live tests, supporting artifacts, and stacked PRs are recommendations, not blockers. If the author wants to request review without them, explain what is missing and continue

1. Inspect the current PR, diff, checks, comments, intent, and repository rules
2. Run a fresh review of the current PR change and any AI-reviewer feedback
3. Identify and suggest a representative live test when one would add useful evidence
   - Draft how its result would be reported in the PR description
   - If no useful live test is possible, always say why
   - Keep PR checks and static checks separate from live-test evidence
4. Decide from the change whether to suggest:
   - a diagram for an architectural change
   - a design document for a large change
   - stacked PRs when clear dependent slices would be easier to review
5. After meaningful changes, run a fresh review of the current PR, then refresh the suggested tests and checks

### Progress and handoff

- Continue until the code and evidence are current
- Complete independent agent work before optional human-handoff interactions
- Follow `AGENTS.md` for early questions and parallel investigation

## Review Someone Else's PR

1. Read the description, full diff, checks, comments, relevant code, and repository rules
2. Explain the change to the user in plain language
3. Use `review` to run a fresh review of the change and synthesize the result
4. Use `github-pr-comments` to turn validated findings into proposed outgoing comments
5. Show every proposed comment to the user
6. Post only comments the user approves

## Respond to PR Feedback

- Read every comment and relevant code change
- Evaluate each comment against the current code and available evidence
- Reply to every inline PR comment, and to top-level (general PR) comments that need a response
- Recheck the original concern after a fix
- Show every proposed reply to the user
- Post only replies the user approves
- The author or their agent may resolve AI-reviewer comments after addressing them
- Only the human reviewer may resolve comments left by that reviewer

## PR Description Format

### Timing and approval

- Prepare the description when creating a PR
- Refresh it at final completion or handoff of the PR work, not continuously as the work evolves
- Draft PR-description changes and update GitHub only with the user’s approval

### Body format

Use this format when drafting PR text or when the user explicitly asks to update a PR description/body:

```
## What changed
Concise summary. Key files/areas affected

## Why
Motivation, context, problem being solved

## How tested
Tests added/updated, manual checks, commands run
```

The format is flexible. You may add sections and use the format's sections in the repository's existing PR template

When the work context mentions a ticket or issue, attach it to the PR and include it in the description

For a PR with a large or mixed diff, add guidance that tells reviewers where to start and separates core behavior from generated, mechanical, or formatting-only changes:
- separate core behavior files from generated, mechanical, or formatting-only files
- say which files or areas reviewers should read first

From OrestesK/pi, MIT.

More from OrestesK/pi

Signals

Stars
2
Forks
0
Open issues
0
Last commit (this folder)
Sep 14, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from OrestesK

Cite this page

github skill. Agent Mart. https://agentmart.dev/skills/orestesk-github (last updated 2026-10-24)