clean-code

Enforce SRP, DRY, KISS, and YAGNI rules in code reviews.

Updated Jan 12, 2026
One-click install
npx skills add https://github.com/BenWork17/VeXeViet --skill clean-code-benwork17
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clean-code
Source: https://github.com/BenWork17/VeXeViet/tree/main/.agent/skills/clean-code
Command: npx skills add https://github.com/BenWork17/VeXeViet --skill clean-code-benwork17

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Pragmatic coding standards for AI projects: keep code concise, focused, and maintainable while avoiding over-engineering and unnecessary comments.

Core Features & Use Cases

  • Enforces SRP, DRY, KISS, YAGNI, and clean composition patterns.
  • Provides naming, structure, and guard-rail guidelines to speed up development and reduce bugs.
  • Use Case: A team reviewing legacy code to refactor into small, testable units with clear responsibilities.

Quick Start

Refactor a module to apply SRP, guard clauses, descriptive names, and minimal nesting to produce small, testable functions.

Frequently Asked Questions about clean-code

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

FAQPage Schema
What are pragmatic clean code standards for improving code maintainability?

Pragmatic clean code standards codify core rules like SRP, DRY, KISS, and YAGNI to keep code concise and focused. They enforce naming conventions, guard clauses, and minimal nesting to reduce bugs and speed up development.

How do I refactor a legacy module into small testable functions?

Refactor a module to apply Single Responsibility Principles, guard clauses, descriptive names, and minimal nesting. This process transforms legacy code into small, testable functions with clear responsibilities and clean composition patterns.

Can I use these coding standards to reduce over-engineering in my software engineering workflow?

Yes, you can apply these coding standards to reduce over-engineering by enforcing YAGNI and KISS principles. They provide guardrail guidelines to keep codebases maintainable while avoiding unnecessary comments and complex abstractions.

What is the best way to implement SRP and DRY during a code review?

The best way to implement SRP and DRY during code reviews is to codify them into actionable checks. Evaluate modules for single responsibilities, extract duplicated logic, and enforce clean composition patterns to ensure robust and readable code.

When do I need coding guardrails for AI project onboarding?

You need coding guardrails for AI project onboarding to enforce pragmatic coding standards immediately. Applying structural and naming guidelines ensures new contributors write concise, maintainable code without over-engineering or introducing unnecessary comments.