Simplifies code for clarity. Use when refactoring code for clarity without changing behavior. Use when code works but is harder to read, maintain, or extend than it should be. Use when reviewing code that has accumulated unnecessary complexity.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Code Simplification
> Inspired by the [Claude Code Simplifier plugin](https://github.com/anthropics/claude-plugins-official/blob/main/plugins/code-simplifier/agents/code-simplifier.md). Adapted here as a model-agnostic, process-driven skill for any AI coding agent.
## Overview
Simplify code by reducing complexity while preserving exact behavior. The goal is not fewer lines — it's code that is easier to read, understand, modify, and debug. Every simplification must pass a simple test: "Would a new team member understand this faster than the original?"
## When to Use
- After a feature is working and tests pass, but the implementation feels heavier than it needs to be
- During code review when readability or complexity issues are flagged
- When you encounter deeply nested logic, long functions, or unclear names
- When refactoring code written under time pressure
- When consolidating related logic scattered across files
- After merging changes that introduced duplication or inconsistency
**When NOT to use:**
- Code is already clean and readable — don't simplify for the sake of it
- You don't understand what the code does yet — comprehend before you simplify
…
The line at the top of this page pins the label git:20260627.bd6e9ea, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
GET https://markdownregistry.com/api/v1/artifacts/art_ksk25iocptij7u6x
GET https://markdownregistry.com/api/v1/resolve?ref=hamza-ali-shahjahan/hamzaish/code-simplification
GET https://markdownregistry.com/api/v1/blob/f0c5ed754057eb0c1e027e2587f59de816651feb5e837242296c43ea21cf621d
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
hamza-ali-shahjahan/hamzaish · _archive/v0/agents/_orchestrator/SKILL.md · Top-level routing brain. Given any user request, identifies the product + stage + intent, then routes to the right…
hamza-ali-shahjahan/hamzaish · _archive/v0/agents/idea/competitor-mapper/SKILL.md · Map the competitive landscape by tier (direct/indirect/acquirer/adjacent) and argue why each could win. Antidote to…
hamza-ali-shahjahan/hamzaish · _archive/v0/agents/idea/devils-advocate/SKILL.md · Stress-test an idea or hypothesis. Build the strongest possible case AGAINST it, find disconfirming evidence, and…
hamza-ali-shahjahan/hamzaish · _archive/v0/agents/idea/idea-generator/SKILL.md · Generate startup ideas grounded in Hamza's existing patterns, current trends, and validated demand signals. Never just…
hamza-ali-shahjahan/hamzaish · _archive/v0/agents/idea/interview-synthesizer/SKILL.md · Synthesize a batch of customer interviews into evidence-for + evidence-against the hypothesis, with pattern surfacing…
hamza-ali-shahjahan/hamzaish · _archive/v0/agents/idea/problem-sharpener/SKILL.md · Turn vague problem observations into testable hypothesis statements with specific who/when/severity/current-workaround…
addyosmani/agent-skills · skills/code-simplification/SKILL.md · Simplifies code for clarity. Use when refactoring code for clarity without changing behavior. Use when code works but…
mohitagw15856/pm-claude-skills · exports/openclaw/code-simplification/SKILL.md · Simplify code that works — remove speculative abstraction, dead flexibility, and needless indirection while keeping…
blackbelttechnology/pi-agent-dashboard · packages/eng-disciplines/.pi/skills/code-simplification/SKILL.md · Active simplify pass for working code. Use when explicitly asked to "simplify this", "reduce complexity", "clean this…
shashankswe2020-ux/whoop-mcp · .github/skills/code-simplification/SKILL.md · Simplifies code for clarity. Use when refactoring code for clarity without changing behavior. Use when code works but…
nota-america/forgecat-agent-profiles · profiles/addyosmani/agent-skills/for-codex/.agents/skills/code-simplification/SKILL.md · Simplifies code for clarity. Use when refactoring code for clarity without changing behavior. Use when code works but…
nota-america/forgecat-agent-profiles · profiles/addyosmani/agent-skills/for-cursor/.cursor/skills/code-simplification/SKILL.md · Simplifies code for clarity. Use when refactoring code for clarity without changing behavior. Use when code works but…
nota-america/forgecat-agent-profiles · profiles/addyosmani/agent-skills/for-forgecat/platforms/cursor/.cursor/skills/code-simplification/SKILL.md · Simplifies code for clarity. Use when refactoring code for clarity without changing behavior. Use when code works but…
nota-america/forgecat-agent-profiles · profiles/addyosmani/agent-skills/for-forgecat/platforms/codex/.agents/skills/code-simplification/SKILL.md · Simplifies code for clarity. Use when refactoring code for clarity without changing behavior. Use when code works but…