Code Humanizer
Scannt von KI geschriebenen Code auf 16 structural-slop patterns ohne Verhaltensänderung
Getestet · Funktioniert
Was es kann
Ein 16-pattern catalog for finding und removing AI coding slop — reimplemented helpers, _v2 clones, single-use abstractions, broad exception swallowing, dead code, narrating comments — with severity grades und hard behavior-preservation rules. Wird bei requests to deslop, remove AI slop, humanize code oder review an AI-generated PR beyond tests passing ausgelöst.
Testbericht
On a planted slop file the skill's catalog caught the two tells my no-skill baseline missed: _is_valid_email reimplementing the differently-named utils.validate_email (pattern 1), und make_slug_v2 duplicating utils.slugify (pattern 2). It also forced the discipline the baseline skipped — grepping the repo to confirm export_users_to_dict had zero callers before deleting, und flagging the broad `except Exception` as behavior-risk to propose separately rather than silently narrowing to KeyError. Same file, materially safer und more complete review.
Getestet am: 2026-07-20 · Claude Code 2.x (agent harness)
Installation
git clone https://github.com/LeonardNJU/code-humanizer mkdir -p ~/.claude/skills/code-humanizer cd code-humanizer && cp SKILL.md ~/.claude/skills/code-humanizer/SKILL.md
Befehle & Beispiel-Prompts
/code-humanizerScannt von KI geschriebenen Code auf 16 structural-slop patterns ohne Verhaltensänderung
Skills reagieren auf normale Anfragen — keine Slash-Befehle nötig. Nach der Installation aktivieren Prompts wie diese den Skill (auf Englisch):
Scan this AI-generated PR for slop patterns before I merge itRemove the duplicated _v2 helpers and dead code from this fileThis function swallows exceptions too broadly, help me clean it up