AI Context Workflows
Best practices for querying your codebase with AI.
Effective Prompts
When using an AI connected to Linear Canal, trigger its tools explicitly:
- "Explain how the
AuthServiceworks and list all components that depend on it." - "Find where Stripe webhooks are handled and suggest how to add a new event type."
- "What files would break if I remove the
UserContexttype?" - "Give me an architecture overview of the billing module."
Branch-Scoped Reviews
Before a PR review, create a scoped branch so the AI focuses only on relevant ctx:
bash