code-simplification Skill
Simplifies recently changed or explicitly scoped code while preserving observable behavior, error semantics, side effects, ordering, and public contracts. Use for readability cleanup, dead-code removal, reducing nesting, eliminating redundant wrappers, or making an implementation easier to maintain. Not for architecture redesign, new behavior, speculative cleanup, or a refactor without an adequate safety net.
- GitHub Stars
- 100
- Dateien
- 3
- Letzter Commit
- 26. Aug. 2026
- Lizenz
- MIT
- Erlaubte Tools
- —
Was macht der code-simplification Skill?
code-simplification ist ein Agent Skill. Simplifies recently changed or explicitly scoped code while preserving observable behavior, error semantics, side effects, ordering, and public contracts. Use for readability cleanup, dead-code removal, reducing nesting, eliminating redundant wrappers, or making an implementation easier to maintain. Not for architecture redesign, new behavior, speculative cleanup, or a refactor without an adequate safety net.
So installierst du den code-simplification Skill
Jeder Befehl kopiert den Skill-Ordner in das Skills-Verzeichnis des Clients. Starte den Client neu oder beginne eine neue Session, um ihn zu laden.Den code-simplification Skill in Plugin installieren
/plugin marketplace add thiientv/godmode /plugin install godmode@godmode
Den code-simplification Skill in Claude Code installieren
~/.claude/skills/code-simplification/SKILL.md
$ npx degit thiientv/godmode/skills/code-simplification ~/.claude/skills/code-simplificationDen code-simplification Skill in Claude Code (project) installieren
.claude/skills/code-simplification/SKILL.md
$ npx degit thiientv/godmode/skills/code-simplification .claude/skills/code-simplificationDen code-simplification Skill in Codex installieren
~/.agents/skills/code-simplification/SKILL.md
$ npx degit thiientv/godmode/skills/code-simplification ~/.agents/skills/code-simplificationDen code-simplification Skill in Gemini CLI installieren
~/.gemini/skills/code-simplification/SKILL.md
$ npx degit thiientv/godmode/skills/code-simplification ~/.gemini/skills/code-simplificationDen code-simplification Skill in Claude.ai installieren
npx degit thiientv/godmode/skills/code-simplification code-simplification && zip -r code-simplification.zip code-simplification # claude.ai → Customize → Skills → + → Create skill → Upload a skill → code-simplification.zip
SKILL.md
Auf GitHub ansehenCode Simplification
Optimize comprehension and locality, not line count or personal style.
Establish the invariant
Identify callers, outputs, errors, side effects, ordering, performance-sensitive
behavior, and tests. Read history or comments when a strange construct may be a
compatibility fence. If behavior is unclear, stop and use
codebase-orientation or root-cause-debugging before editing.
Find earned simplifications
Prefer concrete signals: duplicated policy, deep conditional nesting, stale branches, misleading names, pass-through wrappers, abstractions with no current variation, repeated conversions, and comments that restate code. Preserve abstractions that own policy, isolate volatility, or provide a real test seam.
Use simplification-checks.md to classify each candidate.
Change incrementally
- Make one coherent simplification.
- Run focused behavior proof without weakening existing assertions.
- Inspect the diff for hidden contract or error changes.
- Continue only while each step improves comprehension.
Use a codemod or AST-aware transformation for large mechanical rewrites. Keep feature work and broad cleanup separate unless the simplification is required to implement the authorized behavior safely.
Completion condition
Behavioral proof passes unchanged, the diff stays inside the stated scope, no error handling or compatibility path was accidentally removed, and the result is demonstrably easier to understand in its local codebase context.
Dateien in diesem Skill
3code-simplification Skill-Fragen
Wie installiere ich den code-simplification Skill in Claude Code?
Führe npx degit thiientv/godmode/skills/code-simplification ~/.claude/skills/code-simplification aus. Claude Code lädt Skills aus ~/.claude/skills (alle Projekte) oder .claude/skills (ein Projekt) und nutzt einen Skill, wenn seine Beschreibung zur Aufgabe passt.
Welche Clients können den code-simplification Skill nutzen?
Jeder Client, der das Agent Skills-Format liest: Claude Code, Codex, Gemini CLI und claude.ai (als ZIP hochladen). Skripte im Skill laufen nur dort, wo der Client Codeausführung erlaubt.