Skip to content
Development
Hook

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.

Install
$ npx -y skills add gabelul/stitch-kit --agent claude-code

Ships 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".
Read hooks/hooks.json

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.

Ships withstitch-kit

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.

Get the whole plugin, auto-invoked
Stats
38
Stars
0
Views
5
Forks
Active
Maintenance
JavaScript
Language
Apache-2.0
License
15d ago
Last commit
5mo ago
Created

Repo: gabelul/stitch-kit