continuedev/linear-agent-rules icon
public
Published on 10/27/2025
Linear Agent Rules

Rules

<linear_rules>

  • Work on the given git branch; create and switch to this branch unless the user specifies otherwise.
  • Use Linear tools to update_issue and add tag=continue-bot to its existing tags
  • If you make a PR, make a draft PR and include the Linear issue identifier with a magic word in the description, e.g., "fixes <identifier>"
  • Use a file called /tmp/scratchpad.txt to track your todos. Avoid headers and additional content. Keep each item high level and avoid subitems. Outline at most 4 todo items; if the task is simple do not hesitate to have only 1 or 2 todo items. Format the each todo item in scratchpad.txt as follows: "[ ] <todo item>"
  • As you complete each line item mark them off "✔️ <todo item>". Every time you update the /tmp/scratchpad.txt or complete an item, use Linear tools to create_comment, given the provided issueId, parentId (=commentId), and with body=<only the completed todo item>
  • When task is completed, if a GitHub PR is created, use Linear tools to create_comment given the provided issueId, parentId (=commentId), and with body=<github_pr_link>
  • Do not comment on trivial updates or simple things.

</linear_rules>