Skip to content
Development
Hook

Hooks

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

From plugin
tdder
1414 skills7 agents2 commands1 hook
Install
> /plugin marketplace add t1/tdder
> /plugin install tdder@t1

Ships with tdder. Installing the plugin gets these hooks.

What fires, and when

PreToolUse

  • MatchesEdit|Writef=$(jq -r '.tool_input.file_path // ""'); case "$f" in *.java) echo '{"hookSpecificOutput":{"hookEventName":"PreToolUse","additionalContext":"REMINDER: Have you loaded the tdder:java skill this session? If not, stop and invoke it before editing Java files."}}' ;; */pom.xml) echo '{"hookSpecificOutpu
Read hooks/hooks.json

In the plugin's words

How tdder describes its own hook set.

Remind to load language/framework skills before editing code
Ships withtdder

A plugin for pi, Claude Code, and OpenCode that guides AI agents through disciplined Test-Driven Development and Clean Code practices. Note that currently this is WORK IN PROGRESS! I'm not even trying to keep it stable or tested.

Get the whole plugin