Skip to content
Skills Library
Programming · Building & coding

simplify

/simplify

Use when the user asks to simplify, clean up or refactor recently changed code without changing what it does (duplication, dead code, needless complexity).

Repository
Maxedcode ↗
Licence
Apache-2.0
Last repository change
12.11.2026

Assessment and security

86/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content21 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 12.11.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What it does and when to use it

Use when the user asks to simplify, clean up or refactor recently changed code without changing what it does (duplication, dead code, needless complexity).

Original author description

Use when the user asks to simplify, clean up or refactor recently changed code without changing what it does (duplication, dead code, needless complexity).

How it works

SKILL.md has no level-two headings · 23 lines, 192 words

SKILL.md preview
---
name: simplify
description: Use when the user asks to simplify, clean up or refactor recently changed code without changing what it does (duplication, dead code, needless complexity).
---
# Simplify

Target: $ARGUMENTS (empty = the uncommitted changes).

Changed files: !`git --no-pager diff --stat HEAD`

Rules:
- Behaviour must stay exactly the same: same inputs give the same outputs, errors and side effects.
- Touch only the target code. Do not reformat or rename things the change did not touch.
- Match the surrounding style: naming, comment density, idioms.

Look for:
1. Duplicated code that an existing helper already does (grep the project for it before writing a new one).
2. Dead code: unused variables, imports, parameters, unreachable branches, commented-out code.
3. Needless complexity: nested ifs that can be early returns, flags that can be a direct return,
   manual loops that are one comprehension or one library call, wrappers that only pass through.
4. Repeated work: the same file read, regex compiled or value computed several times.

Steps: read the diff (`git --no-pager diff HEAD -- <file>`), make small edits with edit_file, then run the
project's tests or at least a syntax check of each changed file. If a test fails, revert that edit.

Report: one line per change (`path:line` — what was simplified), and anything you left alone on purpose.

Versions

RepositoryScoreLicence
This page · maxed4you/Maxedcode86Apache-2.0
qwenlm/qwen-code100Apache-2.0
fcakyon/claude-codex-settings100Apache-2.0
gosuda/dalcom-skills100Apache-2.0
x-cmd/x-cmd100Apache-2.0
ahgraber/skills100CC0-1.0
Ovich/charrette100MIT
maquina-app/rails-claude-code100MIT
mo-cmyk/mazarbul100Apache-2.0

Database snapshot: 13.11.2026 · package version 28166510bbbe (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100code-simplify
    Use when code needs simplification — recently modified code by default, or a specified scope.
  • 85at-simplify
    Refactor changed code to reduce duplication, complexity, and wasted work. Use for diffs, commit ranges, PRs, paths, staged changes, or working-tree changes.
  • 90refactor-safely
    Refactor code without changing what it does (rename, extract, split files, remove duplication, simplify). Use when the user says "clean this up", "refactor", "split this file", "simplify this function", "rename X everywhere", or "remove this duplication".
  • 100simplify-code
    Use to simplify recently modified code and human-facing docs while preserving behavior and stated facts.
  • 90code-simplifier
    Simplify the branch diff without changing behaviour - remove duplication, dead code and needless layers. Use when running the simplify pass or asked to simplify the branch diff. Don't use for new behaviour or code outside the diff (use the spec's change map).
  • 90simplify-python
    Simplify recently written or edited Python for readability without changing behavior. Use for cleanup, idiomatic rewrites, flatter control flow, and trimming redundant code or docstrings. Not for performance tuning or behavior-changing redesign.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.