Skip to content
Development
Hook

Hooks

What senior-dev runs automatically, and when. A hook is a command Claude Code fires at a fixed moment, without you asking for it.

From plugin
senior-dev
41 skill6 commands3 hooks
Install
> /plugin marketplace add foundry-studio-lab/nzshrimper-senior-dev
> /plugin install senior-dev@nzshrimper-senior-dev

Ships with senior-dev. Installing the plugin gets these hooks.

What fires, and when

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.

  • Matchesstartup|resume|clear|compactnode "${CLAUDE_PLUGIN_ROOT}/scripts/session-start.mjs"

PreToolUse

  • MatchesBashnode "${CLAUDE_PLUGIN_ROOT}/scripts/commit-gate.mjs"

Stop

  • node "${CLAUDE_PLUGIN_ROOT}/scripts/stop-gate.mjs"
Read hooks/hooks.json

In the plugin's words

How senior-dev describes its own hook set.

senior-dev orchestrator gates: session bootstrap, commit/integration gate, stop gate. All fail open.
Ships withsenior-dev

A disciplined senior developer, with a second reviewer over its shoulder, for every Claude Code coding session.

Get the whole plugin
Stats
4
Stars
0
Forks
Active
Maintenance
JavaScript
Language
MIT
License
5d ago
Last commit
2mo ago
Created

Repo: foundry-studio-lab/nzshrimper-senior-dev