code-simplifier SKILL.md skillA

code-simplifier from simonwong/skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add simonwong/skills/code-simplifier@v1.0.0

Pins v1.0.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
simonwong/skills
Path
skills/engineering/code-simplifier/SKILL.md
Versions recorded
2
Latest version
v1.0.0, committed Sep 15, 2026
First version recorded
Sep 2, 2026
Size
3,159 bytes
Repository stars
9
License
none declared

Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Focuses on recently modified code unless instructed otherwise.

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

You are an expert code simplification specialist focused on enhancing code clarity, consistency, and maintainability while preserving exact functionality. Your expertise lies in applying project-specific best practices to simplify and improve code without altering its behavior. You prioritize readable, explicit code over overly compact solutions. This is a balance that you have mastered as a result your years as an expert software engineer.

You will analyze recently modified code and apply refinements that:

1. **Preserve Functionality**: Never change what the code does - only how it does it. All original features, outputs, and behaviors must remain intact.

2. **Apply Project Standards**: Follow the established coding standards from CLAUDE.md including:

   - Use ES modules with proper import sorting and extensions
   - Use explicit return type annotations for top-level functions
   - Follow proper React component patterns with explicit Props types
   - Use proper error handling patterns (avoid try/catch when possible)
   - Maintain consistent naming conventions

3. **Enhance Clarity**: Simplify code structure by:

   - Reducing unnecessary complexity and nesting
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add simonwong/skills/code-simplifier@sha256:7aeb23c948aeb91f

The line at the top of this page pins the label v1.0.0, 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.

Badge

mdr badge

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

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, between Sep 2, 2026 and Sep 15, 2026, about one every 13 days.

versioncommittedcommitsizeaudit
v1.0.0 latest2026-09-15 7b13221 3,159 BA view · diff
v1.0.02026-09-02 662930b 3,128 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the 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 (3159 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

simonwong/skills · 9 stars · license none declared · pushed 2026-10-28 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_mfiz3i6bbqsmveox
GET https://markdownregistry.com/api/v1/resolve?ref=simonwong/skills/code-simplifier
GET https://markdownregistry.com/api/v1/blob/7aeb23c948aeb91f75b5362a9da27172ad83f58f184df1cac7a89bdbb6141c4a

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.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from simonwong/skills

AGENTS.md AGENTS.md file
simonwong/skills · AGENTS.md
git:20260923.a187f06 · audit A · 9 stars
CLAUDE.md CLAUDE.md file
simonwong/skills · CLAUDE.md
git:20260914.95c2646 · audit A · 9 stars
AGENTS.md@in-progress AGENTS.md file
simonwong/skills · in-progress/AGENTS.md
git:20260930.4e73ed5 · audit A · 9 stars
compose SKILL.md skill
simonwong/skills · in-progress/compose/SKILL.md · 基于主题或参考文章进行中文创作。自动检索素材库、加载主力风格档案,产出符合个人风格的文章。支持公众号、Twitter、小红书、博客等多种场景。当用户说"写一篇关于XX的文章""围绕XX创作""基于这篇文章写一篇""参考这篇英文写个中文版""…
v1.1.0 · audit A · 9 stars
material-ingest SKILL.md skill
simonwong/skills · in-progress/material-ingest/SKILL.md · 拆解文章,提取可复用的素材(观点、数据、案例、金句、类比、方法论),分类标注后存入素材库。当用户说"拆解素材""入库""收集这篇文章""提取素材""分析这篇文章的要点"或投喂文章希望留存有价值内容时使用此技能。即使用户只是分享文章并表达"这…
v1.2.0 · audit A · 9 stars
material-retrieve SKILL.md skill
simonwong/skills · in-progress/material-retrieve/SKILL.md · 从素材库中按主题、标签、类型检索可复用的写作素材。当用户说"找素材""查素材""关于XX的素材""检索素材库""有没有关于XX的东西""翻翻素材库"时使用此技能。当用户在写作过程中需要支撑材料时也应主动建议使用。
v1.1.0 · audit A · 9 stars
rewrite SKILL.md skill
simonwong/skills · in-progress/rewrite/SKILL.md · 润色和改写文章,去除 AI 感,按主力风格档案调整文风。当用户说"润色""改稿""去 AI 感""打磨一下""修改文风""帮我改改""这篇读起来太像 AI…
v1.0.0 · audit A · 9 stars
style-extract SKILL.md skill
simonwong/skills · in-progress/style-extract/SKILL.md · 分析文章的写作风格特征,提取风格维度存入风格素材库。可融合多篇风格素材生成或更新主力风格档案(my_style.json)。当用户说"分析风格""提取写作风格""学习这个语气""分析我的文风""吸收这个风格""更新我的风格"时使用此技能。即…
v1.2.0 · audit A · 9 stars
title-gen SKILL.md skill
simonwong/skills · in-progress/title-gen/SKILL.md · 为文章生成多个候选标题,覆盖不同策略类型,标注适用平台。当用户说"帮我起个标题""生成标题""取标题""想个标题""这个标题不好,换几个"时使用此技能。当用户刚完成创作并需要标题时也应主动建议使用。
v1.0.0 · audit A · 9 stars
wechat-publish SKILL.md skill
simonwong/skills · in-progress/wechat-publish/SKILL.md · 本地预览 Markdown 文章的公众号排版(含微信暗色模式),一键上传图片和封面并同步到公众号草稿箱。用于“预览公众号排版”“发到公众号草稿”“同步草稿箱”“调公众号样式”。
v0.1.0 · audit A · 9 stars
ship-pr SKILL.md skill
simonwong/skills · skills/engineering/ship-pr/SKILL.md · Commit outstanding work in batches, then open, merge, and clean up a pull request.
git:20260910.ff19eb3 · audit A · 9 stars
claude-dispatch SKILL.md skill
simonwong/skills · skills/misc/claude-dispatch/SKILL.md · Keep coordination and verification in the main thread; dispatch tasks to Sonnet or Opus subagents by difficulty.
git:20261028.cecb393 · audit A · 9 stars

Every file in simonwong/skills

Other files named code-simplifier

code-simplifier SKILL.md skill
taskless/cli · .agents/skills/code-simplifier/SKILL.md · Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Use when…
git:20261019.3a9c77f · audit A · 239 stars
code-simplifier SKILL.md skill
openhands/extensions · skills/code-simplifier/SKILL.md · Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Analyzes…
git:20260425.3ef520c · audit A · 176 stars
code-simplifier SKILL.md skill
aktsmm/agent-skills · code-simplifier/SKILL.md · Guide for simplifying and refining code after coding sessions. Use when cleaning up complex code, reviewing PRs for…
git:20261026.133d3e3 · audit A · 26 stars
code-simplifier SKILL.md skill
nguyenthienthanh/aura-frog · archon-os/skills/code-simplifier/SKILL.md · Detect and simplify overly complex code. Apply KISS principle - less is more.
git:20261029.30f94d9 · audit A · 26 stars
code-simplifier SKILL.md skill
yeisonrestrepo/code-conductor · skills/code-simplifier/SKILL.md · Always-active simplicity rules: no speculative abstractions, one job per function, max 30 lines, flat over nested with…
git:20260922.8fd811c · audit A · 17 stars
code-simplifier SKILL.md skill
kopp0510/claude-dd · skills/code-simplifier/SKILL.md · 調用官方 code-simplifier agent 簡化程式碼。當使用者要求簡化、降低複雜度、清理冗餘,或執行 8 步開發迴圈步驟 3 時啟用。不適用於 PR 審查(用 code-reviewer)。
git:20260912.708b336 · audit A · 12 stars
code-simplifier SKILL.md skill
alamoooooooo/alamo_hub · packages/engineering_subagent_workflow_kernel/code-simplifier/SKILL.md · Simplify recently changed or explicitly scoped code while preserving observable behavior. Use when the user asks to…
git:20261020.62a8ddd · audit A · 12 stars
code-simplifier SKILL.md skill
alamoooooooo/alamo-skills · packages/engineering_subagent_workflow_kernel/code-simplifier/SKILL.md · Simplify recently changed or explicitly scoped code while preserving observable behavior. Use when the user asks to…
git:20261020.62a8ddd · audit A · 12 stars

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