Skip to content
youdede

Author Deterministic Agent Hook

DevelopmentSkillv1.3.0

Design, implement, and validate a deterministic coding-agent hook from a precise invariant or observation requirement. Use when a repeated must-block or must-observe boundary should be enforced through a runtime-native hook rather than prompt compliance.

Runs on

Scope
$npx @youdede/toolkit add author-deterministic-agent-hook --target claude-code

What it does

Author a narrow deterministic agent hook whose native event and failure semantics are tested.

When it fires

  • design
  • implementation
  • review

How it behaves

It does not claim portability when target events, payloads, blocking exits, or timeout behavior differ materially.

It does not execute submitted commands, trust project-authored exemptions, or use eval to inspect input.

It does not install or enable a hook outside a disposable fixture before allow, block, malformed, boundary, load, and removal behavior are tested.

Version
1.3.0
Licence
RiskThis skill authors a narrow deterministic agent hook whose native event and failure semantics are tested; it does not execute submitted commands, trust project-authored exemptions, or use eval to inspect input.
Medium
ModeHow it works: fixed rules, model instructions, or both.
Prompt only
Behaviour
Advises, never blocks
On failure
Stops and reports
LatencyThe skill authors a narrow deterministic agent hook whose native event and failure semantics are tested, using sequential evidence and verification steps.
Bounded
Data retentionWhether data remains after use and who manages its storage.
Managed by the runtime

Often used with

All in Development