🔍 Refactoring — 重构

v1.0.0

就绪评估 在着手任何结构性变更前,评估代码库状况是否值得重构,并确定正确方案。当开发者……时使用此技能。

0· 26·0 当前·0 累计
quochungto 头像by @quochungto (Hung Quoc To)·This
下载技能包 项目主页
License
This
最后更新
2026/4/20
0
安全扫描
VirusTotal
无害
查看报告
OpenClaw
安全
high confidence
This is an instruction-only planning skill whose requests and runtime instructions match its stated purpose and do not require credentials, installs, or system access—low risk and internally coherent.
评估建议
This skill is instruction-only and appears internally consistent with its purpose. It does not execute code or request credentials, so risk is low. Practical precautions: avoid pasting secrets (API keys, DB passwords, private certificates) or entire repositories into the chat; provide minimal representative code snippets and test coverage info instead. If you prefer to prevent any autonomous invocation, check your agent's skill-invocation policies before installing. If you need stronger assuranc...
详细分析 ▾
用途与能力
Name/description ask for a refactoring readiness assessment; the skill is instruction-only and only requests descriptive inputs about code, tests, deadlines, and constraints. It does not request unrelated credentials, binaries, or installs.
指令范围
SKILL.md confines the agent to interviewing the user, classifying triggers, enumerating constraints, and producing a plan. It explicitly states it will not modify code and does not instruct the agent to read system files, call external endpoints, or access environment variables.
安装机制
No install spec and no code files are present (instruction-only). Nothing will be written to disk or downloaded as part of installation.
凭证需求
The skill requires no environment variables, credentials, or config paths. All input is user-supplied contextual text (code descriptions or snippets), which is proportionate to the purpose.
持久化与权限
always is false and there are no special persistence or system-configuration changes requested. The skill can be invoked normally by the agent but does not request persistent privileges.
安全有层次,运行前请审查代码。

License

This

请查看许可证条款了解详情。

运行时依赖

无特殊依赖

版本

latestv1.0.02026/4/20

Refactoring Readiness Assessment 1.0.0 — Initial Release - Assess whether a codebase situation warrants refactoring and recommend the right approach before making any structural code changes. - Produces a structured go/no-go decision, opportunity trigger classification, constraint inventory, Two Hats protocol plan, and session discipline rules for the specific scenario. - Supports triggers such as adding features, fixing bugs, addressing code review concerns, detecting code duplication, deadline uncertainty, codebase stability doubts, and external API/database coupling. - Does not perform code changes, diagnose specific smells, or plan multi-session refactoring; focuses on high-level assessment and planning. - Designed for developers and tech leads deciding whether and how to tackle technical debt before changing existing code.

无害

安装命令

点击复制
官方npx clawhub@latest install bookforge-refactoring-readiness-assessment
镜像加速npx clawhub@latest install bookforge-refactoring-readiness-assessment --registry https://cn.longxiaskill.com
数据来源ClawHub ↗ · 中文优化:龙虾技能库