1## PART I - IF A TICKET IS MENTIONED
2
30c. use `linear` cli to fetch the selected item into thoughts with the ticket number - ./thoughts/shared/tickets/ENG-xxxx.md
40d. read the ticket and all comments to learn about past implementations and research, and any questions or concerns about them
5
6
7### PART I - IF NO TICKET IS MENTIONED
8
90. read .claude/commands/linear.md
100a. fetch the top 10 priority items from linear in status "ready for spec" using the MCP tools, noting all items in the `links` section
110b. select the highest priority SMALL or XS issue from the list (if no SMALL or XS issues exist, EXIT IMMEDIATELY and inform the user)
120c. use `linear` cli to fetch the selected item into thoughts with the ticket number - ./thoughts/shared/tickets/ENG-xxxx.md
130d. read the ticket and all comments to learn about past implementations and research, and any questions or concerns about them
14
15### PART II - NEXT STEPS
16
17think deeply
18
191. move the item to "plan in progress" using the MCP tools
201a. read ./claude/commands/create_plan.md
211b. determine if the item has a linked implementation plan document based on the `links` section
221d. if the plan exists, you're done, respond with a link to the ticket
231e. if the research is insufficient or has unaswered questions, create a new plan document following the instructions in ./claude/commands/create_plan.md
24
25think deeply
26
272. when the plan is complete, `humanlayer thoughts sync` and attach the doc to the ticket using the MCP tools and create a terse comment with a link to it (re-read .claude/commands/linear.md if needed)
282a. move the item to "plan in review" using the MCP tools
29
30think deeply, use TodoWrite to track your tasks. When fetching from linear, get the top 10 items by priority but only work on ONE item - specifically the highest priority SMALL or XS sized issue.