cmd-clean-code

Refactor Go, Python, and Protocol Buffers source files for readability.

8|Updated Jan 22, 2026
One-click install
npx skills add https://github.com/Olshansk/agent-skills --skill cmd-clean-code
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cmd-clean-code
Source: https://github.com/Olshansk/agent-skills/tree/main/.agents/skills/cmd-clean-code
Command: npx skills add https://github.com/Olshansk/agent-skills --skill cmd-clean-code

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill addresses the challenge of maintaining clean, readable, and idiomatic code across various programming languages, reducing cognitive load for developers and AI agents.

Core Features & Use Cases

  • Readability Improvement: Refactors code to enhance clarity without altering functionality.
  • Idiomatic Best Practices: Applies standard coding conventions for better maintainability.
  • Comment Enhancement: Converts paragraph-style comments into more digestible bullet points.
  • Use Case: A developer has a complex Python function with dense comments. Applying this skill will reformat the comments, add strategic whitespace, and ensure the code adheres to Pythonic standards, making it easier for a new team member to understand.

Quick Start

Use the cmd-clean-code skill to improve the readability of the provided Go source file.

Frequently Asked Questions about cmd-clean-code

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

FAQPage Schema
How do I improve code readability without altering functionality?

To improve code readability without altering functionality, you can apply automated refactoring that preserves business logic while formatting comments and whitespace. This process ensures source files adhere to idiomatic best practices for better maintainability.

Does code formatting work with Go, Python, and Protocol Buffers?

Code formatting applies to source files in multiple programming languages including Go, Python, and Protocol Buffers. It refactors these files to enhance clarity and applies standard coding conventions specific to each language.

What is the best way to refactor dense comments into bullet points?

The best way to refactor dense comments into bullet points is by using readability improvement tools that convert paragraph-style comments into digestible formats. This adds strategic whitespace and ensures idiomatic standards without changing functionality.

Will refactoring for idiomatic best practices remove my TODOs and issue references?

Refactoring for idiomatic best practices preserves all business logic, comments, and specific markers like TODOs and issue references. It focuses solely on readability and formatting without stripping out important development annotations.

Can I use readability improvement tools on complex Python functions?

You can use readability improvement tools on complex Python functions to reformat comments, add strategic whitespace, and ensure Pythonic standards. This makes dense code easier for new team members to understand without changing behavior.