enforce-hooks

分类: 工具与效率 | 上传者: Bande-a-BonnotBande-a-Bonnot | 下载: 0 | 版本: v1.0(最新)

分析 CLAUDE.md 文件并生成 PreToolUse 挂钩脚本,该脚本在工具调用级别强制执行其规则。当用户希望将 CLAUDE.md 指令作为代码强制执行而不是依赖于即时合规性时使用。读取 CLAUDE.md,识别可执行规则,生成独立的 bash 挂钩脚本,并将它们连接到 .claude/settings.json。

更新日志: Source: GitHub https://github.com/Bande-a-Bonnot/Boucle-framework

目录结构

当前层级: tree/main/tools/enforce/

  • 📁 examples/
    • 📄 enforce-knowledge-first.sh 668 B
    • 📄 enforce-no-force-push.sh 535 B
    • 📄 enforce-protected-files.sh 587 B
    • 📄 enforce-test-before-commit.sh 698 B
  • 📄 enforce-hooks.py 213.1 KB
  • 📄 engine.sh 7.0 KB
  • 📄 generate.sh 4.0 KB
  • 📄 install.sh 4.1 KB
  • 📄 README.md 211.4 KB
  • 📄 session-hook.sh 1.8 KB
  • 📄 SKILL.md 7.4 KB
  • 📄 test-claude.md 417 B
  • 📄 test-content-guard-e2e.py 4.5 KB
  • 📄 test-integration.sh 3.8 KB
  • 📄 test.sh 21.5 KB

SKILL.md

登录后下载/点赞/收藏 ❤ 53 | ★ 0
评论 0

请先登录后评论。

评论加载中...