Hacker News· marciob·· 2 小时前AI 评分60
prompt-refiner:用 ++ 触发 Claude Code 钩子先改写提示词
Show HN: Type and+ in Claude Code and a second Claude rewrites your prompt first
AI 导读
prompt-refiner 是一个 Claude Code 的 UserPromptSubmit hook,输入以 ++ 开头的提示词时,钩子会读取会话记录尾部,交给一个新的 headless Claude 改写成一段精确提示词并复制到剪贴板,主智能体看不到原始提示词。
来源:Hacker News · github.com