# Soloscrum Tracker Github Query Backlog

> Operation: list backlog Issues and Sub-issues from GitHub, ordered by priority. Used when active tracker profile is github-only.

- Skill: `mew-ton/soloscrum-tracker-github-query-backlog` (Agent Skill)
- Install (CLI): `npx get-skill add mew-ton/soloscrum-tracker-github-query-backlog`
- Raw SKILL.md: https://api.skillmd.com/api/skills/mew-ton/soloscrum-tracker-github-query-backlog/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Product & Planning
- Author: mew-ton (https://skillmd.com/u/mew-ton)
- Updated: 2026-11-18
- Page: https://skillmd.com/skills/mew-ton/soloscrum-tracker-github-query-backlog

---


# soloscrum-tracker-github-query-backlog

Returns the backlog (open Issues and Sub-issues without state labels) ordered by priority. Active when `tracker_profile = github-only`.

## Inputs

- (none) — defaults to the current repo

## Steps

1. List open Issues without `state:in-progress` and `state:in-review` labels:
   ```
   gh issue list --state open \
     --search "-label:\"state:in-progress\" -label:\"state:in-review\"" \
     --json number,title,labels,url \
     --limit 100
   ```
2. Filter by `priority:*` label and group:
   - `priority:urgent` first, then `high`, `medium`, `low`, then unlabeled
3. (If a project is configured) fetch SP for each item via Projects v2 GraphQL
4. Return the grouped list

## Output

- Grouped backlog list:
  ```
  Urgent:
    #123 (SP 3, develop) — Add password reset
  High:
    #124 (SP 5, design-ui) — Login screen
  ...
  ```

## Notes

- This operation skill is the basis for `/soloscrum:next` and `/soloscrum:status` when in github-only profile
- "Backlog" excludes anything currently `in-progress` or `in-review` — those are surfaced by `query-state` instead
- If the repo has no `priority:*` labels yet, all items are returned ungrouped

