swap_horiz

Convert Sourcegraph Cody (.sourcegraph/cody.md)Cursor (.cursor/rules/*.mdc)

Paste your existing cody.mdbelow. We'll convert it to main.mdc — stripping or adding frontmatter, adjusting length to fit Cursor's recommended cap, and logging every transformation. Deterministic, no AI in the loop, free.

From
Sourcegraph Cody (.sourcegraph/cody.md)
.sourcegraph/cody.md
Frontmatter: no · Globs: no · ≤ 400 lines
To
Cursor (.cursor/rules/*.mdc)
.cursor/rules/main.mdc
Frontmatter: yes · Globs: yes · ≤ 400 lines
Loading…

Why convert Sourcegraph rules to Cursor?

Sourcegraph and Cursor both read a project rules file, but at different paths and with different conventions. The content is largely the same; the format differs. This converter handles the format difference deterministically — no AI interpretation, no surprises.

Save the result at .cursor/rules/main.mdc in your project root, commit it, and Cursor will pick it up on the next session.

Want every other format too? The "Download all 9 formats" button on the converter produces a ZIP with every supported AI tool's file in one go.