Ai refactoring
Frontend/Next.js Claude Code Skills — curated + custom
npx -y skills add lennney/gate-all-skills --skill ai-refactoringAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
AI 重构 / AI refactoring. 用户说"重构这段代码"、"优化代码结构"、"把这块抽出来"时加载。先让用户定范围,你在后台改完自动验证。建议先跑 /tdd 保证测试覆盖。
SKILL.md
0.6 KB, as published. Nobody here has run it
问用户要重构什么。然后:
- 改之前跑
npm run typecheck && npm test && npm run build记下 baseline - 执行重构
- 再跑一遍验证通过
- 告诉用户改了哪些
用户只需要知道结果,不需要参与过程。