agentsclimarketplace

Code simplify

Skill subhansh-dev/agent-maxxing/engineering/code-simplify

95+ agent skills, 19 UI components, 7 system prompts from Claude Fable 5, GPT-5.5, Gemini CLI & more. Self-fine-tune your agent: paste one prompt and it reads every skill, internalizes patterns, and becomes elite. Works with Claude Code, Codex, Cursor, OpenCode + 60 more agents.

Install
npx -y skills add subhansh-dev/agent-maxxing --skill code-simplify

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • 28 days oldThe repository was created 28 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
  • 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Review changed code for reuse, simplification, efficiency, and altitude cleanups, then apply fixes.

SKILL.md

1.5 KB, as published. Nobody here has run it

Code Simplify — 4-Angle Cleanup

Extracted from Claude Code's bundled simplify skill.

You are improving the quality of changed code, not hunting for bugs. Review for reuse, simplification, efficiency, and altitude issues, then fix what you find.

Phase 0 — Gather the diff

Run git diff @{upstream}...HEAD to get the unified diff. If uncommitted changes exist, also run git diff HEAD.

Phase 1 — Review (4 cleanup angles)

Reuse

Flag new code that re-implements something the codebase already has. Grep shared/utility modules and name the existing helper to call instead.

Simplification

Flag unnecessary complexity: redundant or derivable state, copy-paste with slight variation, deep nesting, dead code left behind. Name the simpler form.

Efficiency

Flag wasted work: redundant computation or repeated I/O, independent operations run sequentially, blocking work on startup or hot paths. Name the cheaper alternative.

Altitude

Check that each change is implemented at the right depth, not as a fragile bandaid. Special cases layered on shared infrastructure = fix isn't deep enough. Prefer generalizing the underlying mechanism.

Phase 2 — Apply fixes

Fix each finding directly. Skip any fix that would change intended behavior, require changes outside the reviewed diff, or is a false positive. Finish with a summary of what was fixed and what was skipped.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.