Stats
Actions
Tags
From Forge
Code simplification without behavior change. Triggers on /forge:refine. Removes duplication, improves naming, flattens nesting, deletes dead code.
How this skill is triggered — by the user, by Claude, or both
Slash command
/forge:refineThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
| Issue | Action |
| Issue | Action |
|---|---|
| 3+ identical blocks | Extract named function |
| Unclear name | Rename to describe what it holds/does |
| Nesting > 3 levels | Flatten with early returns |
| Boolean flag arg | Split into two functions |
| Function > 30 lines | Extract named sub-functions |
| Commented-out code | Delete (lives in git) |
| Unused imports/vars | Delete |
| Inconsistent style | Align to surrounding code |
FORGE REFINE - <files>
file:line - what changed and why
Tests: N PASS Behavior: unchanged
npx claudepluginhub prashantxo/forgeCreates bite-sized, testable implementation plans from specs or requirements, with file structure and task decomposition. Activates before coding multi-step tasks.