Use when simplifying code, or applying project standards to it.
Ships in unfuss. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Make code clearer, more consistent and easier to change, without changing what it does. Readable, explicit code beats compact cleverness, and that balance is the point of this skill.
Behaviour stays exactly as it was: every feature, output, side effect and public signature. When a cleanup would change any of them, leave it out and raise it as a question instead.
By default, the scope is the code you wrote or changed in this session. When this session changed nothing, take the working tree's changes from git status and git diff, and name them in the report. A wider scope, such as a named file, a directory or "the whole module", needs the user to ask for it.
Run the project's tests and type checker once, so step 5 has a baseline to compare against.
This step is done when you can name the files and sections in scope, and the baseline is recorded. When you can't name the scope, ask the user to point at the target, rather than rewriting code nobody changed.
Standards apply in three layers, highest precedence first:
AGENTS.md or CLAUDE.md, CODING_STANDARDS.md, CONTRIBUTING.md, style guides, and the conventions of the surrounding code. They override the layers below.references/, when one exists: typescript-react.md, python.md or csharp.md.Match the surrounding code's idioms instead of bringing your own.
Make the edits directly, rather than describing them.
Clarity
switch or if/else chains for several conditions, never nested ternaries.Structure
For structural changes, such as extracting duplication, deepening a shallow module or moving logic to the data it uses, work from the code-smells skill. review judges against the same list, so a smell fixed here isn't reopened there.
Comments
Treat an inline comment as evidence about the code beneath it, and sort it by what it explains:
Documentation comments, such as JSDoc, TSDoc and docstrings, describe a public interface for its callers, and stay. A "why" that is hard to reverse, surprising and a real trade-off has outgrown a comment: offer the decision-records skill.
Keep a change only when the result is simpler to read and change, not just shorter. Undo any change that:
Run the project's tests and type checker, and compare them with the state before your edits. A failure your edits caused means a behaviour changed, so undo or fix that edit.
Then check each edit the tests don't cover: its signatures, outputs and side effects stay the same.
This step is done when the checks are as green as they were before you started. Then report briefly:
What SKILL.md sets; muted values are Claude Code's defaults
/unfuss:simplifyfrom unfuss
npx claudepluginhub malasataxd/unfuss --plugin unfuss32 skills in this plugin
Other plugins' skills for the same job