Codebase Refactoring
Codebase Refactoring is an agent skill (a SKILL.md file) from kucherenko/jscpd. Three-part workflow to improve overall codebase health with jscpd — find and fix duplicated code, find and remove or refactor dead code, then find and simplify the largest/most complex files. It works with Claude Code and has 6,560 GitHub stars across a repository of 3 listed skills.
github.com/kucherenko/jscpd/skills/codebase-refactoring (opens in a new tab)
Data as of from the GitHub API; description from the skill's SKILL.md. Report an error
Add this skill
Claude
Claude Code loads skills from ~/.claude/skills/ (all projects) or .claude/skills/ (one project):
git clone --depth 1 https://github.com/kucherenko/jscpd.git
cp -r jscpd/skills/codebase-refactoring ~/.claude/skills/codebase-refactoring # personal, or .claude/skills in a projectIn the Claude apps, zip the codebase-refactoring folder and upload it under Customize > Skills > + > Upload a skill (code execution must be on).
ChatGPT / Codex
Codex reads skills from .agents/skills/ in a repo or ~/.agents/skills/ for every project:
git clone --depth 1 https://github.com/kucherenko/jscpd.git
cp -r jscpd/skills/codebase-refactoring .agents/skills/codebase-refactoring # repo; ~/.agents/skills for all projectsStandalone skills also load in the ChatGPT desktop app.
Cursor
Cursor loads skills from .cursor/skills/ (or ~/.cursor/skills/) and also reads .claude/skills/:
git clone --depth 1 https://github.com/kucherenko/jscpd.git
cp -r jscpd/skills/codebase-refactoring .cursor/skills/codebase-refactoring # project; ~/.cursor/skills for all projectsSource (checked Oct 7, 2026): code.claude.com/docs/en/skills (opens in a new tab), support.claude.com/en/articles/12512180-using-skills-in-claude (opens in a new tab), learn.chatgpt.com/docs/build-skills (opens in a new tab), cursor.com/docs/context/skills (opens in a new tab)
What this skill does
Three-part workflow to improve overall codebase health with jscpd — find and fix duplicated code, find and remove or refactor dead code, then find and simplify the largest/most complex files. Starts from --dashboard/--health to prioritize and ends by re-measuring the score. A guided pass over a codebase's three biggest maintenance costs — duplicated code, dead code, and complexity — using jscpd to find each and a strategy to fix it.
More skills in kucherenko/jscpd
3 skills are listed from this repository.
Similar skills
More coding skills
Sn Code Video
OpenSenseNova/SenseNova-Skills
Create and revise code-driven videos with Canvas, SVG, HTML/CSS, Three.js, Remotion, Manim, or p5.js, including sound, deterministic frame capture, visual review, and MP4 verification.
Maintained · last commit Nov 13, 2026
CodingJavaScriptCode Review
vinvcn/mattpocock-skills-zh-CN
从固定点(commit、branch、tag 或 merge-base)开始,按 Standards(代码是否符合本仓库记录的编码标准?)和 Spec(代码是否符合来源 issue/spec 的要求?)两个轴线审查变更。两个审查会在并行子代理中运行,并并排报告。适用于用户想审查 branch、PR、进行中的变更,或要求“review since X”时。.
Active · last commit Nov 16, 2026
CodingJavaScriptAnalyzing Dotnet Performance
dotnet/skills
Scans .NET code for ~50 performance anti-patterns across async, memory, strings, collections, LINQ, regex, serialization, and I/O with tiered severity classification.
Maintained · last commit Nov 12, 2026
OfficialCodingC#Generate2dmedia
0x0funky/agent-sprite-forge
The art-route layer of the Forge skills. routemedia.py is the one command that generates an image or an image-to-video clip - through the paid API of any provider whose key is configured (OpenAI…
Active · last commit Nov 12, 2026
CodingPythonGoogle Agents CLI Adk Code
google/agents-cli
This skill should be used when the user wants to "write agent code", "build an agent with ADK", "add a tool", "create a callback", "define an agent", "use state management" — in a project that needs…
Active · last commit Nov 12, 2026
OfficialCodingPythonOmh External Connector Readiness
rlaope/oh-my-hermes
[omh] Evaluating a plugin, connector, or API for adoption: external connector readiness - assess whether a named plugin, connector, API, data provider, or multimodal route is safe, affordable…
Active · last commit Nov 16, 2026
CodingPython
How do I install the Codebase Refactoring skill?
Copy the codebase-refactoring folder (the one containing SKILL.md) into ~/.claude/skills/ for Claude Code, .agents/skills/ for Codex or .cursor/skills/ for Cursor. The agent picks it up automatically when a task matches its description.
Is the Codebase Refactoring skill free?
Yes. The repository is open source under the MIT license.
Is Codebase Refactoring maintained?
The repository's most recent commit was on Nov 13, 2026. Its latest release is v5.4.3. appsgit only lists skills from repositories with a commit in the last six months.