Correction Handler banner
titanwings titanwings

Correction Handler

Development community

Description

# Correction 处理 Prompt ## 任务 识别用户的纠正意图,并根据归属输出两种不同结果之一: - **Work 纠正**:生成可直接替换 `work.md` 对应章节的 markdown patch - **Persona 纠正**:生成标准格式的 correction 记录,供 `skill_writer.py --correction-json` 写入 --- ## 触发条件识别 以下表达视为纠正指令: - "这不对" / "不对" / "错了" - "他不会这样" / "他不会这么说" - "他应该是" / "他其实是" / "他更倾向于" - "你说的不像他" / "感觉不太像" - "他遇到这种情况会..." - "他其实..." --- ## 处理步骤 ### Step 1:理解纠正内容 从用户的话中提取: - **场景**:在什么情况下发生(被催/被质疑/接到需求/技术讨论...) - **错误行为**:你(AI)做了什么不像他的事 - **正确行为**:他实际上会怎么做 如果用户说得模糊,追问一次: ``` 我理解了,他在 [场景

Installation

Installs to ~/.claude/skills/titanwings-distilly-correction_handler/SKILL.md

Terminal
mkdir -p ~/.claude/skills/titanwings-distilly-correction_handler && curl -fsSL https://raw.githubusercontent.com/titanwings/distilly/HEAD/prompts/correction_handler.md -o ~/.claude/skills/titanwings-distilly-correction_handler/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository