Vibe Coding
Tip: read a built-in Claude Code plugin's behaviour by running it from source with `--plugin-dir`
Each mod folder is a complete plugin (`.claude-plugin/plugin.json`, a `hooks/hooks.json` naming the module, TypeScript under `hooks/`), so `claude --plugin-dir mods/diff` loads the shipped `/diff` implementation from source. `tsc -p mods/tsconfig.json` typechecks every mod's hooks and tests against the shared `types/` and each mod's own contract. Note the one asymmetry: `sec-default`'s `next.to` is refused outside a managed tier, so loading it with `--plugin-dir` gives you a plugin that can only pass.
Source
↳ Follow the thread