refactor-project
Installation
SKILL.md
Refactor Project
Goal
Understand the project as-is, identify what needs attention and in what order, then present a clear diagnosis before touching any file. Preserve current behavior at all times.
Instructions
- Read the path provided by the user. If none, find
package.jsonand follow its entry points to map the relevant project code. If nopackage.jsonexists, look for the following files in order and adapt entry points to the detected runtime:pyproject.toml→Cargo.toml→go.mod→*.csprojIf none of these are found either, inspect only the root-level files first, infer the runtime from the files present, then choose the smallest relevant source scope before proceeding. Do not scan the entire repository blindly.