code-simplification
A skill from Addy Osmani's agent-skills collection for making working code easier to read without changing what it does.
Was der Skill vermittelt
A skill from Addy Osmani's agent-skills collection for making working code easier to read without changing what it does. Inspired by Claude Code's simplifier plugin but written for any agent, it asks the agent to understand the code first (its callers, tests and history), then look for deep nesting, long functions, nested ternaries, vague names, duplicated or dead code and needless wrappers, and fix them one small step at a time, running tests after each and keeping refactors apart from feature work. Behaviour, errors and edge cases must stay identical and existing tests must pass unchanged. It includes TypeScript, Python and React examples, common excuses with rebuttals, and a final checklist.
Funktionen
- Find nesting, naming and duplication problems in working code
- Refactor in small steps with tests run after each
- Keep behaviour and existing tests unchanged
Überblick
- Herausgeber
- Addy Osmani
- Tool
- Code-Review
Funktioniert mit
Installation
- Führe diesen Befehl aus, um ihn zu Beliebiger Client hinzuzufügen:
npx skills add addyosmani/agent-skills --skill code-simplification
MCP-Server und Skills können Code auf deinem Rechner ausführen und auf deine Daten zugreifen. Prüfe den Quellcode, bevor du etwas installierst.
Details
| Angabe | Wert | Quelle |
|---|---|---|
| Typ | Skill | |
| Tool | Code-Review | |
| Herausgeber | Addy Osmani | Quelle |
| Offizieller Status | In der Dokumentation nicht angegeben | |
| Braucht API-Key oder Anmeldung | In der Dokumentation nicht angegeben | |
| Enthält Skripte | Nein | Quelle |
| Plattformen | In der Dokumentation nicht angegeben | |
| KI-Clients | Claude Code, Cursor, Codex, Gemini CLI, Devin Desktop | Quelle |
| Lizenz | MIT | Quelle |
| Preis | In der Dokumentation nicht angegeben | |
| Aktivität | Letzter Commit am 1. Nov. 2026115.373 GitHub-SterneKeine Download-Daten verfügbar (nicht auf npm oder PyPI) | Quelle |
| Links | Repository Website |
Quellen
- GitHub-Repositorygithub.com/addyosmani/agent-skills · Belegt: KI-Clients, Lizenz, Herausgeber, Aktivität11. Nov. 2026
- Skill-Datei (SKILL.md)github.com/addyosmani/agent-skills10. Nov. 2026
- Ordner im Repository (code-simplification)github.com/addyosmani/agent-skills · Belegt: Enthält Skripte10. Nov. 2026