Code Humanizer
Use when AI-written code needs structural cleanup or when implementing a change under a guard against AI coding slop — duplicated reimplementations of existing helpers, try-import fallbacks, broad exception swallowing, speculative abstraction layers, _v2 copies, dead "for future use" code, narrating comments — including requests to "deslop", "remove AI slop", "humanize code", review an AI-generated PR beyond tests passing, or prevent these patterns in the current change.
Install
npx skills add LeonardNJU/code-humanizer --skill code-humanizergit clone --depth 1 https://github.com/LeonardNJU/code-humanizer.git /tmp/code-humanizer
mkdir -p ~/.claude/skills
cp -r /tmp/code-humanizer/. ~/.claude/skills/code-humanizerPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Code Humanizer Remove signs of AI-generated code from a repository, or prevent the same patterns in the current change with Guard mode. The prose [humanizer](https://github.com/blader/humanizer) removes AI *writing* patterns; this handles AI *coding* patterns — the structural debt agents leave behind when they optimize for "tests pass" instead of "codebase stays healthy." **Core principle:** AI code slop is not ugly code — it is code that *works* but degrades the repository: it reimplements what already exists, adds abstraction nobody asked for, swallows errors it should surface, and hedges against situations that cannot occur. Unlike prose, code has an oracle: **the test suite decides what "meaning-preserving" means. Use it constantly.** ## Iron rules Rules 1–4 govern **cleanup of pre-existing code** in Modes A/B. In Guard mode they apply to any cleanup performed after implementation, not to the requested feature work itself. Rule 5 applies in every mode. 1. **Behavior preservation is absolute.** "Cleanup" that changes behavior is a bug with good intentions. This includes *error types and error timing* — swapping an accidental `AttributeError` for a "nicer" `ValueError` changes behavior for every caller that catches it. If you find a latent bug or an ugly-but-load-bearing behavior: **flag it in the report; never fix it silently as part of cleanup.**
Details
- Skill name
code-humanizer- Repository
- LeonardNJU/code-humanizer
- License
- MIT
- Repo updated
- 26 July 2026
FAQ
What does the Code Humanizer skill do?
Use when AI-written code needs structural cleanup or when implementing a change under a guard against AI coding slop — duplicated reimplementations of existing helpers, try-import fallbacks, broad exception swallowing, speculative abstraction layers, _v2 copies, dead "for future use" code, narrating comments — including requests to "deslop", "remove AI slop", "humanize code", review an AI-generated PR beyond tests passing, or prevent these patterns in the current change.
How do I install the Code Humanizer skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add LeonardNJU/code-humanizer --skill code-humanizer. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Code Humanizer popular?
It lives in LeonardNJU/code-humanizer, which has 90 GitHub stars and 3 forks.
Related skills
Proteus Skills
99kudoumakoto6523-design/proteus-skills
使用 proteus-automatic-api Python 库创建、编辑和验证真实 Proteus/ISIS 工程,加载 MCU 固件、操作按钮/开关并读取仿真结果。用于用户要求 Proteus Skills、操作 .pdsprj、Proteus 自动化或在 Proteus 中测试按钮驱动电路的任务;普通电路讲解和概念配图不需要此技能。
Private House Code
96See-Sol-Lab/private-house-code-v2.5
Use for every task that plans, writes, edits, debugs, tests, refactors, reviews, or maintains code. Apply to professional repositories, scripts, apps, services, prototypes, beginner work, vibe coding, and bounded code changes inside large systems. Choose the fewest clear lines, files, paths, states, and abstractions that correctly implement the requested behavior. Do not invent fallbacks, compatibility paths, defensive layers, or future scale without evidence. Do not use for ordinary conversation, emotional support, prose, translation, summarization, social-media content, or general research o
Verdikta Bounties Onboarding
48verdikta/verdikta-applications
Verdikta Bounties hot-wallet operator for Base. Can create/import Ethereum keys into an encrypted keystore (its password is never stored; it comes from VERDIKTA_WALLET_PASSWORD via a secret store or a prompt), keep an API key, upload public bounty/work data, call the reviewed Verdikta API and Base RPC, and sign irreversible mainnet/testnet transactions within an owner spend policy. Use fresh low-balance wallets only. Commissions a verdikta-discover work-order draft when the owner approves it in chat with a line such as 'Approve <hash prefix>, payout <X> ETH, window <N>h': it binds that exact d
Rails Upgrade Assistant
85maquina-app/rails-upgrade-skill
Analyzes Rails applications and generates comprehensive upgrade reports with breaking changes, deprecations, and step-by-step migration guides for Rails 7.0 through 8.1.1. Use when upgrading Rails applications, planning multi-hop upgrades, or querying version-specific changes.
Vibe Coding Zero to Ship
94daoyi2026/vibe-coding-zero-to-ship
Guide complete beginners from vague product ideas to buildable, usable software by discovering hidden decisions they may not know exist, asking only user-answerable questions, and translating answers into the simplest sufficient architecture. Stay quiet for ordinary edits and already-understood safeguards, while still enforcing unresolved secret, privacy, cost, and destructive-action boundaries.
Arkts Syntax Assistant
88SummerKaze/skill-arkts-syntax-assistant
ArkTS syntax, migration, and optimization guide for HarmonyOS/OpenHarmony development. Triggers on: .ets files, ArkTS keywords, HarmonyOS/OpenHarmony context, @ohos packages. Help with syntax reference, TypeScript migration, performance optimization, compile errors, state management, component development, and language-specific questions.
Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.