360 Secure SkillHub
360 安全技能中心

refactoring-guru

该 Skill 提供一套受 Refactoring.Guru 启发的重构规则:任务涉及代码坏味诊断、选择有针对性的重构手法、保持行为不变、应用重构目录或避免失控重设计时使用。执行前先阅读精简规则文件,仅在精简规则不足以判断取舍时查阅完整参考文件。

ciembor
热度 0.00
最近更新 2026-10-18 23:16:22
分类:开发依赖:纯提示词应用场景:代码审查

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add ciembor/agent-rules-books/refactoring-guru
Metadata
name
refactoring-guru
description
Apply Refactoring.Guru-inspired rules when diagnosing code smells, choosing refactoring techniques, and stopping cleanup before uncontrolled redesign.
license
MIT

Refactoring.Guru Skill

Use this skill when a task involves diagnosing smells, choosing targeted refactoring treatments, preserving behavior, applying a refactoring catalog, or avoiding uncontrolled redesign.

Before making design or code decisions, read and apply refactoring-guru.mini.md. Use refactoring-guru.md only as a deeper reference when the mini rules are not enough for the current refactoring tradeoff.