clean-code

Improve readability and maintainability of your codebase with standards-based linting and structural checks.

Updated Mar 23, 2026
One-click install
npx skills add https://github.com/binfen1/my-skills --skill clean-code-binfen1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clean-code
Source: https://github.com/binfen1/my-skills/tree/main/openclaw/clean-code
Command: npx skills add https://github.com/binfen1/my-skills --skill clean-code-binfen1

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Pragmatic coding standards to keep code concise, direct, and free from over-engineering.

Core Features & Use Cases

  • SRP, DRY, KISS, YAGNI guidelines for maintainable code.
  • Naming and function rules to improve readability and reduce bugs.
  • Anti-patterns to avoid and best practices for clean architecture.

Quick Start

Run this skill to apply pragmatic, minimal coding standards across your codebase.

Frequently Asked Questions about clean-code

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

FAQPage Schema
How do I apply clean code standards to refactor an existing codebase?

Apply clean code standards by running this skill to identify and fix quality gaps using SRP, DRY, and KISS guidelines, ensuring concise, maintainable code without over-engineering.

What are the best practices for reducing deep nesting and improving function readability?

Best practices for readability include enforcing small functions, using early returns, and prohibiting deep nesting. This skill applies these guardrails to reduce bugs and improve maintainability.

Can I use these coding standards for code reviews and developer onboarding?

Yes, these coding standards support code reviews and onboarding. The skill applies pragmatic guidelines across various languages to evaluate quality and align new developers on maintainable architecture.

What is the difference between YAGNI and over-engineering in maintainable code?

YAGNI prevents over-engineering by ensuring you build only currently needed functionality. This skill enforces YAGNI alongside DRY and KISS to keep codebases direct and free from unnecessary complexity.

Does this clean code refactoring skill work with any programming language?

Yes, the clean code refactoring skill applies to a wide range of languages and projects, focusing on universal coding standards like naming rules and anti-patterns rather than language-specific syntax.