Create a hookify rule from explicit instructions or analyze recent conversation to find unwanted behaviors
Creates custom behavioral rules to prevent unwanted actions in Claude Code.
/plugin marketplace add athola/claude-night-market/plugin install hookify@claude-night-marketCreates custom behavioral rules to prevent unwanted actions.
/hookify Don't use console.log in TypeScript files
This will:
.claude//hookify
Without arguments, hookify will:
.claude/hookify.{name}.local.md/hookify Block rm -rf and other destructive operations
Creates:
---
name: block-destructive-ops
enabled: true
event: bash
pattern: rm\s+-rf|dd\s+if=|mkfs
action: block
---
š **Destructive operation detected!**
This command can cause data loss.
/hookify Warn when I add console.log to files
Creates:
---
name: warn-console-log
enabled: true
event: file
pattern: console\.log\(
action: warn
---
š **Debug code detected!**
Remove console.log before committing.
/hookify Remind me to run tests before stopping
Creates:
---
name: require-tests
enabled: true
event: stop
action: warn
conditions:
- field: transcript
operator: not_contains
pattern: npm test|pytest
---
ā ļø **Tests not detected!**
Run tests before completing.
/hookify:list - View all rules/hookify:configure - Enable/disable rules/hookify:help - Show helpSkill(hookify:writing-rules) - Learn rule syntax/hookifyCreate hooks to prevent unwanted behaviors from conversation analysis or explicit instructions
/hookifyCreate hooks to prevent unwanted behaviors from conversation analysis or explicit instructions
/hookifyCreate hooks to prevent unwanted behaviors from conversation analysis or explicit instructions