
Code simplification edho ferdian
Rewrites working code for clarity without changing its behavior, gated on tests
Code simplification edho ferdian is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 22
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Code simplification edho ferdian
This skill guides an agent through behavior-preserving refactoring of code that already works. It covers both under-factored code, such as long functions, deep nesting and duplicated logic, and over-factored code, such as single-caller abstractions and pass-through wrappers. Changes are applied one pattern at a time, with tests run after each step.
The workflow starts with a safety-net check: the agent confirms a runnable test suite covers the code, or writes characterization tests first. It then identifies hotspots, optionally using complexity tooling such as ESLint, radon, gocyclo or clippy when the stack has it, and reports what changed, the test status after each step, and anything deliberately left alone. A companion reference file gives before-and-after examples in TypeScript, Python and Go.
The skill expects an existing codebase with a buildable project and tests. It hands off to other skills in the same collection for writing tests, removing dead code, fixing build errors and reviewing the result.
When your agent uses it
Rewrite code for clarity without changing behaviour: extract long functions, flatten nesting, merge duplication, remove over-engineering, gated on passing tests. Load it even for one small function. Use for "sederhanakan kode ini", "nesting-nya kebanyakan", "refactor biar lebih rapi", "reduce complexity", "ini over-engineered".
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 3 files (21 KB) on GitHub on 2 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the ekosistem-edho-ferdian plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add edhoferdian/EEF
/plugin install ekosistem-edho-ferdian@eef-marketplaceOr copy only this skill to ~/.claude/skills/code-simplification-edho-ferdian:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/edhoferdian/EEF.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/code-simplification-edho-ferdian &&
cp -R "$tmp/.agents/skills/code-simplification-edho-ferdian" ~/.claude/skills/code-simplification-edho-ferdian &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/code-simplification-edho-ferdian inside it instead.
Copy the skill folder to ~/.agents/skills/code-simplification-edho-ferdian to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/edhoferdian/EEF.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/code-simplification-edho-ferdian &&
cp -R "$tmp/.agents/skills/code-simplification-edho-ferdian" ~/.agents/skills/code-simplification-edho-ferdian &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/code-simplification-edho-ferdian inside it instead.
Copy the skill folder to ~/.cursor/skills/code-simplification-edho-ferdian to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/edhoferdian/EEF.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/code-simplification-edho-ferdian &&
cp -R "$tmp/.agents/skills/code-simplification-edho-ferdian" ~/.cursor/skills/code-simplification-edho-ferdian &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/code-simplification-edho-ferdian inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/edhoferdian/EEF.git --path .agents/skills/code-simplification-edho-ferdianOr copy the folder to ~/.gemini/skills/code-simplification-edho-ferdian yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/code-simplification-edho-ferdian:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/edhoferdian/EEF.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/code-simplification-edho-ferdian &&
cp -R "$tmp/.agents/skills/code-simplification-edho-ferdian" ~/.copilot/skills/code-simplification-edho-ferdian &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/code-simplification-edho-ferdian inside it instead.
Get the folder:
git clone --depth 1 https://github.com/edhoferdian/EEF.gitThen copy EEF/.agents/skills/code-simplification-edho-ferdian into your agent's skills folder as code-simplification-edho-ferdian. Agents that support SKILL.md read one folder per skill.
What it does
- Behavior-preserving rewrites
- Restructures code for readability while keeping its observable behavior unchanged.
- Test-gated safety net
- Checks for a runnable test suite or writes characterization tests before any change.
- One pattern at a time
- Applies each simplification alone and verifies it before moving to the next.
- Both-direction simplification
- Extracts long functions and also removes unnecessary abstraction layers.
- Hotspot detection
- Uses complexity linters or a manual read to find the parts worth simplifying.
- Multi-language examples
- Provides before-and-after patterns for TypeScript, Python and Go.
Good for
- Flatten a deeply nested function into guard clauses
- Break a 200-line function into well-named helpers
- Merge duplicated branches in a switch statement
- Remove a wrapper class that adds no behavior
- Simplify an over-engineered module before a code review
Code simplification edho ferdian FAQ
What does the skill need before Code simplification edho ferdian starts?
It requires code that builds and runs. If a test suite covers the code, it runs that suite for a baseline; if not, it writes characterization tests first or limits changes to trivial ones.
Does Code simplification edho ferdian change how the code behaves?
No. The skill is built around behavior-preserving changes only. Bugs or feature changes found along the way are reported separately rather than fixed in the same pass.
Which languages does Code simplification edho ferdian cover?
The reference examples cover TypeScript, Python and Go. It also mentions complexity tools for JavaScript, Python, Go and Rust.
Which AI clients can load Code simplification edho ferdian?
It follows the shared agent skills format and is also packaged in a Claude Code plugin marketplace.
How do I install Code simplification edho ferdian in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/code-simplification-edho-ferdian to use it in all your projects, or to .claude/skills/code-simplification-edho-ferdian in one project. Or install the ekosistem-edho-ferdian plugin, which includes it: /plugin marketplace add edhoferdian/EEF, then /plugin install ekosistem-edho-ferdian@eef-marketplace.
Does Code simplification edho ferdian run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Code simplification edho ferdian?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Code simplification edho ferdian?
The closest alternatives to Code simplification edho ferdian are Code simplifier, Refactor, Simplify python, Readable code and Refactor method complexity reduce.
Where this comes from
- Description: from the skill's own SKILL.md.
More from edhoferdian/EEF

Guides an agent through mapping, writing and quarantining end-to-end browser tests
- Open source
- 22 GitHub stars
- Developer tools

Guides writing unit and component tests in React, pytest, Go and Vue
- Open source
- 22 GitHub stars
- Developer tools

Guides an agent in designing REST API contracts, versioning and OpenAPI schemas
- Open source
- 22 GitHub stars
- Developer tools

Routes a vague request to the right EEF skill, or a short sequence of them
- Open source
- 22 GitHub stars
- Developer tools

Guides an agent on server-side layering, error handling, retries, queues and integrations
- Open source
- 22 GitHub stars
- Developer tools

Diagnoses billing incidents and checks pricing claims against code before any refund
- Open source
- 22 GitHub stars
- Finance and payments





