AgentSkillsCN

plan-code-refactors

在明确目标与非目标的前提下,规划代码重构工作,梳理依赖关系,合理安排各阶段顺序,并指定验证与回滚检查点;触发条件包括:重构计划、模块重组、重命名或模块迁移等。

SKILL.md
--- frontmatter
name: plan-code-refactors
description: Plan code refactors by defining goals/non-goals, mapping dependencies, sequencing phases, and specifying verification and rollback checkpoints; triggers: refactor plan/restructure/rename/move modules.
category: workflows/planning
ssot_path: .ai/skills/workflows/planning/plan-code-refactors

plan-code-refactors (entry)

Canonical source: .ai/skills/workflows/planning/plan-code-refactors/

Open .ai/skills/workflows/planning/plan-code-refactors/SKILL.md and any supporting files referenced there (for example reference.md, examples.md, scripts/, templates/).

Note: The frontmatter above is identical to the canonical source except for ssot_path and category which are added for navigation. After opening the source file, skip re-reading the description to avoid redundant token usage.