dev/refactor-safe
Skill1 starsChanged 43 days agoMITView on GitHub
高容错安全重构规范:范围控制、局部精准替换与无损回滚策略
In this repository13 other files it gives its agents.
- AGENTS.mdAGENTS.md
- add-toolSkill
- design/comfyui-fluxSkill
- designSkill
- devSkill
- ensoul-mapSkill
- find-recipeSkill
- fix-buildSkill
- make-componentSkill
- make-pluginSkill
- pixal3d-comfyuiSkill
- prompt-protocolSkill
- troubleshootSkill
The file
Files
安全重构规范 (Safe Refactoring SOP)
核心流程
- 锚定范围:改动前定位所有符号引用(利用 symbol_find 或 grep),限定影响半径。
- 局部替换:使用 edit 精准匹配上下文行,不要盲目大面积格式化。
- 保留格式与行尾:严禁无意识将 CRLF 刷成 LF 或反之。
- 验证门禁:重构完成后立即跑 build_project 确认类型与编译通过。
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

