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.mdLength 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.
descriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescription
See all 20 stacksarrow_forwardNext.js (App Router) + TypeScript
Next.js App Router (TypeScript, Server Components)
Next.js + Supabase (Auth, Postgres, RLS)
Next.js + Prisma + Postgres
React 19 + TypeScript (Vite)
React Native + Expo (managed workflow)
Python + FastAPI + SQLAlchemy + Alembic
Python + Django + DRF
Python + pandas + numpy + scikit-learn (Jupyter)
PyTorch + Hugging Face + W&B
Node.js + Express + TypeScript
Turborepo + pnpm + TypeScript
Official docs: https://sourcegraph.com/docs/cody