gh-issue
Skill0 starsChanged 4 months agoMITView on GitHub
Complete GitHub issue management — find, view, create, update, close, assign, and auto-fix via gh CLI
- Commits and pushes
12 other projects use a version of this.
Adopted by
Most recently taken up by
- ukchucktown/agent-skillstheir own version, first seen Nov 1, 2026
- apache/skywalking-banyandbtheir own version, first seen Oct 9, 2026
- hunghg255/reactjs-tiptap-editortheir own version, first seen Oct 8, 2026
- gittower/git-flow-nexttheir own version, first seen Oct 8, 2026
- jocmp/capyreadertheir own version, first seen Oct 8, 2026
- latitude-dev/latitude-llmtheir own version, first seen Oct 8, 2026
Other versions12 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 12
- latitude-dev/latitude-llm★ 4.8ksame name
- jocmp/capyreader★ 1.5ksame name
- hunghg255/reactjs-tiptap-editor★ 749same name
- gittower/git-flow-next★ 458same name
- apache/skywalking-banyandb★ 357same name
- Hey-Diga/dotclaude★ 17same name
- Cogni-AI-OU/cogni-ai-agent-skills★ 4same name
- zazzcode/zazz-skills★ 4same name
- grantkee/claude-extensions★ 2same name
- mir-am/skills-agents-ai-coding★ 2same name
2 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repositoryOne other file it gives its agents.
- llms.txtllms.txt
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 5 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 11 edited versions we read keep these.
5
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
- Very specific: line 19
Run at the start of every /gh-issue invocation:
- Distinctive: line 105
Read issue → 2. Plan, confirm → 3.
- Distinctive: line 177
Every line this skill writes must sound like a competent human wrote it, not an AI filling a template.
- Distinctive: line 193
No filler: "This commit", "This PR", "I've noticed", "It appears", "Please review"
- Very specific: line 195
If scope is obvious from context, omit (fix: #42 - ...
- Distinctive: line 199
Before committing or creating a PR, diff against base branch and strip:
- Distinctive: line 202
Defensive checks abnormal for the codebase: If the codebase doesn't null-check every parameter, don't add guards on trusted internal paths.
- Very specific: line 204
Style inconsistent with the file: If the file uses function declarations, don't add arrow consts.
“Common” is measured: kept by at least 6 in 10 of the 11 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.
Files
gh-issue
Complete GitHub issue management via gh CLI. Search, inspect, create, update, close, assign, and auto-fix issues end-to-end.
Preamble
Run at the start of every /gh-issue invocation:
# Resolve skill install directory (supports both global and project-local installs)
if [ -d "$HOME/.claude/skills/gh-issue" ]; then
_GS="$HOME/.claude/skills/gh-issue"
elif [ -d ".claude/skills/gh-issue" ]; then
_GS=".claude/skills/gh-issue"
else
echo "ERROR: gh-issue skill directory not found."
echo "Install: git clone https://github.com/ravvdevv/gh-issue.git ~/.claude/skills/gh-issue"
exit 1
fi
# Verify gh CLI
if ! command -v gh &>/dev/null; then
echo "ERROR: gh CLI not found. Install: https://cli.github.com/"
exit 1
fi
if ! gh auth status &>/dev/null; then
echo "ERROR: gh CLI not authenticated. Run: gh auth login"
exit 1
fiMANDATORY: Read the relevant
$_GS/ops/<op>.mdreference file BEFORE executing anyghcommand. Do not attempt togh issue *without first loading the matching operation doc.
Operations
| Command | Description | Ref |
/gh-issue find [query] [flags] | Search issues | $_GS/ops/find.md |
/gh-issue view <N> | Inspect issue + comments | $_GS/ops/view.md |
/gh-issue create --title <t> | Create issue from conversation | $_GS/ops/create.md |
/gh-issue update <N> [flags] | Edit title, body, labels | $_GS/ops/update.md |
/gh-issue close <N> | Close with optional comment | $_GS/ops/close.md |
/gh-issue assign <N> <login> | Add/remove assignees | $_GS/ops/assign.md |
/gh-issue audit | Scan codebase for bugs, file issues | $_GS/ops/audit.md |
/gh-issue fix <N> | Auto-fix pipeline (branch→PR→merge) | $_GS/ops/fix.md |
/gh-issue changelog | Generate release notes from merged PRs | $_GS/ops/changelog.md |
/gh-issue sprint <create|status|close> | Milestone sprint management | $_GS/ops/sprint.md |
/gh-issue debt | Scan codebase for tech debt, file issues | $_GS/ops/debt.md |
Quick reference
find — search issues
/gh-issue find [query] [--label <l>] [--state <open|closed|all>] [--assignee <u>] [--author <u>] [--limit <N>] [--repo <owner/repo>]Defaults: current repo, open issues, limit 10. @me for self-assigned.
view — inspect issue
/gh-issue view <N>Shows body, labels, assignee, milestone, comments.
create — new issue
/gh-issue create --title <t> [--body <b>] [--label <l>] [--assignee <u>]Body written to temp file → --body-file (avoids shell escaping). Always display created URL.
update — edit issue
/gh-issue update <N> [--title <t>] [--body <b>] [--add-label <l>] [--remove-label <l>]Repeat flags for multiple values. Multi-line body → temp file pattern.
close — close issue
/gh-issue close <N> [--comment <c>]assign — manage assignees
/gh-issue assign <N> <login> # assign
/gh-issue update <N> --remove-assignee <login> # unassign@me not supported — use actual login.
fix — auto-fix pipeline
/gh-issue fix <N>- Read issue → 2. Plan, confirm → 3. Branch → 4. SCOPE (feature manifest) → 5. TRACE (deps) → 6. DIAGNOSE (root cause) → 7. Implement (3-strike rule) → 8. Pre-commit cleanup → 9. Commit → 10. Push → 11. PR → 12. Self-review → 13. Handle review comments → 14. Squash-merge → 15. Report.
Iron Law: no code written until SCOPE/TRACE/DIAGNOSE complete.
audit — codebase scan
/gh-issue audit- Explore codebase → 2. Analyze for bugs/security/error-handling → 3. Present findings → 4. Confirm → 5. File issues (uses create op).
Max 10 findings, deduped against existing open issues. Senior dev voice in filed issues.
changelog — release notes
/gh-issue changelogScans merged PRs + closed issues since last git tag. Categorizes (Added/Fixed/Changed/Deprecated/Removed/Security). Uses "Unreleased" if no tags exist.
sprint — milestone management
/gh-issue sprint create # create milestone with goal + due date
/gh-issue sprint status # show open/closed counts, burndown
/gh-issue sprint close # close milestone, report velocity, list carry-overSprint name format: sprint-N-YYYY-mm. Carry-over > 30% flagged as over-commitment warning.
debt — tech debt scanning
/gh-issue debtScans codebase for TODO/FIXME/HACK, dead code, deep nesting, magic numbers, missing error handling. Ranks HIGH/MED/LOW. Files deduped issues with tech-debt label. Max 10 per run.
Common workflows
Bug triage:
/gh-issue find --state open --label bug
/gh-issue view 15
/gh-issue update 15 --add-label triaged
/gh-issue assign 15 aliceAuto-fix bugs:
/gh-issue find --label bug --limit 3
/gh-issue fix 12
/gh-issue fix 18Create issue from conversation:
User describes bug → extract details → write temp file body → gh issue create --body-file.
Sprint close:
/gh-issue sprint closeRelease cut:
/gh-issue sprint close
/gh-issue changelog
git tag v1.2.0 && git push origin v1.2.0Tech debt sweep:
/gh-issue debt
# review findings → confirm which to file → issues createdOutput quality — senior dev voice, no slop
Every line this skill writes must sound like a competent human wrote it, not an AI filling a template. Two dimensions: what you say (prose) and what you ship (code).
Prose — PRs, commits, issues, comments
Do NOT write like this (AI slop):
- "This commit addresses issue #42 by implementing a comprehensive token validation mechanism that checks for expiry before allowing access to protected resources."
- "I've noticed that when users attempt to log in with an email address that contains trailing whitespace characters, the application returns a 500 Internal Server Error."
- "Closes #42. This PR fixes the token issue by adding validation. Please review."
Write like this (senior dev):
fix(auth): #42 - validate refresh token expiry- "Login returns 500 when email has trailing space" — not the AI-verbose version above
- PR body:
Closes #42\n\nWhat changed:\n- Token expiry check before signature verification\n- Returns TOKEN_EXPIRED error code\n\nWhy this way:\n- Expiry check is cheaper, fails fast\n- Frontend routes TOKEN_EXPIRED to re-auth\n\nTesting: expired, valid, malformed tokens
Rules:
- Lead with the point. One sentence says what changed and why.
- No filler: "This commit", "This PR", "I've noticed", "It appears", "Please review"
- Conventional commits for PR/commit titles with scope
- If scope is obvious from context, omit (
fix: #42 - ...notfix(auth): #42 - ...)
Code — no AI code slop
Before committing or creating a PR, diff against base branch and strip:
- Extra comments a human wouldn't add. No
// This function validates the tokenon a function calledvalidateToken. No inline play-by-play of obvious code. Match the file's existing comment density — if the file is sparsely commented, your additions should be too. - Defensive checks abnormal for the codebase. If the codebase doesn't null-check every parameter, don't add guards on trusted internal paths. Match the existing error-handling style.
- Casts to
anyto get around type issues. Fix the type properly instead.as anyis a lint suppressions, not a solution. - Style inconsistent with the file. If the file uses
functiondeclarations, don't add arrow consts. If it uses 2-space indent, match it. If it uses named exports, don't add defaults.
Report what was stripped in 1-2 sentences at commit/PR time.
Prerequisites
ghCLI installed and authenticated (gh auth status)- Git repo with GitHub remote
- Temp directory writable (
/tmpor$TMPDIR)
Edge cases
| Condition | Behavior |
gh not installed | Preamble detects, shows install link |
gh auth status fails | Preamble detects, prompts gh auth login |
| Skill dir not found | Preamble detects, shows clone command |
| Issue N missing | Error, exit |
| Multi-line body | --body-file temp file (never inline body string) |
| Branch exists | git switch instead of git checkout -b |
| PR exists for branch | Skip create, go to merge |
| Merge conflict | Abort, user resolves manually |
| No git remote | Error, exit |
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
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.

