jin-cleanser

Community

Clean AI-generated code

Authorcjinzy
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses the issue of "code bloat" or "slop" often introduced by AI code generation, such as unnecessary comments, redundant error handling, and unused imports, improving code quality and maintainability.

Core Features & Use Cases

  • Static Analysis: Detects patterns like unused imports and leftover debug statements using tools like ruff and grep.
  • Semantic Review: Leverages an AI agent to identify issues like self-explanatory comments, over-abstraction, and boilerplate docstrings.
  • Reporting: Generates a clear Markdown report detailing identified issues, their severity, and suggested fixes.
  • Use Case: After an AI generates a complex function, run jin-cleanser on the diff to automatically identify and report any "slop" that should be cleaned up before merging.

Quick Start

Run jin cleanser on the latest git diff to find and report code bloat.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: jin-cleanser
Download link: https://github.com/cjinzy/jin-claude/archive/main.zip#jin-cleanser

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.