clean-code-principles

Enforce clean-code principles during code reviews and refactoring sessions.

62|9|Updated Jan 16, 2026
One-click install
npx skills add https://github.com/AsyrafHussin/agent-skills --skill clean-code-principles-asyrafhussin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clean-code-principles
Source: https://github.com/AsyrafHussin/agent-skills/tree/main/skills/clean-code-principles
Command: npx skills add https://github.com/AsyrafHussin/agent-skills --skill clean-code-principles-asyrafhussin

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This guide helps teams implement and enforce essential software design principles to improve maintainability, readability, and scalability.

Core Features & Use Cases

  • SOLID principles (SRP, OCP, LSP, ISP, DIP) and core principles (DRY, KISS, YAGNI) across projects
  • Design patterns, code organization guidelines, and naming/readability practices to standardize quality
  • Practical, language-agnostic examples and templates to support code reviews, refactoring, and architectural decisions

Quick Start

Ask Claude to review a codebase for clean-code principles and generate actionable improvements.

Frequently Asked Questions about clean-code-principles

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

FAQPage Schema
How do I enforce SOLID and DRY principles during a code review?

To enforce SOLID and DRY principles during a code review, apply a structured taxonomy of clean-code rules covering single responsibility, open-closed, and core principles to generate actionable refactoring improvements.

What are the best practices for refactoring code architecture to improve maintainability?

Best practices for refactoring architecture to improve maintainability involve applying SOLID, DRY, and KISS principles alongside standard design patterns to standardize code organization, readability, and overall software quality.

Does this clean code guide work for language-agnostic architecture reviews?

Yes, this clean code guide works for language-agnostic architecture reviews by applying universal design principles and practical templates that standardize quality across diverse codebases without relying on specific programming frameworks.

How do I apply design patterns and KISS principles to standardize code quality?

To apply design patterns and KISS principles to standardize code quality, map your existing architecture against a structured taxonomy of core principles and patterns to identify violations and guide refactoring.

When should I not use refactoring sessions for architectural decisions?

Refactoring sessions for architectural decisions should be avoided when the codebase lacks initial test coverage, as applying structural clean-code changes without tests risks introducing regressions into the software.