Agent Skills
› solatis/claude-config
› refactor
refactor
GitHub用于代码重构、技术债务审查和质量改进。激活后立即执行Python脚本,根据范围自动调整分析类别数量,无需手动探索,直接遵循脚本输出进行工作流处理。
Trigger Scenarios
用户请求代码重构分析
用户要求进行技术债务审查
用户寻求代码质量改进建议
Install
npx skills add solatis/claude-config --skill refactor -g -y
SKILL.md
Frontmatter
{
"name": "refactor",
"description": "Invoke IMMEDIATELY via python script when user requests refactoring analysis, technical debt review, or code quality improvement. Do NOT explore first - the script orchestrates exploration."
}
Refactor
When this skill activates, IMMEDIATELY invoke the script. The script IS the workflow.
Invocation
| Argument | Required | Description |
|---|---|---|
--step |
Yes | Current step (starts at 1) |
--n |
No | Number of categories to explore (default: 10) |
Do NOT explore or analyze first. Run the script and follow its output.
Determining N (category count)
Default: N = 10
Adjust based on user request scope:
- SMALL (single file, specific concern, "quick look"): N = 5
- MEDIUM (directory, module, standard analysis): N = 10
- LARGE (entire codebase, "thorough", "comprehensive"): N = 25
The script randomly selects N categories from the 38 available code quality categories defined in conventions/code-quality/.
Version History
- 6e72bc2 Current 2026-07-11 17:18


