gh-issue-view

Installation
SKILL.md

GitHub Issue / PR Viewer

The Problem

Running gh issue view <number> or gh pr view <number> without --json triggers a GraphQL error about the deprecated projectCards field (classic Projects sunset), causing exit code 1 even when the issue data is perfectly accessible. This breaks silently and wastes retries.

Always Use This Pattern

When reading an issue:

gh issue view <number> --json title,body,state,labels,assignees,comments,number,url,author,createdAt,updatedAt

When reading a PR:

gh pr view <number> --json title,body,state,labels,assignees,comments,number,url,author,createdAt,updatedAt,mergeable,mergeStateStatus,headRefName,baseRefName,reviews

Never use bare gh issue view <number> or gh pr view <number> without --json — they will fail.

Related skills

More from juparave/dotfiles

Installs
1
GitHub Stars
1
First Seen
9 days ago