Skip to content
Agentmart
Submit a tool

code-simplifier

Final simplification pass over recently changed code without changing behavior.

Skill by caarlos0

IndexedMIT★ 224
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/caarlos0-code-simplifier

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Final simplification pass over recently changed code without changing behavior. Use after implementation or when explicitly asked to simplify, clean up, or refactor.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/code-simplifier

What's inside

Skill name
code-simplifier
Description
Final simplification pass over recently changed code without changing behavior. Use after implementation or when explicitly asked to simplify, clean up, or refactor.
License
MIT
Instructions
49 lines in SKILL.md · view on GitHub

Files (7)

  • SKILL.md
  • css.md · languages/
  • go.md · languages/
  • javascript.md · languages/
  • python.md · languages/
  • rust.md · languages/
  • typescript.md · languages/

SKILL.md (first lines)

# Code Simplifier

Run after the behavior is correct. Repository instructions and correctness or
language specialists take precedence; output-style skills affect presentation
only.

## Scope

Inspect only the current change against its base. Follow references outside the
diff only to remove code orphaned by this change or text made false by it.

Read repository instructions and the matching guide under `languages/`:

- TypeScript: `languages/typescript.md`
- JavaScript: `languages/javascript.md`
- Go: `languages/go.md`
- Rust: `languages/rust.md`
- Python: `languages/python.md`
- CSS: `languages/css.md`

## Pass

- Preserve APIs, signatures, outputs, and behavior.
- Remove unnecessary indirection, one-use abstractions, repeated branches, and
  comments that restate code.
- Prefer clear statements over clever expressions.
- Keep small intentional duplication when extraction would obscure behavior.
- Use the standard library instead of adding a dependency.
- Keep visibility private unless callers require otherwise.
- Update comments, docs, errors, and names made false by the change.
- Never add comments that explain the change, such as what was removed, renamed,
  or done differently before. That belongs in the commit message or PR
  description. Delete such comments if present.
- Keep comments short and only for what the code cannot show, such as a hidden
  constraint or a non-obvious reason. Do not explain self-explanatory code.
- Search the repository before deleting apparently unused code; account for
  tests, registration, reflection, configuration keys, and public consumers.
- Update tests only when needed to preserve coverage after a legitimate
  refactor. Do not weaken assertions or alter expected behavior.

Do not reorder imports, mix unrelated cleanup into the diff, or redesign a
working API. If simplification materially expands the diff, leave the code
alone and explain why.

Use validation already run for the implementation. Run an additional targeted
check only when this pass changes something not covered by it. Never stage or
commit.

From caarlos0/dotfiles, MIT.

More from caarlos0/dotfiles

Signals

Stars
224
Forks
12
Open issues
0
Last commit (this folder)
Oct 16, 2026 (11 days ago)
Last release
Oct 1, 2026 (26 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from caarlos0

Cite this page

code-simplifier skill. Agent Mart. https://agentmart.dev/skills/caarlos0-code-simplifier (last updated 2026-10-24)