Hooks
What stitch-kit runs automatically, and when. A hook is a command Claude Code fires at a fixed moment, without you asking for it.
$ npx -y skills add gabelul/stitch-kit --agent claude-codeShips with stitch-kit. Installing the plugin gets these hooks.
What fires, and when
PreCompact
- Runs pre-compact.mjs".
SessionStart
Fires once when a session begins, and again after a context compaction. It is where a plugin sets up its environment, or restores state the compaction dropped.
- Runs session-start.mjs".
Where it lives
Read the script before you install anything that runs on your machine. This is the one part of a plugin that acts without being asked.
Your coding agent writes decent code and designs terrible UI. stitch-kit fixes the second half — it wires agents into Google Stitch (text prompts → genuinely beautiful screens) and teaches them to drive it properly.
Repo: gabelul/stitch-kit

