教程 / 实战普通
Your First Claude Code Mod: Block Edits Outside the Task's Worktree in 30 Lines
内容摘要
Claude Code mods run your JavaScript on every tool call. Build a 30-line mod that refuses Edit and Write outside the task's worktree, then test it.
综合分类、实体标签与信息来源匹配