polish

Review and refine code changes for reusability, quality, and efficiency.

11|1|Updated Aug 6, 2025
One-click install
npx skills add https://github.com/thkt/dotclaude --skill polish-thkt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: polish
Source: https://github.com/thkt/dotclaude/tree/main/.ja/skills/polish
Command: npx skills add https://github.com/thkt/dotclaude --skill polish-thkt

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill addresses issues in code by reviewing and refining it for reusability, quality, and efficiency, while also removing unnecessary AI-generated "slop."

Core Features & Use Cases

  • Code Review: Analyzes code changes for structural problems related to reusability, quality, and efficiency.
  • AI Slop Removal: Cleans up extraneous or redundant code often generated by AI.
  • Use Case: After an AI generates a significant amount of code for a new feature, use this Skill to ensure the code is clean, efficient, and adheres to best practices before committing.

Quick Start

Run the polish skill on the current git diff to clean up the code.

Frequently Asked Questions about polish

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

FAQPage Schema
How do I clean up AI generated code before committing?

You can clean up AI generated code by running a parallel review process that identifies structural issues and removes redundant AI slop, ensuring your changes are efficient and reusable.

What is the best way to refactor code for reusability and efficiency?

Refactoring code for reusability and efficiency involves analyzing structural problems in your changes and applying a code-simplifier agent to refine the output.

How do I remove redundant AI slop from my code changes?

Removing AI slop from code changes requires a code-simplifier agent that identifies and cleans up extraneous AI-generated content while reviewing for structural quality.

Can I review a git diff for code quality and structural issues?

Yes, you can review a git diff for code quality by analyzing the changes for structural problems related to reusability, efficiency, and overall code quality.

When should I use a code polishing tool on my software project?

You should use a code polishing tool after AI generates significant code for a new feature, ensuring the output is clean, efficient, and follows best practices before you commit.