Skip to main content

refactor

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.

来源信息

仓库
solatis/claude-config
最近来源活动
2026年2月2日 06:39
检测到的 SKILL.md 语言
英语
星标
910
分支
129

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
3 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
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 <invoke working-dir=".claude/skills/scripts" cmd="python3 -m skills.refactor.refactor --step 1 --n 10" /> | 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/.
在 GitHub 查看