Codebase Health Refactoring
kucherenko/jscpd
A three-part cleanup guided by jscpd: measure health, then fix duplicated code, remove dead code and simplify the most complex files, finishing by re-measuring the score.
Expert code simplification and refactoring specialist that autonomously enhances code clarity, consistency, and maintainability while preserving exact functionality.
$ npx skills add chendongqi/OPB-Skills --skill rnd-code-simplify -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install chendongqi/OPB-Skills rnd-code-simplify --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/chendongqi/OPB-Skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/rnd-code-simplify .claude/skills/rnd-code-simplify && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "rnd-code-simplify" agent skill from https://github.com/chendongqi/OPB-Skills/tree/main/skills/rnd-code-simplify into .claude/skills/rnd-code-simplify/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rnd-code-simplify", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/chendongqi/OPB-Skills/tree/main/skills/rnd-code-simplifyType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add chendongqi/OPB-Skills --skill rnd-code-simplify -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install chendongqi/OPB-Skills rnd-code-simplify --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/chendongqi/OPB-Skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/rnd-code-simplify .agents/skills/rnd-code-simplify && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "rnd-code-simplify" agent skill from https://github.com/chendongqi/OPB-Skills/tree/main/skills/rnd-code-simplify into .agents/skills/rnd-code-simplify/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rnd-code-simplify", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add chendongqi/OPB-Skills --skill rnd-code-simplify -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install chendongqi/OPB-Skills rnd-code-simplify --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/chendongqi/OPB-Skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/rnd-code-simplify .cursor/skills/rnd-code-simplify && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "rnd-code-simplify" agent skill from https://github.com/chendongqi/OPB-Skills/tree/main/skills/rnd-code-simplify into .cursor/skills/rnd-code-simplify/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rnd-code-simplify", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/chendongqi/OPB-Skills.git --path skills/rnd-code-simplify--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add chendongqi/OPB-Skills --skill rnd-code-simplify -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install chendongqi/OPB-Skills rnd-code-simplify --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/chendongqi/OPB-Skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/rnd-code-simplify .gemini/skills/rnd-code-simplify && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "rnd-code-simplify" agent skill from https://github.com/chendongqi/OPB-Skills/tree/main/skills/rnd-code-simplify into .gemini/skills/rnd-code-simplify/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rnd-code-simplify", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install chendongqi/OPB-Skills rnd-code-simplifyInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add chendongqi/OPB-Skills --skill rnd-code-simplify -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/chendongqi/OPB-Skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/rnd-code-simplify .github/skills/rnd-code-simplify && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "rnd-code-simplify" agent skill from https://github.com/chendongqi/OPB-Skills/tree/main/skills/rnd-code-simplify into .github/skills/rnd-code-simplify/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rnd-code-simplify", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add chendongqi/OPB-Skills --skill rnd-code-simplify -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install chendongqi/OPB-Skills rnd-code-simplify --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/chendongqi/OPB-Skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/rnd-code-simplify .opencode/skills/rnd-code-simplify && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "rnd-code-simplify" agent skill from https://github.com/chendongqi/OPB-Skills/tree/main/skills/rnd-code-simplify into .opencode/skills/rnd-code-simplify/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rnd-code-simplify", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
rnd-code-simplifyExpert code simplification and refactoring specialist that autonomously enhances code clarity, consistency, and maintainability while preserving exact functionality.
Rnd Code Simplify is an agent skill from chendongqi/OPB-Skills. Expert code simplification and refactoring specialist that autonomously enhances code clarity, consistency, and maintainability while preserving exact functionality. Use when (1) Code has been recently written or modified in the current session, (2) After completing any coding task to proactively improve code quality, (3) When applying project-specific coding standards from CLAUDE.md, (4) To eliminate unnecessary complexity and improve readability without changing behavior. Operates autonomously after code…
Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Development, covering Code quality, Code simplification and Plain language and style rules. The repository describes itself as: 一套覆盖一个公司完整业务的SKILL,适用ClaudeCode,Codex,OpenCode等工具.
10 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit d587882. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are javascript and typescript).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Rnd Code Simplify loads about 2.2k tokens when it runs. Until then it costs about 142 tokens; SKILL.md has 561 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
Without a licence we can't republish the file, so here is its outline and opening line. It has 561 words (~2,229 tokens).
“Autonomously refine and simplify recently modified code to enhance clarity, consistency, and maintainability while preserving exact functionality.”
Just SKILL.md in skills/rnd-code-simplify of chendongqi/OPB-Skills.
Open the folder on GitHubat commit d587882
Rnd Code Simplify next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Rnd Code Simplify this skillchendongqi/OPB-Skills | 125 | — | ~2.2k | Automated safety check: Pass | None | |
| Codebase Health Refactoringkucherenko/jscpd | 6.3k | — | ~2.5k | Automated safety check: Pass | MIT | |
| Cyclomatic Complexitysaurabhkumar8112/cyclomatic-complexity-skill | 405 | — | ~761 | Automated safety check: Pass | Apache-2.0 | |
| DRY Refactoring With jscpdkucherenko/jscpd | 6.3k | — | ~2.1k | Automated safety check: Pass | MIT | |
| Code Simplifiergetsentry/skills | 1k | 6 repos | ~991 | Automated safety check: Pass | Apache-2.0 | |
| Code Simplifiermeleantonio/ChernyCode | 516 | 1 repos | ~604 | Automated safety check: Pass | None |
kucherenko/jscpd
A three-part cleanup guided by jscpd: measure health, then fix duplicated code, remove dead code and simplify the most complex files, finishing by re-measuring the score.
saurabhkumar8112/cyclomatic-complexity-skill
Refactor code to reduce cyclomatic complexity so it stays readable, maintainable, and aligned with the long-term vision of the codebase, not just optimized for AI comprehension.
kucherenko/jscpd
Removes copy-paste duplication found by jscpd, starting with exact clones and hotspots, then renamed and near-miss copies, using proven refactoring strategies.
getsentry/skills
Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality.
meleantonio/ChernyCode
Simplify and clean up code after changes are complete. An agent skill from meleantonio/ChernyCode.
jd-solanki/slidev-theme-dracula
Write readable, maintainable code through disciplined naming, small functions, and clean error handling.
chendongqi/OPB-Skills
Technical architecture diagram creator using Excalidraw MCP tools.
chendongqi/OPB-Skills
Technical article writing assistant. An agent skill from chendongqi/OPB-Skills.
chendongqi/OPB-Skills
Generate creative, memorable, and appropriate names for software applications, products, and services.
chendongqi/OPB-Skills
Technical blog series planning assistant. An agent skill from chendongqi/OPB-Skills.
chendongqi/OPB-Skills
Analyze automotive system requirements (ASPICE SYS.2) and decompose them into software requirements (ASPICE SWE.1) for new energy vehicle onboard systems.
chendongqi/OPB-Skills
AI 产品重做探索器 - 基于已验证产品的 AI 重做方法论。核心理念:AI 时代所有产品都值得用 AI 重做一遍。适用场景:(1) 寻找可 AI 化重做的成熟产品,(2) 评估产品的 AI 重做可行性和差异化机会,(3) 设计 AI 版本的产品方案,(4) 制定 AI…
Categories
Expert code simplification and refactoring specialist that autonomously enhances code clarity, consistency, and maintainability while preserving exact functionality. Rnd Code Simplify is an agent skill from chendongqi/OPB-Skills. Expert code simplification and refactoring specialist that autonomously enhances code clarity, consistency, and maintainability while preserving exact functionality.
Rnd Code Simplify fits situations like: code has been recently written; modified in the current session; after completing any coding task to proactively improve code quality; applying project-specific coding standards from CLAUDE.md.
Run `npx skills add chendongqi/OPB-Skills --skill rnd-code-simplify -a claude-code`. Or copy the skill folder (skills/rnd-code-simplify in chendongqi/OPB-Skills) into .claude/skills/rnd-code-simplify in your project. Claude Code loads it when a task matches its description.
Run `npx skills add chendongqi/OPB-Skills --skill rnd-code-simplify -a codex`. Or copy the skill folder (skills/rnd-code-simplify in chendongqi/OPB-Skills) into .agents/skills/rnd-code-simplify in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add chendongqi/OPB-Skills --skill rnd-code-simplify -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/rnd-code-simplify, .gemini/skills/rnd-code-simplify, .github/skills/rnd-code-simplify and .opencode/skills/rnd-code-simplify in your project.
SKILL.md names no scripts, command-line tools or credentials: Rnd Code Simplify is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
No licence was found for Rnd Code Simplify or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.
About 2.2k tokens (SKILL.md is roughly 8.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Rnd Code Simplify: Codebase Health Refactoring (kucherenko/jscpd, 6.3k stars), Cyclomatic Complexity (saurabhkumar8112/cyclomatic-complexity-skill, 405 stars), DRY Refactoring With jscpd (kucherenko/jscpd, 6.3k stars) and Code Simplifier (getsentry/skills, 1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
chendongqi (a GitHub user) maintains it in chendongqi/OPB-Skills, which has 125 GitHub stars. The repository holds 75 skills in this directory. The repository was last updated on February 11, 2026.
Source: chendongqi/OPB-Skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.