simplify SKILL.md skillA

simplify from jimyag/dotfiles is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add jimyag/dotfiles/simplify@git:20261015.96a89a5

Pins git:20261015.96a89a5 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
jimyag/dotfiles
Path
skills/simplify/SKILL.md
Versions recorded
6
Latest version
git:20261015.96a89a5, committed Oct 15, 2026
First version recorded
Aug 12, 2026
Size
3,002 bytes
Repository stars
11
License
MIT

用户明确要求简化、清理或重构近期改动且保持行为不变时使用;普通实现、缺陷修复、代码评审或行为变更不触发。.

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

# 简化代码

在完全保留功能的前提下简化代码。优先选择易读、行为明确的写法,而非紧凑或巧妙的写法。

## 边界

- 已有失败或异常行为先用系统化调试定位;本技能不把修缺陷伪装成等价重构。简化过程中发现的正确性问题只报告,不在本轮修复。
- 需要改变功能、API、错误语义或兼容行为时停止,并将它作为单独变更讨论。
- 默认只处理当前任务或会话中的改动,遵守项目指令并保留工作区中的无关改动。

## 流程

1. 确定用户要求的范围、最近修改的代码,以及能证明现有行为的测试、命令或可观察结果。
2. 阅读适用的项目指令和相邻代码约定。
3. 按四个角度找候选:复用(新代码是否重写了仓库已有的 helper、类型或服务)、简化(多余或可推导的状态、近似复制、深层嵌套、遗留的死代码)、效率(重复计算或 I/O、可并行却串行、启动或热路径上新增的阻塞工作)、修复深度(在共享机制上叠加特例而不是改底层机制)。每个候选记录文件、行和具体代价:重复了什么、浪费了什么、哪里更难维护。判断细则和不该做的简化见 [检查角度](references/clarity-checks.md)。差异较大且可用子代理时,可以按角度并行审查后合并。
4. 合并指向同一行或同一机制的候选。跳过会改变既有行为、需要改动明显超出本次差异或判断为误报的候选,并记录原因。效率和修复深度的候选常会改变调用顺序、并发或其他调用方的行为,这类候选只报告,作为单独变更处理。
5. 做保持行为不变的最小改进。
6. 检查差异,逐项确认没有改变控制流、错误行为、输出、副作用、并发顺序或兼容边界。
7. 使用修改前的同一行为入口验证,再按风险补充更宽检查。
8. 只报告重要改进、跳过或只报告的候选及原因,以及验证缺口。

无法建立行为基线时,只做可以由静态等价直接证明的局部简化,并报告未验证边界。验证失败、差异显示行为变化或需要猜测原意时,停止本轮简化并恢复本轮未成立的改动,不用“代码更短”作为成功依据。

## 输出

- 简化了什么复杂度,以及为什么行为保持不变;
- 实际执行的行为基线和验证结果;
- 没有执行的运行面及其影响;
- 没有安全简化机会时,明确说明保持现状。

## 来源

改编自 Anthropic 的 [`code-simplifier`](https://github.com/anthropics/claude-plugins-official/tree/main/plugins/code-simplifier) 代理,采用 Apache License 2.0 授权,已改编为可移植的 Agent Skills 格式。

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add jimyag/dotfiles/simplify@sha256:86ac6d8c2d18a65f

The line at the top of this page pins the label git:20261015.96a89a5, 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_sunz6h2ulgokxqqs.svg)](https://markdownregistry.com/a/art_sunz6h2ulgokxqqs)

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

Versions

The registry has recorded 6 versions of this file, between Aug 12, 2026 and Oct 15, 2026, about one every 13 days.

versioncommittedcommitsizeaudit
git:20261015.96a89a5 latest2026-10-15 96a89a5 3,002 BA view · diff
git:20260927.a7267d02026-09-27 a7267d0 2,078 BA view · diff
git:20260919.7add2782026-09-19 7add278 2,167 BA view · diff
git:20260905.751659e2026-09-05 751659e 2,407 BA view · diff
git:20260812.c55b6ba2026-08-12 c55b6ba 2,947 BA view · diff
git:20260812.306a3762026-08-12 306a376 2,871 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 (3002 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

jimyag/dotfiles · 11 stars · license MIT · pushed 2026-10-20 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_sunz6h2ulgokxqqs
GET https://markdownregistry.com/api/v1/resolve?ref=jimyag/dotfiles/simplify
GET https://markdownregistry.com/api/v1/blob/86ac6d8c2d18a65f9af43f612969d3bc0c7f56855bd86fb8006aa3bb4f1553d7

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 jimyag/dotfiles

absorb-skill SKILL.md skill
jimyag/dotfiles · skills/absorb-skill/SKILL.md · 用户想从外部技能生态寻找、比较可复用的 Agent Skill,或要求把外部 Skill、项目资料或历史经验中的可复用内容吸收到已有 Skill 时使用;对照来源与目标后修改目标…
git:20261019.0e15234 · audit B · 11 stars
agent-health SKILL.md skill
jimyag/dotfiles · skills/agent-health/SKILL.md · 在审计 AGENTS/CLAUDE 指令、MCP、hooks、工具权限、验证入口、跨工作流配置漂移,或技能库的规范、可移植性、触发重叠、上下文加载、脚本和评测时使用;不用于创建技能,不因普通任务涉及配置就触发。
git:20261019.0e15234 · audit B · 11 stars
architecture-decision-record SKILL.md skill
jimyag/dotfiles · skills/architecture-decision-record/SKILL.md · 已有具体技术决策,需要判断是否记录 ADR,或创建、更新、替代 ADR 时使用。
git:20260905.751659e · audit A · 11 stars
brainstorming SKILL.md skill
jimyag/dotfiles · skills/brainstorming/SKILL.md · 在目标、范围或成功标准不清,存在接近的实现方案,或高成本假设可能导致返工时使用;用户要求拷问、追问或 grill 方案时也使用。适用于实现前澄清需求、挑战隐含前提并收敛到一个推荐方案;不用于已经明确的小改动。
git:20261015.bb74506 · audit A · 11 stars
codecov-coverage SKILL.md skill
jimyag/dotfiles · skills/codecov-coverage/SKILL.md · 在需要查询 Codecov 仓库、PR、提交、patch 或文件覆盖率,比较覆盖率变化,或诊断 codecov/project、codecov/patch 等覆盖率检查失败时使用。
git:20260905.751659e · audit A · 11 stars
frontend-design-review SKILL.md skill
jimyag/dotfiles · skills/frontend-design-review/SKILL.md · 在确定或审查前端页面、落地页、作品集和重新设计的视觉方向时使用;区分只读审查、方向建议和已授权实现,并用真实截图或渲染验证视觉结论。不用于纯业务逻辑、状态管理或已经有明确设计稿的机械实现。
git:20261015.b377f6b · audit A · 11 stars
gh-stack SKILL.md skill
jimyag/dotfiles · skills/gh-stack/SKILL.md · 使用 gh-stack GitHub CLI 扩展管理堆叠分支和拉取请求。适用于创建、推送、变基、同步、切换、查看、重组或合并相互依赖的 PR 链及堆叠差异。
v0.0.9 · audit A · 11 stars
linux-performance-analysis SKILL.md skill
jimyag/dotfiles · skills/linux-performance-analysis/SKILL.md · 诊断 Linux 主机或容器的缓慢、高负载、资源压力及网络性能异常,定位瓶颈与触发进程;不用于普通命令语法查询。
git:20260905.751659e · audit A · 11 stars
loop-on-ci SKILL.md skill
jimyag/dotfiles · skills/loop-on-ci/SKILL.md · 在已有 GitHub PR 需要持续观察 Actions 检查、读取失败作业日志、修复问题、重新运行并跟到全部检查变绿时使用。适用于围绕同一个 PR 反复验证,而不是一次性状态查询。
git:20261015.b377f6b · audit A · 11 stars
pull-request SKILL.md skill
jimyag/dotfiles · skills/pull-request/SKILL.md · 创建 GitHub PR、更新标题或正文、填写 PR 模板,或准备人工发布内容时使用;不用于代码审查和 CI 修复。
git:20260919.361331b · audit A · 11 stars
requesting-code-review SKILL.md skill
jimyag/dotfiles · skills/requesting-code-review/SKILL.md · 用户要求审查当前代码差异或 PR 时使用,默认只读;不用于处理已收到的评审意见。
git:20261019.0e15234 · audit A · 11 stars
runtime-verification SKILL.md skill
jimyag/dotfiles · skills/runtime-verification/SKILL.md · 在提交或交付非平凡代码改动前,需要确认改动在真实运行面上按预期工作时使用;通过 CLI、接口、界面、公开包入口或代理行为驱动改动路径并留存证据。只改测试、文档或无运行面的类型声明时不触发;定位缺陷使用…
git:20261015.2c8093f · audit A · 11 stars

Every file in jimyag/dotfiles

Other files named simplify

simplify SKILL.md 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,586 stars
simplify SKILL.md 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,181 stars
simplify SKILL.md skill
cowork-os/cowork-os · resources/skills/simplify/SKILL.md · Improve existing work with focused simplification passes across code, writing, research, operations, or general tasks.
v1.0.0 · audit A · 496 stars
simplify SKILL.md skill
sd0xdev/sd0x-harness · skills/simplify/SKILL.md · Wrap-up refactoring — simplify code, eliminate duplication, preserve behavior
git:20260404.1c6641c · audit A · 194 stars
simplify SKILL.md 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 · 66 stars
simplify SKILL.md 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 · 76 stars
simplify SKILL.md 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.md 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

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