refactor

SKILL.md

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/.

Weekly Installs
9
GitHub Stars
755
First Seen
Jan 25, 2026
Installed on
opencode7
codex7
gemini-cli7
github-copilot6
claude-code5
amp5