Skip to content

Code context (local keyword index) ​

Keyword search covers TypeScript, JavaScript, Rust, and Python. A budget keeps the top hit whole and demotes a later hit to a one-line signature instead of cutting a function. Hybrid ranking is optional and off by default. The language matrix is Search providers.

bash
sdd context --path src/app.ts --symbol main --stdout
sdd context --path src/app.ts --symbol main --out change
sdd context -p src/foo.ts -s bar --json

Use during implement / review. Prefer slices over pasting whole packages.


Org libraries & remote AST engines ​

If the knowledge lives in another MCP server (design system, monorepo indexer, API catalog), configure it as an external source:

bash
sdd mcp sources add …
sdd mcp fetch

sdd will call those servers at the right stage. Full guide: External MCP sources.


Specs vs code ​

ContentStore
Intent, design, tasksMarkdown under changes/ / memory/
This repo’s sourcesdd context slices
Org / UI / remote AST.sdd/mcp.yaml sources