docs(skill-creator): 7 条流程硬化(快照/needle/baseline/断言/eval副作用/viewer/超时) - #276
Merged
Conversation
…/viewer兜底/超时推进 真实执行一轮完整优化流程时踩出的缺口(独立审阅含 /tmp 实测验证): - 快照必须解压进全新目录:tar 静默覆盖同名+残留不动=混合快照零信号; mv 进已存在目录嵌套、mv -i 目标存在时默认不执行且 exit 0(实测) - classify 的 needle 必须从文件复制不手写:全角/半角、记忆改写同义字 两种形态都逃过自审、只有工具 fail-fast 接住 - baseline=pre-edit 快照的对照只测本轮增量:想验证的能力若已在快照里 (并行 session 先提交了),A/B 对它零分辨力,换更早 ref - 断言写意图不写字面工具路径(不同 sanctioned 路径达成意图=pass) - live 系统 eval 的用例要带显式副作用预算 - 后台 viewer 起不来的可观察判据(lsof/curl)+ --static 兜底 - AskUserQuestion 超时无响应:先做无副作用地基、判断留给用户回来 独立审阅 4 finding 全修(含 tar 机制描述的实测纠正);回归全链过。 Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
什么
skill-creator 流程执行一轮真实优化(一个 1144 行 skill 的体检→重组→eval 全程)时踩出的 7 个流程缺口,逐条补进 SKILL.md:
tar -x进已存在目录静默覆盖同名文件、残留不动,混合快照零信号(实测纠正:初版误写为「逐文件提示+skip」,那是 unzip 的行为);mv进已存在目录变嵌套、mv -i目标存在时默认不执行且 exit 0lsof -a -p $VIEWER_PID -iTCP -sTCP:LISTEN为空 / curl URL 失败)+--static兜底——「no log output」不可作判据(启动命令自带> /dev/null)质量闸
🤖 Generated with Claude Code