rtk-ai/rtk

Allow for single-repo hook (for Claude)

Open

#1,803 创建于 2026年5月8日

在 GitHub 查看
 (1 评论) (1 反应) (0 负责人)Rust (2,914 fork)batch import
area:clienhancementhelp wantedpriority:medium

仓库指标

Star
 (48,085 star)
PR 合并指标
 (平均合并 11天 1小时) (30 天内合并 45 个 PR)

描述

Claude Code supports local directory-specific hooks (set in e.g. ~/repo/.claude/{settings.json, hooks/}) but rtk doesn't support this. Even running something like rtk init --hook-only returns a warning Warning: --hook-only only makes sense with --global, and I'd disagree with the "only makes sense" part.

Thanks! Alex

贡献者指南