Read a GitHub issue by number
Retrieves a GitHub issue by number and returns its structured content and metadata.
/plugin marketplace add https://www.claudepluginhub.com/api/plugins/e-stpierre-interactive-sdlc-plugins-interactive-sdlc/marketplace.json/plugin install e-stpierre-interactive-sdlc-plugins-interactive-sdlc@cpd-e-stpierre-interactive-sdlc-plugins-interactive-sdlc<issue-number> [--comments]github/Reads a GitHub issue from the current repository and returns its content for use in workflows.
<issue-number> (required): The issue number to read (e.g., 123)--comments (optional): Include issue comments in the outputRetrieve the complete content of a GitHub issue including title, body, labels, and metadata for use in SDLC workflows.
gh CLI is available and authenticated before attempting to readVerify the gh CLI is available by running gh --version
Parse the issue number from the command input
Execute the gh command to view the issue:
gh issue view <issue-number> --json title,body,labels,milestone,assignees,state,comments,url
Parse the JSON response and format the output
If --comments flag is provided, include all issue comments
If the issue doesn't exist, report a clear error message
Format the output as a structured summary:
## Issue #<number>: <title>
**State**: <open/closed>
**Labels**: <label1>, <label2>
**Milestone**: <milestone or N/A>
**Assignees**: <assignee1>, <assignee2> or Unassigned
### Description
<issue body>
### Comments (if requested)
**@username** (date):
<comment body>
/interactive-sdlc:read-gh-issue 123
/interactive-sdlc:read-gh-issue 456 --comments