Skip to content
Back to skills

Code Simplifier

ASecurity

不改变行为,简化近期改动或晦涩的代码

  • 9 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 2, 2026
ai-agentsgitapi

Works with

  • api

Security analysis

A100/100

Scanned September 2, 2026

npx -y skills add wangzhe04/ruyi-workbench-oss --skill code-simplifier --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Code Simplifier?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Code Simplifier
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/wangzhe04-code-simplifier/badge)](https://www.skillsdirectory.com/skills/wangzhe04-code-simplifier)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…