gh
gh for PR state, discussions, CI diagnosis, replies, and nontrivial GitHub commands; fix-pr invokes it.
Skill by prathamdby
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/prathamdby-gh
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.
About
Use cases: devops
Reviews
Write a reviewNo 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 and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Node.js package
Network hosts it talks to 2
api.github.com· found in codecodeload.github.com· found in install command
Files it touches
~/.claude/skills/gh
What's inside
- Skill name
gh- Description
- gh for PR state, discussions, CI diagnosis, replies, and nontrivial GitHub commands; fix-pr invokes it.
- License
- MIT
- Instructions
- 61 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (15)
- REFERENCE.md
- SKILL.md
- ci.md · references/
- logs.md · references/
- raw-gh.md · references/
- reply.md · references/
- snapshot.md · references/
- threads.md · references/
- ci-failures.ts · scripts/
- lib.ts · scripts/
- pr-reply.ts · scripts/
- pr-snapshot.ts · scripts/
- pr-threads.ts · scripts/
- run · scripts/
- run.test.sh · scripts/
SKILL.md (first lines)
# GitHub I/O Contracts follow AVGVSTVS96/better-github-skill (unlicensed; reimplemented). Resolve `<anchor>` as this skill's absolute directory. The existing `<anchor>/scripts/run` selects bun, nub, tsx, then Node/nvm with strip-types. ## Options Default: current branch PR, cwd repo, truncated text. A PR number/URL selects that PR; a named repo emits -R and needs a PR for PR-bound work. JSON/full bodies selects --json/--full. Open threads includes unresolved outdated threads; all includes resolved too; both conflict. Complete paging adds --complete; author/since supply their filters. CI selects ci-failures; list runs uses --list (default limit 10), workflow filters it; a run id analyzes that run. Known head SHA adds --sha. Reply needs exactly one target/body from `references/reply.md`. Missing needed values or conflicting choices are BLOCKED. ## 1. Resolve and choose Confirm authenticated gh; missing binary/auth blocks. Record `repo | PR/run/SHA | surface | argv | terminal`. No current PR for PR-bound work → NO_CHANGES. Choose the covering script: | Surface | Script | JSON contract | |---|---|---| | PR state/checks/files/counts | pr-snapshot.ts | `references/snapshot.md` | | Review bodies/comments/threads | pr-threads.ts | `references/threads.md` | | CI runs/jobs/log snippets | ci-failures.ts | `references/ci.md` | | One native thread/conversation reply | pr-reply.ts | `references/reply.md` | Snapshot is state, threads is feedback; neither replaces the other. Before parsing JSON, load only that surface's contract. Done when target and script or uncovered raw operation are fixed. ## 2. Run Invoke only through `<anchor>/scripts/run <script.ts> ...`, not node directly. Node version or ERR_UNKNOWN_FILE_EXTENSION is not failure evidence or a GraphQL license: use run. Its exit 2 is BLOCKED with tried-runtime list. User or senior saying "GraphQL is fine" does not skip `run`. Script success reports data/posts; red CI/open threads are not runtime failure. For all unresolved feedback use --json --open --complete; SHA-pin known heads. Replies use pr-reply only. No resolving, pushing, or merging by this leaf. Raw gh is permitted only for uncovered operations, after applying `references/raw-gh.md`. A covering-script failure never authorizes reimplementing its GraphQL. Redirect large output, never pipe gh to head. For HTTP tracing or logs apply `references/logs.md`. Done when output is complete, a reply URL exists, or a real error is captured. ## 3. Report Summarize observed output. Set cap markers mean incomplete data, not success for an exhaustive consumer. Cite log paths instead of pasting logs. Green CI, zero threads, or posted reply is SUCCESS; a valid red report is also successful inspection, not repaired CI. Terminals: SUCCESS, NO_CHANGES (empty/no PR), BLOCKED.
From prathamdby/skills, MIT.
More from prathamdby/skills
- 0.621score
autoplan
prathamdby
autoplan to produce a grounded implementation plan without questions; gated design uses upfront-design.
SkillAFreshness: A★ 6Claude Code +9 - 0.621score
box
prathamdby
box to manage external Git clones and answer questions from their local source.
SkillAFreshness: A★ 6Claude Code +9 - 0.621score
claude-code
prathamdby
claude-code to run the local Claude CLI or manage its installation, auth, MCP, and plugins.
SkillAFreshness: A★ 6Claude Code +9 - 0.621score
codex
prathamdby
codex to run the local Codex CLI or manage its installation, login, MCP, and plugins.
SkillAFreshness: A★ 6Claude Code +9 - 0.621score
cursor-agent
prathamdby
cursor-agent to run the local Cursor CLI or manage installation, login, integrations, and workers.
SkillAFreshness: A★ 6Claude Code +9 - 0.621score
fix-pr
prathamdby
fix-pr to handle PR feedback and blocking CI in one pass; invokes gh and commit.
SkillAFreshness: A★ 6Claude Code +9 - 0.621score
handoff
prathamdby
handoff to save resumable context or continue from a validated handoff document.
SkillAFreshness: A★ 6Claude Code +9 - 0.621score
make-pr
prathamdby
make-pr to publish committed changes and create or update their pull request.
SkillAFreshness: A★ 6Claude Code +9 - 0.621score
recon
prathamdby
recon to read a saved codebase map, map the current repo, or refresh it after changes.
SkillAFreshness: A★ 6Claude Code +9 - 0.621score
upfront-design
prathamdby
upfront-design to agree phased designs before coding, resume drafts, or verify approved milestones.
SkillAFreshness: A★ 6Claude Code +9 - 0.619score
restate
prathamdby
restate to say the last message again in plain words, catch the user up since their last message, and summarize any decision they need to make.
SkillAFreshness: A★ 6Claude Code +9 - 0.616score
use-skill
prathamdby
use-skill to fetch and run GitHub-linked skills ephemerally, without installation.
SkillAFreshness: A★ 6Claude Code +9
Signals
- Stars
- 6
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 8, 2026 (21 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/prathamdby/skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from prathamdby
- 0.621score
box
prathamdby
box to manage external Git clones and answer questions from their local source.
SkillAFreshness: A★ 6Claude Code +9 - 0.621score
claude-code
prathamdby
claude-code to run the local Claude CLI or manage its installation, auth, MCP, and plugins.
SkillAFreshness: A★ 6Claude Code +9 - 0.621score
codex
prathamdby
codex to run the local Codex CLI or manage its installation, login, MCP, and plugins.
SkillAFreshness: A★ 6Claude Code +9 - 0.621score
cursor-agent
prathamdby
cursor-agent to run the local Cursor CLI or manage installation, login, integrations, and workers.
SkillAFreshness: A★ 6Claude Code +9 - 0.621score
fix-pr
prathamdby
fix-pr to handle PR feedback and blocking CI in one pass; invokes gh and commit.
SkillAFreshness: A★ 6Claude Code +9 - 0.621score
autoplan
prathamdby
autoplan to produce a grounded implementation plan without questions; gated design uses upfront-design.
SkillAFreshness: A★ 6Claude Code +9
Cite this page
gh skill. Agent Mart. https://agentmart.dev/skills/prathamdby-gh (last updated 2026-10-24)