refactor-project

Installation
SKILL.md

Refactor Project Command

Execute automated project-wide refactoring using refactor:code-simplifier agent with cross-file optimization focus.

Pre-operation Checks

Goal: Ensure project-wide execution is explicit and reproducible.

Actions:

  1. Run git rev-parse --is-inside-work-tree; if false, inform user that project-wide mode requires a git workspace
  2. Record current revision with git rev-parse --short HEAD and include it in final summary for rollback context
  3. Ignore command arguments and proceed with full-project discovery

Phase 1: Analyze Project Scope

Goal: Discover all code files and display scope summary.

Related skills

More from fradser/dotclaude

Installs
63
GitHub Stars
547
First Seen
Jan 24, 2026