auto_awesome

Sourcegraph Cody (.sourcegraph/cody.md)

Sourcegraph Cody reads .sourcegraph/cody.md as project context. Plain markdown — Cody also pulls global guidelines from the Sourcegraph instance configuration.

File path
.sourcegraph/cody.md
Length cap (recommended)
~400 lines
Frontmatter
No
File globs
No

Format quirks

  • check_circleProject file lives at .sourcegraph/cody.md
  • check_circleEnterprise instances may inject site-wide guidelines on top
  • check_circlePlain markdown — no frontmatter

Browse stack examples

Every stack page in the library has a one-click copy button for Sourcegraph Cody (.sourcegraph/cody.md). Open any of these and pick "Sourcegraph Cody (.sourcegraph/cody.md)" from the format dropdown.

See all 20 stacksarrow_forward

Official docs: https://sourcegraph.com/docs/cody