跳转到主要内容
此内容尚未提供您的语言版本,正在以英文显示。

Hookify

技能 已验证 活跃

Create dynamic hook rules from natural language descriptions. Generates .claude/hookify.*.local.md files that warn or block operations matching patterns. Triggers on "hookify", "create hook rule", "warn me when", "block when", "don't let me".

目的

To empower users to create and manage complex Claude Code hook rules using natural language, simplifying runtime policy enforcement.

功能

  • Create dynamic hook rules from natural language
  • Generate .claude/hookify.*.local.md files
  • Support for warn or block actions
  • Parse event type, action, pattern, and field
  • Handle multi-condition rules with 'conditions' block

使用场景

  • Warn when using dangerous commands like 'rm -rf'
  • Block editing sensitive files like '.env'
  • Require specific actions (e.g., running tests) before session end
  • Create custom rules for application-specific code patterns

非目标

  • Manually writing hook rule files
  • Managing complex regular expressions without clear intent
  • Operating outside the .claude/hookify system

安装

/plugin install hookify@luiseiman-claude-kit

质量评分

已验证
99 /100
1 day ago 分析

信任信号

最近提交1 day ago
星标6
许可证MIT
状态
查看源代码