Pick next issue

From tobihagemann/turbo · View interactive version

Pick next issue is an AI agent skill from the GitHub repository tobihagemann/turbo. Rank open GitHub issues by engagement, present the top 3, and plan the selected one. Use when the user asks to \"pick next issue\", \"which issue should I work on\", or \"what should I work on next\".

How to use this skill

Skill file

Pick Next Issue

Rank open GitHub issues by engagement and plan the selected issue.

Step 1: Fetch and Rank Issues

Run gh issue list to fetch open issues with engagement data:

gh issue list --state open --json number,title,body,url,reactionGroups,comments,labels,createdAt --limit 50

Calculate an engagement score for each issue:

Sort issues by engagement score descending.

Step 2: Present Top 3

Present the top 3 issues in a numbered list. For each issue, show:

  1. Title with issue number and link
  2. Labels (if any)
  3. Engagement: reaction breakdown and comment count
  4. Created: date
  5. First paragraph of the issue body (truncate if long)

If fewer than 3 open issues exist, present all of them.

If no open issues exist, inform the user and stop.

Step 3: User Picks an Issue

Ask the user to pick one of the presented issues (or request to see more).

If the user asks to see more, present the next 3 issues from the ranked list.

Step 4: Read the Full Issue

Fetch the complete issue details for the selected issue:

gh issue view <number> --json number,title,body,url,labels,comments,reactionGroups,assignees,milestone

Read the full issue body and comments to understand the requirements and any discussion context.

Step 5: Run `/plan` Skill

Run the /plan skill with the issue body as the task description. Tell /plan that the plan must include a final implementation step: "Close issue #N or reference it in the PR with Closes #N."

Rules

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.