Simplifies and refines modified code to improve readability without altering function.

Install

mkdir -p .claude/skills/simplify-bebraw && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/12773" && unzip -o skill.zip -d .claude/skills/simplify-bebraw && rm skill.zip

Installs to .claude/skills/simplify-bebraw

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Simplify and refine recently modified code for clarity and consistency. Use after writing code to improve readability without changing functionality.
149 charsno explicit “when” trigger
Intermediate

Key capabilities

  • →Shorten verbose names
  • →Merge redundant types or constants
  • →Remove derivable state
  • →Refine recently modified code
  • →Improve readability without changing functionality

How it works

This skill analyzes modified code to shorten names, merge related concepts, and remove derivable state, aiming to improve readability without altering functionality.

Inputs & outputs

You give it
Recently modified code in the current branch or a specified state
You get back
Simplified and refined code with improved clarity and consistency

When to use simplify

  • →Clean up code after a feature implementation
  • →Simplify complex type definitions
  • →Refactor variable names for clarity

About this skill

Simplify

Review the user-specified changes. Preserve behavior and public contracts while reducing conceptual overhead:

  • shorten mechanical names without losing domain meaning;
  • merge substantially overlapping types, helpers, or constants;
  • derive values instead of passing or storing duplicate state;
  • remove indirection that has no distinct responsibility.

Touch only the requested scope and run relevant verification after editing.

When not to use it

  • →When the task involves changing functionality
  • →When the task is outside the specified scope

Limitations

  • →It must not change functionality
  • →It only touches code within the specified scope
  • →It focuses on readability and consistency

How it compares

This skill provides a specific set of criteria for code simplification, focusing on clarity and consistency post-implementation, rather than general refactoring or feature development.

Compared to similar skills

simplify side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
simplify (this skill)06moNo flagsIntermediate
when-stuck-problem-solving-dispatch811moNo flagsBeginner
agent-refinement17moReviewAdvanced
ponytail03moNo flagsIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry