Skip to content

Code context (local AST)

For this repo’s TypeScript/JavaScript, sdd can build ranked symbol slices with a local AST:

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