Skip to content

Instantly share code, notes, and snippets.

@armcknight
Last active January 8, 2026 02:07
Show Gist options
  • Select an option

  • Save armcknight/69e15018de5ea6a1bb187983f9f2ca0c to your computer and use it in GitHub Desktop.

Select an option

Save armcknight/69e15018de5ea6a1bb187983f9f2ca0c to your computer and use it in GitHub Desktop.
Claude start command

If the current branch name corresponds to a linear task:

  1. Run linctl issue view to fetch the full details of the current issue based on the branch name
  2. Read the title, description, and any other relevant content from the ticket output
  3. Run linctl issue update $issueID --state "In Progress" to update the issue to 'In Progress' state
  4. Based on the ticket content, create a comprehensive plan using the TodoWrite tool to track all the work needed to complete this issue
  5. Do steps 1-3 silently without mentioning them unless there's an error
  6. After creating the plan, present it to the user and ask if they'd like to proceed or adjust the plan

If we're not on a branch corresponding to a linear task, like main, do nothing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment