AGENT SKILL

read-issues

List GitHub issues, let the user pick one, and download all content including images so an agent can work on it. Use this when the user wants to browse, review, or select issues to work on.

License 许可
MIT
最近更新
2026-11-11
Stars
★ 110
Forks
12

01 前言 Front Matter

name
read-issues
description
List GitHub issues, let the user pick one, and download all content including images so an agent can work on it. Use this when the user wants to browse, review, or select issues to work on.
argument-hint
[optional: issue number, label filter, or search query]
disable-model-invocation
true

03 SKILL.md 正文

Read GitHub Issues

Browse, filter, and select GitHub issues, then download all content and images so an agent can fully understand and work on the selected issue.

Input: $ARGUMENTS

Instructions

Step 1: List Issues

If a specific issue number is provided in $ARGUMENTS, skip to Step 2.

If a search query or label filter is provided, use it:

# By label
gh issue list --label "bug" --state open

# By search
gh issue list --search "QUERY" --state open

# All open issues
gh issue list --state open --limit 30

If no filter is provided, list all open issues:

gh issue list --state open --limit 30

Display the issues in a clear format showing:

  • Issue number
  • Title
  • Labels
  • Assignee
  • Created date

Step 2: Select an Issue

  • If $ARGUMENTS contains a specific issue number, use that directly
  • Otherwise, use AskUserQuestion to let the user pick which issue to work on
  • Present the top issues as options with their titles

Step 3: Download Full Issue Content

Once an issue is selected, fetch everything:

# Get full issue details including body
gh issue view ISSUE_NUMBER

# Get all comments
gh issue view ISSUE_NUMBER --comments

# Get issue metadata as JSON for structured parsing
gh issue view ISSUE_NUMBER --json title,body,labels,assignees,comments,state,milestone,createdAt,updatedAt,author

Step 4: Extract and Download Images

  1. Parse the issue body and all comments for image URLs
  2. Look for patterns like:
    • ![alt](https://...) — Markdown images
    • https://github.com/user-attachments/... — GitHub uploaded images
    • https://user-images.githubusercontent.com/... — Legacy GitHub images
  3. For each image found:
    • Download it to a temporary location using curl or Invoke-WebRequest
    • Save to a temp directory like $env:TEMP/gh-issues/ISSUE_NUMBER/
    • Read the image using the Read tool so Claude can see it
  4. If no images are found, note that and continue

Step 5: Present Complete Issue Context

Provide a comprehensive summary including:

## Issue #NUMBER: TITLE

**State:** open/closed
**Labels:** label1, label2
**Assignee:** @username
**Created:** date
**Author:** @username

### Description
[Full issue body]

### Images
[Display all downloaded images]

### Comments (N total)
[All comments with authors and dates]

### Key Requirements
- [Extracted actionable items from the description]
- [Any acceptance criteria mentioned]

### Related Files (if mentioned)
- [Any file paths or code references from the issue]

Step 6: Offer Next Steps

After presenting the issue, ask the user:

  • Would you like to implement this issue? (suggest using /developer-agent NUMBER, or /implementation-loop NUMBER to drive it through Dev+QA to merged)
  • Would you like to assign it to yourself?
  • Would you like to add a comment?

Important Notes

  • Always use gh CLI for all GitHub operations
  • Download images so Claude can actually see and understand visual bug reports
  • Parse both the issue body AND all comments for complete context
  • If the repo has many issues, default to showing only open ones

04 同仓库更多 Skills

thefrederiksen
thefrederiksen/devthrottle

devthrottle-sessions

Talk to the other DevThrottle sessions running across your machines - list them, rename this one, send one of the rare queued messages, read the inbox, reply, open a new session, and close one down. Use when the task involves: message another session, ask another session, list sessions, what sessions are running, spawn a session, rename this session, close this session.

★ 110
thefrederiksen
thefrederiksen/devthrottle

devthrottle-install

Hand the user the documented steps to install or update DevThrottle, and to connect a gateway afterwards. Use when the task involves: install DevThrottle, set up DevThrottle, update DevThrottle, connect a gateway, cc-devthrottle not found, where do the cc tools come from.

★ 110
thefrederiksen
thefrederiksen/devthrottle

proof-covers-the-wrong-thing

A proof can be valid and still say nothing about what you changed - wrong surface, wrong reader, wrong caller, or an untested premise. Name what your evidence does NOT cover. Use when the task involves: prove it, by construction, root cause, reproduced it, repro, guard-local, skipped test, suite is green, premise, assumption, self review, it is settled.

★ 110
thefrederiksen
thefrederiksen/devthrottle

destructive-sweeps-lean-to-keep

A destructive operation acts only on what it can positively prove is disposable. Enumerate what to DELETE, never what to skip - and refresh the safety signal on every real use. Use when the task involves: sweep, purge, cleanup, delete old, prune, reclaim space, stale files, retention, aged out, rm -rf, git clean, drop the table.

★ 110
thefrederiksen
thefrederiksen/devthrottle

checks-that-fail-open

A check whose pass condition is an ABSENCE certifies a run that never happened. Restate it as a specific PRESENCE - and an empty result is a broken instrument, never a clean run. Use when the task involves: verify, prove it, sweep, grep returned nothing, zero hits, clean run, it passed, no defects, reviewed, delivered, double check, how do we know.

★ 110
thefrederiksen
thefrederiksen/devthrottle

wingman-brief-reviewer

RETIRED 2026-09-16 - do not run it. It reviewed saved wingman turn BRIEFS, whose writer was retired in issue

★ 110