What problem does it solve?
This Skill helps developers write code that is easy to understand, modify, and maintain by adhering to best practices for code readability and design.
Core Features & Use Cases
- Pragmatic Standards: Emphasizes concise, direct, and solution-focused coding.
- Principles: Outlines key principles such as Single Responsibility, Don't Repeat Yourself, and Keep It Simple.
- Naming and Function Rules: Provides guidelines for variable, function, and boolean naming.
- Code Structure: Recommends guard clauses, flat code, and composition for better code organization.
- AI Coding Style: Offers guidance on handling user requests, bugs, and unclear requirements.
- Anti-Patterns: Identifies common code smells and their solutions.
- Verification: Requires a mandatory self-check before completing any task.
- Verification Scripts: Ensures code quality through various automated checks.
Quick Start
Implement clean-code standards in your project by following the principles and guidelines outlined in the Clean Code Skill.