clean-code

Codifies pragmatic coding standards for naming, structure, and refactoring across codebases.

Updated Aug 22, 2025
One-click install
npx skills add https://github.com/AnthonyCongHieu/voice_tool --skill clean-code-anthonyconghieu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clean-code
Source: https://github.com/AnthonyCongHieu/voice_tool/tree/main/voice_tools_v1/.agent/skills/clean-code
Command: npx skills add https://github.com/AnthonyCongHieu/voice_tool --skill clean-code-anthonyconghieu

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Pragmatic coding standards help teams write concise, maintainable code with fewer defects by emphasizing SRP, DRY, KISS, and YAGNI.

Core Features & Use Cases

  • Guidelines for naming, structure, and safety that reduce boilerplate and improve readability.
  • Practical rules for function size, guard clauses, and avoiding over-engineering, suited for everyday software projects.
  • Use Case: A team refactors a legacy module to apply single-responsibility and early-return patterns, reducing bugs and improving testability.

Quick Start

Apply pragmatic coding standards to your current project to reduce complexity and improve readability.

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 a legacy module?

Clean code standards improve readability by codifying pragmatic rules for naming, structure, and safety. They reduce boilerplate and emphasize principles like SRP, DRY, KISS, and YAGNI to help teams write concise, maintainable code with fewer defects.

What are the best practices for function structure to reduce code complexity?

Best practices for function structure include enforcing practical rules for function size and using guard clauses. Applying these coding standards helps you avoid over-engineering and reduces complexity in everyday software projects.

Can I use these coding standards for small to medium codebases?

Yes, these coding standards are specifically suited for small to medium codebases. They provide practical rules for variables, functions, and comments that enable automated checks and consistent codebases without over-engineering your software development tasks.

How do pragmatic coding standards help reduce software defects?

Pragmatic coding standards help reduce software defects by codifying rules for naming, structure, and safety that emphasize SRP, DRY, KISS, and YAGNI. This approach reduces boilerplate and improves readability, resulting in concise and maintainable code.

When should I not use clean code refactoring patterns?

You should avoid clean code refactoring patterns when they lead to over-engineering or conflict with YAGNI principles. These coding standards emphasize pragmatic solutions, so avoid applying structure rules rigidly if they add unnecessary boilerplate to small software projects.