stitch-sdk-readme

Installation
SKILL.md

Stitch SDK README Generator

This skill produces the README for @google/stitch-sdk. It combines a structural strategy (the Bookstore Test) with instructions for sourcing the current API from the codebase — so the README stays accurate as the SDK evolves.


How to Source the Current API

Do not hard-code the API surface. Read it from the codebase at invocation time:

What you need Where to find it
Public exports (full surface) packages/sdk/src/index.ts
Domain class methods + signatures Source files for each exported class (sdk.ts, project.ts, screen.ts)
Generated method bindings packages/sdk/generated/domain-map.jsonbindings[] array
Handwritten methods Methods in class source files that aren't in domain-map bindings (e.g. Screen.edit, Screen.variants)
AI SDK tools adapter packages/sdk/src/ai.ts → subpath entry for stitchTools()
Generated tool definitions packages/sdk/generated/src/tool-definitions.ts → JSON Schema for each tool
Tool client methods packages/sdk/src/client.ts
Related skills
Installs
108
GitHub Stars
1.6K
First Seen
Mar 18, 2026