stitch-sdk-domain-design
Installation
SKILL.md
Stitch SDK Domain Design
This skill teaches you how to perform Stage 2 of the generation pipeline: reading tool schemas and producing domain-map.json — the intermediate representation that drives codegen.
Your Inputs
tools-manifest.json— raw MCP tool schemas captured from the server (includesoutputSchema)ir-schema.ts— Zod schema defining valid domain-map structure (the canonical contract)- Existing
domain-map.json— the current IR (if extending, not starting fresh) - The
stitch-sdk-developmentskill — for understanding the pipeline context
Your Output
A valid domain-map.json with two sections: classes and bindings, validated by ir-schema.ts.
[!IMPORTANT] Your output is validated twice by the codegen: structurally (Zod IR schema) and semantically (projection steps verified against
outputSchemafrom the tools-manifest).