CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

code-simplifier

Clean up the changed code for reuse, simplification, efficiency, and altitude, then apply the fixes. Quality only — it does not hunt for correctness bugs (use code-review for that). Use when the user wants to simplify, tidy, refactor, de-duplicate, or clean up their recent changes or working diff.

Quality

90%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Code Simplifier

Thin wrapper over Claude Code's built-in simplify skill.

When invoked:

  1. Run the built-in simplify skill via the Skill tool, forwarding any arguments the user passed. It reviews the changed code (the working diff) for reuse, simplification, efficiency, and altitude improvements, then applies the fixes to the working tree.
  2. If the built-in simplify skill is unavailable, perform the cleanup directly on the current diff:
    • Determine the diff (git diff, git diff --staged, or the branch diff vs the merge-base with the default branch).
    • Look for: duplicated logic that could reuse an existing helper, over-complex constructs that could be simplified, needless inefficiency, and code pitched at the wrong altitude.
    • Apply the smallest safe edits that preserve behavior. Match the surrounding code's style and idioms.

This is a quality pass only — do not report or fix correctness bugs here; route those to code-review.

Repository

BigSimmo/PsychSift

Path

.claude/cloud-profile/skills/code-simplifier/SKILL.md

Last updated
First committed

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.