Home / ronaknnathani / relay · skills/simplify/SKILL.md · GitHub

simplify skillA

simplify is agent-read markdown (skill) from ronaknnathani/relay: Reduce complexity in recently changed code — cut needless abstraction, dead code, and duplication; improve names and structure — WITHOUT changing behavior. Quality only; it does not hunt for bugs (use review for that). Use after implementing a chunk of work, before review, or whenever a diff feels more complicated than the problem it solves. Triggers on "clean this up" / "tidy this" / "refactor this" when code already exists; for an underspecified goal with no code yet, use `clarify`..

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# Simplify

Make a change simpler and clearer without changing what it does. The bar: readable, explicit code over
clever, compact code — would a senior engineer call this overcomplicated? Scope is the **recently
changed code** — the working diff (e.g. `git diff` against the branch point) unless the caller names
files. This is quality-only: it does not hunt for bugs (that's `review`).

## Step 0 — the invariant

**Preserve functionality. Never change what the code does, only how it does it.** Every original
feature, output, and behavior stays intact. If a simplification would alter behavior, it is a `review`
or implementation concern, not a simplification — stop and surface it.

## Scan — three buckets

Look at the changed code for:

- **Structural** — nesting depth ≥ 3, functions longer than ~50 lines, nested ternaries, boolean-flag
  parameters that select behavior, indirection that only forwards a call.
- **Naming** — `data`/`result`/`temp`/`foo`, names that mislead, names that imply something broader or
  different than the thing actually is.
- **Redundancy** — duplicated logic, dead/unreachable code, unused parameters/variables/fields,
…

Read the whole file at its exact version.

How to install

Latest version
mdr add ronaknnathani/relay/simplify@git:20260629.7380310
Exact content
mdr add ronaknnathani/relay/simplify@sha256:02a7cf27a149d87a

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_nemqa5fbjxlj5trj.svg)](https://markdownregistry.com/a/art_nemqa5fbjxlj5trj)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260629.7380310 latest2026-06-29 7380310 5,588 BA view · diff
git:20260629.63b0fec2026-06-29 63b0fec 5,442 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (5588 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

ronaknnathani/relay · 3 stars · license MIT · pushed 2026-09-24 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_nemqa5fbjxlj5trj
GET https://markdownregistry.com/api/v1/resolve?ref=ronaknnathani/relay/simplify
GET https://markdownregistry.com/api/v1/blob/02a7cf27a149d87a017fce4e548fc62181d2f52030704fb22780224251ceafd6

Your agent 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.

More from ronaknnathani/relay

build-write-like-me skill
ronaknnathani/relay · skills/build-write-like-me/SKILL.md · Use this skill whenever the user wants to capture, clone, or codify their own (or someone's) writing voice into a…
git:20260811.a9d417f · audit A · 3 stars
clarify skill
ronaknnathani/relay · skills/clarify/SKILL.md · Turn a vague or underspecified task into a crisp requirements + testable acceptance-criteria document by closing the…
git:20260629.7380310 · audit A · 3 stars
commit skill
ronaknnathani/relay · skills/commit/SKILL.md · Create a single well-formed git commit from the working changes, following the repo's AGENTS.md and recent…
git:20260703.d975737 · audit A · 3 stars
deliver-pr skill
ronaknnathani/relay · skills/deliver-pr/SKILL.md · Deliver one change end to end as a single pull request — clarify → plan → implement → simplify → review → validate →…
git:20260902.0a12af0 · audit A · 3 stars
explore skill
ronaknnathani/relay · skills/explore/SKILL.md · Build a verified, read-only understanding of a codebase or a slice of it — entry points, code flow, architecture…
git:20260629.a497d9d · audit A · 3 stars
implement skill
ronaknnathani/relay · skills/implement/SKILL.md · Execute an implementation plan (from `plan`) task by task, writing the code and tests and leaving the system green at…
git:20260703.d975737 · audit A · 3 stars
open-pr skill
ronaknnathani/relay · skills/open-pr/SKILL.md · Stage, commit, push, and open a pull request following the author's repository and AGENTS.md conventions — repo-style…
git:20260703.d975737 · audit A · 3 stars
plan skill
ronaknnathani/relay · skills/plan/SKILL.md · Turn a clarified requirements artifact into a concrete, executable implementation plan — a decisive architecture…
git:20260629.7380310 · audit A · 3 stars
pr-fix skill
ronaknnathani/relay · skills/pr-fix/SKILL.md · Bring a PR to mergeable — fix CI failures, address review comments, and resolve merge conflicts. Runs either from a…
git:20260924.f980c5b · audit A · 3 stars
pr-monitor skill
ronaknnathani/relay · skills/pr-monitor/SKILL.md · Handle one pull request attention event end to end — read the watcher digest, triage it, delegate the fixing to pr-fix…
git:20260902.6e57c00 · audit A · 3 stars
rebase skill
ronaknnathani/relay · skills/rebase/SKILL.md · Use when you need to rebase the current branch onto main, resolve merge conflicts, and force-push
git:20260629.9a6d3b4 · audit A · 3 stars
relay-archive skill
ronaknnathani/relay · skills/relay-archive/SKILL.md · Use when a project's PR is merged and you want to clean up the worktree while preserving notes and plans
git:20260630.3bc1f89 · audit A · 3 stars

Every file in ronaknnathani/relay

Other files named simplify

simplify skill
qwenlm/qwen-code · packages/core/src/skills/bundled/simplify/SKILL.md · Review recent code changes for reuse, code quality, and efficiency, then directly apply straightforward cleanup…
git:20260718.d4db5fc · audit A · 28,110 stars
simplify skill
fcakyon/claude-codex-settings · plugins/simplify/skills/simplify/SKILL.md · This skill should be used when the user asks to "simplify", "clean up the diff", "run simplify", "simplify the…
git:20260815.875bf07 · audit A · 1,153 stars
simplify skill
sd0xdev/sd0x-harness · skills/simplify/SKILL.md · Wrap-up refactoring — simplify code, eliminate duplication, preserve behavior
git:20260404.1c6641c · audit A · 189 stars
simplify skill
genai-io/san · .san/personas/software-engineer/skills/simplify/SKILL.md · Review changed code for reuse, quality, and efficiency, then clean up what you find — duplicated logic that could reuse…
git:20260717.120e9bb · audit A · 80 stars
simplify skill
sneg55/agent-starter · skills/simplify/SKILL.md · Review changed code for reuse, quality, and efficiency, then fix any issues found.
git:20260615.d335473 · audit A · 75 stars
simplify skill
maquina-app/rails-claude-code · rails-simplifier/skills/simplify/SKILL.md · Simplifies and refines Ruby on Rails code following 37signals patterns and the One Person Framework philosophy, while…
git:20260714.12902ab · audit A · 48 stars
simplify skill
outlinedriven/odin-claude-plugin · plugins/odin-code/skills/simplify/SKILL.md · Use when the user says "simplify this diff" or asks for a compression pass over a change-set. Not for dead-code sweeps…
git:20260904.2014e73 · audit A · 38 stars
simplify skill
riot-org/riot · crates/riot-kernel/builtin/skills/simplify/SKILL.md · 功能跑通之后、交付之前的收尾清理。按复用、质量、效率三张清单过一遍刚改的代码并修掉发现的问题。只碰这次改动的范围,不搞漫游式重构。
git:20260817.d4dfa41 · audit A · 20 stars

Browse by kind, by grade A, or by owner.