# Soloscrum Tracker Linear Query State

> Operation: list Linear subtasks currently In Progress or In Review with linked PR or Figma URLs. Used when active tracker profile is linear+github.

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

---


# soloscrum-tracker-linear-query-state

Returns active Linear subtasks — items in `In Progress` or `In Review`. Active when `tracker_profile = linear+github`.

## Inputs

- `parent_issue_number` (optional) — narrow to one parent GH Issue's Linear Task subtree

## Steps

1. Fetch in-progress items:
   - Linear MCP — `list_issues` with filter `state.name = "In Progress"`
2. Fetch in-review items:
   - Linear MCP — `list_issues` with filter `state.name = "In Review"`
3. For each subtask, resolve a PR / Figma URL from its `attachments` field. The primary source for PR links is Linear's native GitHub integration (already attached as `attachments`). If `attachments` is empty for a `develop`-type subtask (sync race or integration off), fall back to `gh pr list --search "<subtask-id>"` to locate the linked PR. For `design-ui` subtasks, attachments are the Figma URL.
4. (If `parent_issue_number` given) restrict to that parent's subtree by matching `parentId`

## Output

- Two grouped lists:
  ```
  In Progress:
    PRJ-200 (develop) — Implement password reset endpoint
  In Review:
    PRJ-201 (develop) — Add reset email template → PR #45
    PRJ-202 (design-ui) — Login screen → Figma URL
  ```

## Notes

- This is the basis for `/soloscrum:status` in linear+github profile
- PR links are typically already attached by Linear's GH integration; falling back to `gh pr list --search` is acceptable

