code-review

Remove AI-generated patterns like excessive comments and defensive checks from code diffs.

Updated Dec 23, 2025
One-click install
npx skills add https://github.com/HexSleeves/dotfiles --skill code-review-hexsleeves
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-review
Source: https://github.com/HexSleeves/dotfiles/tree/main/home/dot_config/dotfiles/ai/claude/skills/code-review
Command: npx skills add https://github.com/HexSleeves/dotfiles --skill code-review-hexsleeves

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps engineers improve code quality by automatically identifying and removing AI-generated patterns that degrade readability and maintainability in code changes.

Core Features & Use Cases

  • Identify excessive comments and remove those that state the obvious or repeat the name, aligning comments with the rest of the codebase.
  • Detect gratuitous defensive checks, type escape hatches, and over-engineering, and replace them with concise, intention-revealing patterns.
  • Apply modifications during code-review workflows on branches or diffs to enforce consistent style and safer, cleaner code.

Quick Start

Review a branch or diff and have the tool remove AI-generated patterns such as excessive comments, gratuitous defensive checks, type-escape hatches, and over-engineering.

Frequently Asked Questions about code-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I remove AI-generated patterns from my code changes?

To remove AI-generated patterns from code changes, analyze branches or diffs to identify and delete excessive comments, gratuitous defensive checks, and type escapes. This ensures readability and maintainability while preserving correct functionality.

What are common AI slop patterns that degrade code readability?

Common AI slop patterns that degrade readability include excessive comments stating the obvious, gratuitous defensive checks, type escape hatches, and over-engineering. These patterns introduce style inconsistencies and obscure the actual intention of the code.

How do I enforce coding standards during a code review?

To enforce coding standards during a code review, apply modifications to branches or diffs to constrain changes. Replace style inconsistencies and over-engineering with concise, intention-revealing patterns that align with the rest of the codebase.

Does this code review tool work across multiple programming languages?

Yes, this code review tool works across multiple programming languages. It analyzes code changes on branches or diffs to remove AI-generated patterns and ensure consistency with style guidelines regardless of the specific language used.

Can I clean up type escape hatches and defensive checks without breaking functionality?

Yes, you can clean up type escape hatches and gratuitous defensive checks without breaking functionality. The process constrains changes to address style inconsistencies while strictly preserving the correct, existing functionality of the code.