Add issue context from Linear to make AI reviews understand your requirements and generate accurate PR descriptions.

Setup

Connect Linear

  1. Navigate to integration settings.
  2. Follow the instructions to connect your Linear workspace.

Configure AI behavior

Toggle these options based on your workflow:

  • Use context when reviewing code - AI reviews check if code matches issue requirements
  • Use context when writing PR descriptions - Generate descriptions from linked Linear issues

How it works

cubic finds Linear issues by looking for issue IDs in your PR title or description. The format looks like ABC-123 where ABC is your team key.

Include the Linear ID in your PR title ([LIN-123] Add rate limiting) or description for cubic to pull in issue context.

Once connected, you can also manually link Linear issues directly in the cubic PR interface.

Best practices

  • Write clear acceptance criteria in Linear for better AI feedback
  • Create custom rules that reference Linear context for specific checks

Note: This integration is in beta. Report issues or feedback through support.