| name | github-issue-view |
| description | View GitHub issue details and comments |
Codex target-repository contract
Resolve REPO from an explicit owner/repo argument when supplied; otherwise
run gh repo view --json nameWithOwner --jq .nameWithOwner in the current
checkout. Pass --repo "$REPO" to every issue command. If neither source can
resolve a repository, ask the user before performing a write.
View GitHub Issue
View detailed information about a specific issue in claude-power-pack.
Usage
The user should provide an issue number. If not provided, ask for it.
Fetch Issue Details
gh issue view NUMBER --repo "$REPO"
This returns:
- Title
- State (open/closed)
- Author
- Labels
- Assignees
- Created/updated timestamps
- Body content
- Comments
For More Detail (Comments)
To get comments:
gh issue view NUMBER --repo "$REPO" --comments
Output Format
Present the issue in a readable format:
## Issue #42: Use Plan Mode for complex refactors
**State:** Open
**Author:** @username
**Labels:** best-practice, enhancement
**Assignees:** None
**Created:** 2025-12-10
**Updated:** 2025-12-12
---
### Description
[Issue body content here]
---
### Comments (2)
**@commenter1** (2025-12-11):
[Comment content]
**@commenter2** (2025-12-12):
[Comment content]
Follow-up Options
After viewing, offer:
- Open in browser:
gh issue view NUMBER --web --repo "$REPO"
- Add a comment:
/github-issue-update NUMBER (then add comment)
- Close the issue:
/github-issue-close NUMBER
- Edit the issue:
/github-issue-update NUMBER
Example Interaction
User: /github-issue-view 42
Claude: [Fetches and displays issue #42 details]
Would you like to:
1. Open in browser
2. Add a comment
3. Edit this issue
4. Close this issue