stitch
Installation
SKILL.md
Stitch
Use this skill when the task needs to actually talk to the Stitch service. Prefer the bundled runner in scripts/run.sh over ad-hoc one-off code when the request is operational: listing projects, generating screens, editing, variants, or exports.
Workflow
-
Resolve configuration first.
- Use
--config /abs/path/to/file.jsonwhen the user points to a config file. - Otherwise the runner checks
STITCH_SKILL_CONFIG, then.stitch.json, thenstitch.jsonin the current working directory. - Config schema and an example file live in
references/config.mdandassets/stitch.example.json. - Use
save-configor--save-configwhen the user wants resolved parameters written back to.stitch.jsonor another target config path.
- Use
-
Resolve authentication.
- Prefer
STITCH_API_KEYfor local scripted use. - OAuth is supported through
STITCH_ACCESS_TOKENplusGOOGLE_CLOUD_PROJECT. - CLI flags override env vars, and env vars override config-file values.
- Prefer