simplify-code

Installation
SKILL.md

Simplify Code

Improve code clarity, consistency, and maintainability without changing behavior. Follow local project conventions. The result should be easier to read, debug, and maintain, with no broader scope than the original.

Scope

  • Use selected or tagged code when the user provides it.
  • Use specified files, directories, or descriptions when the user names a target.
  • When the user asks for a general simplify pass with no target, inspect staged source-code changes first; if nothing is staged, inspect unstaged source-code changes.
  • Restrict edits to source-code files in the languages present in the target or diff; a repository may contain more than one. Infer the languages from target files, nearby code, project layout, and build configuration; do not treat any extension list as exhaustive.
  • Exclude docs, JSON, YAML, lockfiles, images, and other non-code files from simplification scope unless the user explicitly asks to edit them.
  • If no source-code files remain after filtering, report that there is nothing to simplify and make no changes.

Workflow

Installs
52
Repository
alannkl/skills
First Seen
Jun 9, 2026
simplify-code — alannkl/skills