Skip to content
Development
Hook

Hooks

What devpace 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 arch-team/devpace --agent claude-code

Ships with devpace. 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.

  • Runs session-start.sh.

PreToolUse

  • Runs pre-tool-use.mjs.

PostToolUse

  • Runs post-cr-update.mjs.

PostToolUseFailure

  • Runs post-tool-failure.mjs.

UserPromptSubmit

Fires before Claude sees each prompt you send. A plugin can use it to inject context, so the same instruction reaches the model every turn instead of only at session start.

  • Runs skill-eval.mjs.

PreCompact

  • Runs pre-compact.sh.

Stop

  • Runs session-stop.sh.

SessionEnd

  • Runs session-end.sh.

SubagentStop

  • Runs subagent-stop.mjs.
Read hooks/hooks.json

Where it lives

Showing the source of 6 of 12 scripts. Every one is linked above.

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 withdevpace

Give your Claude Code projects a steady development pace — requirements change, rhythm stays. A development harness for Claude Code — rules, schemas, gates, and feedback loops that keep AI-assisted development traceable and measurable.

Get the whole plugin, auto-invoked
Stats
73
Stars
0
Views
6
Forks
Maintained
Maintenance
Python
Language
MIT
License
3mo ago
Last commit
5mo ago
Created

Repo: arch-team/devpace