cx-fix

Installation
SKILL.md

cx-fix: 轻量修复与复杂升级

先快修,只有问题明显复杂时才升级成更重的调查。

强制规则

所有文件读写必须使用绝对路径。 禁止使用 ../ 相对路径。先用 git rev-parse --show-toplevel 获取绝对路径。

Worktree 检测

cx-fix 对 worktree 的要求比其他 skill 宽松:

  • 小修复(bug fix、hotfix):允许在当前分支直接修复(--inline 模式)
  • 大修复(涉及多文件重构):建议创建 worktree 隔离

执行前检测:

check_output=$(bash ${CLAUDE_PLUGIN_ROOT}/scripts/cx-worktree.sh check \
Related skills
Installs
5
First Seen
Feb 10, 2026