explaingit

leonardnju/code-humanizer

Analysis updated 2026-05-18

34Audience · developerComplexity · 1/5Setup · easy

TLDR

An AI coding assistant skill that finds and safely cleans up messy patterns left behind by AI-generated code.

Mindmap

mindmap
  root((Code Humanizer))
    What it does
      Finds AI code slop
      Cleans safely
      Guards new changes
    Tech stack
      Agent skill
      SKILL.md
      Claude Code
    Patterns caught
      Duplication
      Speculative abstraction
      Defensive slop
      Test slop
    Rules
      Behavior preserved
      Tests required
      One fix per commit
    Audience
      Developers using AI agents

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Scan a codebase for duplicated helpers, dead abstractions, and defensive code left by AI coding tools.

USE CASE 2

Automatically fix flagged patterns one at a time, only when tests exist to confirm nothing broke.

USE CASE 3

Guard new AI-assisted changes against reintroducing the same sloppy patterns.

USE CASE 4

Get a severity-ranked report of code smells before merging AI-generated pull requests.

What is it built with?

MarkdownClaude CodeAgent Skills

How does it compare?

leonardnju/code-humanizer0xjbb/modulestompedabhisumatk/epstein_files_rag
Stars343434
LanguageC++Python
Setup difficultyeasymoderatemoderate
Complexity1/54/53/5
Audiencedeveloperdeveloperresearcher

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

In plain English

This project is a skill for AI coding assistants like Claude Code, Cursor, and similar tools. A skill in this context is a set of instructions that teaches the assistant a specific way of working. This particular skill teaches the assistant to find and clean up messy patterns that AI coding tools tend to leave behind in a codebase, things like duplicated helper functions, overly cautious error handling that hides real problems, and abstractions built for only one use case. The project catalogs sixteen specific patterns split into tiers: copied or reinvented code, unnecessary layers of abstraction, defensive code that swallows errors silently, clutter like leftover comments and unused imports, and weak automated tests. Each pattern comes with an example of what it looks like and how severe it is, and some patterns are marked as acceptable in certain situations rather than automatically flagged as bad. A key rule the skill follows is that it should never change how the code actually behaves while cleaning it up, including things like which error type gets raised. It only makes edits when a test suite exists to confirm nothing broke, and it makes one type of fix at a time so each change can be reviewed on its own. Installing it is a single command that adds the skill to whichever coding assistant someone is already using, or it can be copied in by hand since it is just one text file with instructions, no extra software required. This tool is aimed at developers and teams who use AI coding assistants regularly and want a way to catch and fix the sloppy patterns those assistants tend to introduce, rather than at people who do not write code at all.

Copy-paste prompts

Prompt 1
Use code-humanizer to scan this repository and report AI-generated code slop patterns.
Prompt 2
Run code-humanizer in fix mode on this file, one pattern per commit, with tests green after each step.
Prompt 3
Explain the 16 slop patterns this skill catches and show me an example of each.
Prompt 4
Guard my next change with code-humanizer so I don't introduce duplicated helpers or speculative abstractions.
Prompt 5
Install code-humanizer for Claude Code and walk me through how to invoke it on a pull request.

Frequently asked questions

What is code-humanizer?

An AI coding assistant skill that finds and safely cleans up messy patterns left behind by AI-generated code.

How hard is code-humanizer to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is code-humanizer for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.