gh-issue
Skill4 starsChanged 6 months agoMITView on GitHub
GitHub CLI (`gh issue`) operations for managing, viewing, and editing issues. You MUST load this skill when working with the `gh issue` command.
- Deletes or force-pushes
11 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 versions11 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 11
- latitude-dev/latitude-llm★ 4.7ksame name
- jocmp/capyreader★ 1.5ksame name
- hunghg255/reactjs-tiptap-editor★ 749same name
- gittower/git-flow-next★ 458same name
- apache/skywalking-banyandb★ 355same name
- Hey-Diga/dotclaude★ 17same name
- zazzcode/zazz-skills★ 4same name
- grantkee/claude-extensions★ 2same name
- mir-am/skills-agents-ai-coding★ 2same name
- ukchucktown/agent-skills★ 1same name
1 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 repository124 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/AGENTS.mdAGENTS.md
- .github/workflows/AGENTS.mdAGENTS.md
- .vscode/AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- agent-log-analysisSkill
- agent-mdSkill
- agent-md-writerSkill
- agent-skill-md-writerSkill
- agentskillsSkill
- agents-md-writerSkill
- ai-prompt-writerSkill
- ansibleSkill
- apache-airflow-apiSkill
- apache-airflow-dagsSkill
- astro-cliSkill
- astronomer-docsSkill
- awesome-copilotSkill
- brainstorm-agent-runsSkill
- brainstorm-github-prSkill
- brainstormSkill
- catSkill
- chrome-devtoolsSkill
- claude-docsSkill
- codeqlSkill
- code-reviewSkill
- code-tourSkill
- coding-standard-writerSkill
- context-aware-opsSkill
- copilot-cliSkill
- copilot-docsSkill
- critical-thinkingSkill
- datadog-agentSkill
- datadog-apiSkill
- datadog-mcpSkill
- datadog-monitorsSkill
- datadog-pulumiSkill
- devcontainerSkill
- dictationSkill
- direnvSkill
- dockerfileSkill
- dockerSkill
- docs-reviewSkill
- docs-writerSkill
- dot-claudeSkill
- dotfilesSkill
- dot-githubSkill
- editorconfigSkill
- fact-writerSkill
- gdpr-compliantSkill
- gh-agent-taskSkill
- gh-apiSkill
- gh-aw-compileSkill
- gh-aw-firewall-debugSkill
- gh-aw-firewallSkill
- gh-aw-newSkill
- gh-awSkill
- gh-aw-troubleshootingSkill
- gh-codespaceSkill
- gh-modelsSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
17 rules. 0 are common, 10 are distinctive, and 7 are very specific to this project.
0
Common
Most of the 10 edited versions we read keep these.
10
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 11
Use gh issue to natively interact with GitHub Issues.
- Distinctive: line 12
Prefer native fields and explicit routing over brittle shell post-processing.
- Distinctive: line 45
Always prefer non-interactive creation in automated environments:
- Very specific: line 77
Write the comment to a temporary file first, then use --body-file:
- Distinctive: line 89
When executing autonomously within a GitHub Actions environment, adhere strictly to these interaction constraints:
- Very specific: line 93
Check github.event_name and payload to identify trigger source:
- Distinctive: line 104
Symmetric Routing: ALWAYS reply via the exact originating channel.
- Very specific: line 105
Direct API Responses ONLY: Use gh issue comment to post directly.
- Distinctive: line 111
"Could not resolve to an issue": Verify the issue number and ensure the repository context is correct.
- Very specific: line 112
"Permission denied": Check gh auth status. Ensure the token has repo and issue scopes.
- Very specific: line 117
Avoid using gh api for issue operations that have native gh issue subcommands.
- Very specific: line 118
Do not use gh issue comment to provide large code blocks if they can be committed to a branch instead.
- Distinctive: line 122
Before finishing your session, you MUST ensure the workspace is in a valid state.
- Distinctive: line 126
If the runtime did not involve intended modification of files:
- Distinctive: line 128
Verify: Run git status to confirm the workspace is clean.
- Distinctive: line 129
Clean: If untracked or modified files exist (e.g., temporary analysis artifacts), run git clean -fd and git checkout -- ..
- Distinctive: line 131
Assert: Ensure no PR or commit is triggered for purely informational tasks.
“Common” is measured: kept by at least 6 in 10 of the 10 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 Skill
Use gh issue to natively interact with GitHub Issues.
Prefer native fields and explicit routing over brittle shell
post-processing.
When to Use
- User asks to manage, view, list, or inspect an issue using the GitHub CLI (
gh issue). - Task involves querying issue metadata, comments, labels, or assignees.
- Extracting issue context, reviewing issue body, or commenting on specific issues.
Mindmap of Commands
mindmap
root((gh-issue))
create
Create a new issue
list
List and filter issues
view
View issue details and comments
edit
Edit issue title, body, labels, etc.
comment
Add a comment to an issue
close
Close an issue
reopen
Reopen an issueAdvanced Issue Workflows
Issue Creation: Always prefer non-interactive creation in automated environments:
gh issue create --title "bug: unexpected crash" --body-file /tmp/description.md --label "bug" --assignee "@me"Listing Issues: To quickly identify open issues with specific labels:
gh issue list --state open --label "bug" --json number,title,createdAt --limit 10Viewing Issue Details: For quick structured review of an issue without leaving the terminal:
gh issue view <number> --json title,body,state,labels,assignees,commentsModifying Issues: Be explicit about the modifications:
gh issue edit <number> --add-label "in-progress" --add-assignee "@me" gh issue close <number> --reason "completed"
Interaction & Comments
- For issue thread interactions, use
gh issue comment. For long comments, avoid heredocs as they can cause shell hangs if truncated. Write the comment to a temporary file first, then use
--body-file:# Use your file-writing tools to write the comment to /tmp/comment.md, then: gh issue comment <number> --body-file /tmp/comment.md
For high-level issue thread interactions, response routing, and workspace invariants in GitHub Actions, refer to the github-issue skill.
GitHub Actions Runtime
When executing autonomously within a GitHub Actions environment, adhere strictly to these interaction constraints:
Response Detection & Routing
Check github.event_name and payload to identify trigger source:
- Issue comment (
issue_comment):- Condition:
if: ${{ !github.event.issue.pull_request }} - Reply Method:
gh issue comment
- Condition:
- General PR comment (
issue_comment):- Condition:
if: ${{ github.event.issue.pull_request }} - Reply Method:
gh pr comment
- Condition:
Routing Invariants:
- Symmetric Routing: ALWAYS reply via the exact originating channel. NEVER cross threads.
- Direct API Responses ONLY: Use
gh issue commentto post directly. NEVER write comment text to files in the workspace. - Parse
github.event.comment.idto maintain thread continuity.
Failure Signatures
- "Could not resolve to an issue": Verify the issue number and ensure the repository context is correct.
- "Permission denied": Check
gh auth status. Ensure the token hasrepoandissuescopes. - "Issue is locked": Some repositories restrict comments on locked issues.
What to Avoid
- Avoid using
gh apifor issue operations that have nativegh issuesubcommands. - Do not use
gh issue commentto provide large code blocks if they can be committed to a branch instead.
Pre-Completion
Before finishing your session, you MUST ensure the workspace is in a valid state.
Workspace Cleanliness (Non-Modifying Tasks)
If the runtime did not involve intended modification of files:
- Verify: Run
git statusto confirm the workspace is clean. - Clean: If untracked or modified files exist (e.g., temporary analysis artifacts), run
git clean -fdandgit checkout -- .. - Assert: Ensure no PR or commit is triggered for purely informational tasks.
Related Skills
- gh-pr:
You MUST load this skill when working with the
gh prcommand.
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.

