Skip to content
Back to skills

Simplify

ASecurity

Review and simplify recently changed code by removing unnecessary complexity without changing behavior. Use when the user asks to simplify, reduce over-engineering, clean up a patch, or make code easier to maintain.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 22, 2026
ai-agentsexpressgit

Security analysis

A100/100

Scanned September 22, 2026

npx -y skills add jckeen/dotfiles --skill simplify --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Simplify?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Simplify
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jckeen-simplify/badge)](https://www.skillsdirectory.com/skills/jckeen-simplify)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: simplify
description: Review and simplify recently changed code by removing unnecessary complexity without changing behavior. Use when the user asks to simplify, reduce over-engineering, clean up a patch, or make code easier to maintain.
---

# Simplify

Make the code simpler while preserving behavior and public interfaces unless the
user explicitly asks for an interface change.

## Workflow

1. Identify the scope from the user. If unspecified, inspect recent changes with
   `git status --short` and relevant diffs.
2. Read call sites and tests before editing.
3. Look for high-confidence simplifications:
   - dead code, unused imports, unreachable branches
   - wrappers that only forward to another function
   - abstractions used once with no clear payoff
   - duplicated conditionals that can be expressed more directly
   - redundant error handling that adds no context
4. Apply high-confidence edits directly when they are scoped and testable.
5. For medium-confidence changes, explain the tradeoff before changing behavior
   or public structure.
6. Run the smallest useful formatter, typecheck, lint, or test command.

## Constraints

- Do not add a new abstraction just to remove an old one.
- Do not churn unrelated files.
- Do not change behavior to make code look cleaner.
- Preserve user changes already present in the worktree.

## Output

Summarize what was simplified and what verification ran. If tests could not run,
say why.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…