Cross-repo reviews allow cubic to read selected repositories during PR review. Use them when changes in one repository affect another, such as frontend/backend APIs, shared schemas, docs, or companion releases. Add repository links to choose which repositories are available as context. Both repositories must be installed in the same cubic GitHub installation.Documentation Index
Fetch the complete documentation index at: https://docs.cubic.dev/llms.txt
Use this file to discover all available pages before exploring further.
Cross-repo reviews are available on every plan during beta. Plan access may change at general
availability.
How it works
When you link two repositories and open a pull request in either one, cubic:- Checks whether the link applies - Uses the changed files and your guidance to decide whether the linked repository matters for this PR.
- Reads the linked repository on demand - If the link applies, code review agents inspect the shared surface being changed.
- Posts cross-repo findings - Issues that affect the linked repository appear as comments on the original PR, with citations to the affected files.
- Tracks companion PRs - If you reference a PR in the linked repository from the original PR description, cubic watches it and updates findings once the companion PR pushes a fix.
Setting up cross-repo reviews

- Open AI review settings and select the repository you want to configure.
- Find the Cross-repo reviews card and click Add.
- Choose the related repository from the picker. Only repositories in the same installation appear.
- Write 1-2 sentences describing what the repositories share and what changes need coordination, then click Link repository.
Repository links are bidirectional. Configure a pair once, and code review agents can use the
link from either repository.
Constraints
- Each repository can link to up to 3 other repositories. To link more, contact us.
- Guidance is capped at 80 words. Aim for around 50. Code review agents read guidance verbatim, so concise text works best.
- Both repositories must be in the same GitHub installation. Cross-installation links are not supported.
- Archived repositories, repositories cubic no longer has access to, and repositories that have moved installations show an inaccessible badge and are skipped during review.
Writing good guidance
Guidance tells code review agents when another repository matters. Name the shared surface and the kinds of changes that need coordination.Good examples
Frontend and backend share an HTTP API; route or response-shape changes need coordinated updates on both sides.
Both services read from the same Postgres database. Schema migrations and column renames require matching updates in both repositories.
The shared @acme/types package is consumed by both repositories. Breaking changes to exported types require updates wherever they’re imported.
What doesn’t work
They’re related.This is too vague to be useful. cubic may skip the linked repository or check it too often.
Referencing companion PRs
When your change spans two repositories, link the companion PR in the original PR description. cubic recognizes two formats:- Full URL:
https://github.com/myorg/backend/pull/456 - Shorthand:
myorg/backend#456
#456 shorthand is intentionally not matched because same-repo references cannot be companions.
Editing the PR description re-runs discovery, so you can add or remove companion references at any time.
What you’ll see in reviews

Troubleshooting
Linked repository isn't being checked
Linked repository isn't being checked
cubic decided the repository link does not apply to this PR. Check that your
guidance names the surface that’s actually changing in the PR — for example, guidance
that only mentions “API routes” does not apply to a CSS-only change. If guidance
is already specific, the linked repository may not be affected by this PR.
Companion PR isn't being tracked
Companion PR isn't being tracked
Confirm two things: the referenced PR is in a linked repository, and the
reference in the original PR description uses one of the recognized formats (full GitHub URL or
owner/repo#number). Bare #number shorthand is ignored because it can’t point at another
repository.Can't add more links
Can't add more links
Each repository can link to up to 3 other repositories. Remove an unused link from the
Cross-repo reviews card to free a slot, or contact us.
Inaccessible badge on a link
Inaccessible badge on a link
The target repository is archived, has been removed from the installation, has moved to a
different installation, or cubic has lost access to it. Restore access or remove the link.