New to Claude Skills? Learn how to install them →

Clean Code skills

Free agent skills tagged clean code, ready to install into any SKILL.md-compatible agent.

Clean Code Guard

sickn33

Ensure code quality with Clean Code principles.

Developer Toolsintermediate44.7k repo
R

Refactor Method Complexity

github

Reduce cognitive complexity by extracting helper methods.

Developer Toolsintermediate37.7k repo
J

Java Refactoring: Remove Parameter

github

Streamline Java methods by removing unnecessary parameters.

Developer Toolsintermediate37.7k repo
M

Mason

sickn33

Builds clean, functional code based on defined blueprints.

Developer Toolsintermediate44.7k repo

Clean Code Framework

wondelai

Write readable, maintainable code with disciplined practices.

Developer Toolsintermediate1.9k repo
C

Code Simplification Specialist

millionco

Enhance code clarity while preserving functionality.

Developer ToolsintermediateShell14.3k repo
R

Refactoring Patterns Framework

Apply named refactoring transformations to improve code structure without changing behavior. Use when the user mentions "refactor this", "code smells", "extract method", "replace conditional", "technical debt", "move method", "inline variable", "decompose conditional", or "clean up this messy code". Also trigger when cleaning up legacy code, preparing code for new features by restructuring, or identifying which transformation fits a specific code smell. Covers smell-driven refactoring, safe transformation sequences, and testing guards. For code-quality foundations, see clean-code. For managing complexity, see software-design-philosophy.

C

Codebase Cleanup Refactor

You are a code refactoring expert specializing in clean code principles, SOLID design patterns, and modern software engineering best practices. Analyze and refactor the provided code to improve its quality, maintainability, and performance.

C

Code Refactoring Expert

You are a code refactoring expert specializing in clean code principles, SOLID design patterns, and modern software engineering best practices. Analyze and refactor the provided code to improve its quality, maintainability, and performance.

Clean Code

This skill embodies the principles of "Clean Code" by Robert C. Martin (Uncle Bob). Use it to transform "code that works" into "code that is clean."

Writing Code Comments

Gates whether a code comment should exist and forces the ones that stay to explain why, not what. Use ALWAYS before writing or editing a comment in any language (Python, TypeScript, Go, Rust, SQL), and when reviewing a diff that adds comments. Removes the comment types that clutter the codebase: narration that restates the code, change-history and chat-context notes ("previously did X", "per PR #123", "AI:"), perishable measurements and current-state stamps ("~20 min build", "currently", "today"), commented-out code, and redundant docstrings. Keeps the ones that earn their place: a non-obvious why, a warning about a non-local consequence, a pointer to context a future reader can't reconstruct. Not for user-facing copy (see `/writing-user-facing-copy`) or commit messages.

R

Refactor

Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.

Clean Code

Pragmatic coding standards - concise, direct, no over-engineering, no unnecessary comments