clean-code

Enforce coding standards for concise, readable, and maintainable code.

1|Updated Jun 17, 2026
One-click install
npx skills add https://github.com/NabilThange/ohm-band --skill clean-code-nabilthange
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clean-code
Source: https://github.com/NabilThange/ohm-band/tree/main/.agent/skills/clean-code
Command: npx skills add https://github.com/NabilThange/ohm-band --skill clean-code-nabilthange

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill ensures coding consistency by enforcing pragmatic standards, simplifying code readability, and reducing unnecessary complexity.

Core Features & Use Cases

  • Single Responsibility Principle: Promotes focused functionality.
  • DRY Principle: Avoids code duplication and encourages reuse.
  • KISS Principle: Emphasizes the simplicity of the code.
  • Use Case: Before modifying a complex module, it helps you assess the existing coding standards and identify potential improvements.

Quick Start

Run the clean-code skill to check the coding standards of the 'UserService.ts' file.

Frequently Asked Questions about clean-code

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

FAQPage Schema
How do I enforce coding standards for readable and maintainable code?

You can enforce coding standards for readable and maintainable code by applying the Single Responsibility, DRY, KISS, and YAGNI principles to review and improve code quality. This ensures consistency and reduces unnecessary complexity.

What is the best way to review code quality before modifying a complex module?

The best way to review code quality before modifying a complex module is to assess existing coding standards against the DRY and KISS principles. This helps identify potential improvements and simplifies code readability.

Can I use this to check coding standards for a specific file like UserService.ts?

Yes, you can check coding standards for a specific file like UserService.ts. Running the clean-code skill assesses the file against pragmatic programming principles to ensure focused functionality and simplicity.

How does the Single Responsibility Principle improve my code?

The Single Responsibility Principle improves your code by promoting focused functionality within modules. By ensuring each component handles a single concern, it enforces coding consistency and simplifies overall code readability.

Why does my code review process need the DRY and KISS principles?

Your code review process needs the DRY and KISS principles to avoid code duplication and emphasize simplicity. Applying these coding standards reduces unnecessary complexity and encourages maintainable code reuse.

When do I need pragmatic coding standards to reduce unnecessary complexity?

You need pragmatic coding standards to reduce unnecessary complexity when your codebase suffers from inconsistency and duplicated logic. Enforcing principles like YAGNI and KISS ensures coding integrity and simplifies code readability.