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 understand the implementation plan and any concerns
5
6## PART I - IF NO TICKET IS MENTIOND
7
80. read .claude/commands/linear.md
90a. fetch the top 10 priority items from linear in status "ready for dev" using the MCP tools, noting all items in the `links` section
100b. select the highest priority SMALL or XS issue from the list (if no SMALL or XS issues exist, EXIT IMMEDIATELY and inform the user)
110c. use `linear` cli to fetch the selected item into thoughts with the ticket number - ./thoughts/shared/tickets/ENG-xxxx.md
120d. read the ticket and all comments to understand the implementation plan and any concerns
13
14## PART II - NEXT STEPS
15
16think deeply
17
181. move the item to "in dev" using the MCP tools
191a. identify the linked implementation plan document from the `links` section
201b. if no plan exists, move the ticket back to "ready for spec" and EXIT with an explanation
21
22think deeply about the implementation
23
242. set up worktree for implementation:
252a. read `hack/create_worktree.sh` and create a new worktree with the Linear branch name: `./hack/create_worktree.sh ENG-XXXX BRANCH_NAME`
262b. launch implementation session: `npx humanlayer launch --model opus -w ~/wt/humanlayer/ENG-XXXX "/implement_plan and when you are done implementing and all tests pass, read ./claude/commands/commit.md and create a commit, then read ./claude/commands/describe_pr.md and create a PR, then add a comment to the Linear ticket with the PR link"`
27
28think 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.