不改变行为,简化近期改动或晦涩的代码
Scanned 9/2/2026
Install to Claude Code
npx -y skills add wangzhe04/ruyi-workbench-oss --skill code-simplifier --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Code Simplifier?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/wangzhe04-code-simplifier)More formats (shields.io, HTML) on the badges page.
---
name: 代码精简
description: 不改变行为,简化近期改动或晦涩的代码
---
# Code Simplifier
Use this skill when asked to simplify recently changed or confusing code without changing behavior.
Workflow:
1. Inspect `git_status` and read the relevant files.
2. Identify duplication, tangled conditionals, unclear names, and local abstractions that no longer pay for themselves.
3. Make small, behavior-preserving edits.
4. Keep public APIs stable unless the user explicitly asks for a refactor.
5. Run local tests or at least the narrowest available verification command.
6. Summarize what was simplified and what behavior was preserved.
Offline constraints:
- Do not add new npm/pip packages unless they are already present in the repository or bundled offline.
- Prefer built-in language/runtime features.
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!