| name | scan-ideas |
| description | Find all tracked issues and work item ideas for the current project and rank them by priority to address. TRIGGER whenever the user asks for help deciding what to work on next and you are not already working through a known plan. |
| argument-hint | [issue source] |
| effort | high |
| model | opus |
Context
Possible sources of tracked work ideas include:
- Jira (if mentioned in project)
- Monday (if mentioned in project)
- GitHub Issues
- Trekker
- TODO and FIXME comments
Your task
Phase 1: Confirm what work items to consider
- If the user specified what issue source they want you to focus on, this phase is done
- If the user did not specify where potential work items can be found, use subagents to search
for each of the potential sources mentioned above
- Confirm with the user which sources you found and whether they should all be included in your
analysis
- Wait for the user's response
Phase 2: Understand all work items
- Use as many subagents as you need to read every potential work idea identified above
- Use as many subagents as you need to explore all relevant code paths and documentation to
understand and validate each potential work item and its relevance to the project's current
and ideal future state
- Proactively answer every question and follow-up question that occurs to you by exploring the
codebase and anything else that would help you
- If a potential work item seems stale or otherwise a poor fit for the current codebase and docs,
use as many subagents as you need to proactively investigate whatever would help you and the user
decide whether this work should be redefined, cancelled, etc
- Wait for all subagents to return their results
- Ensure you understand the results you have received and are equipped to compare their relative
importance (explore specific areas of the codebase yourself if that will help you)
- Once you understand each task and its present day validity, this phase is done
Phase 3: Prioritize all work items
- After thoroughly understanding all work ideas, rank them by their priority
- When prioritizing, consider the cost of delay and ROI, and especially the relevance to any known
near-term milestones
- When you are clear how to rank the ideas, this phase is done
Phase 4: Present your findings
- Present the prioritized findings to the user, ensuring a summary table is included near the end
of your response for clarity
- Generate a self-contained HTML slide deck of the prioritized findings:
mkdir -p .outputs/<yyyy-mm-dd>
- Write the report to
.outputs/<yyyy-mm-dd>/prioritized-work-items.html — use clean, minimal styling,
one slide per category plus a summary/title slide, and keyboard arrow-key and click navigation
between slides
open .outputs/<yyyy-mm-dd>/prioritized-work-items.html
- Recommend a next action and wait for the user's response