clean-code

Enforce pragmatic coding standards for SRP, DRY, KISS, and YAGNI.

Updated Jun 10, 2025
One-click install
npx skills add https://github.com/skrymer/trading --skill clean-code-skrymer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clean-code
Source: https://github.com/skrymer/trading/tree/main/.claude/skills/clean-code
Command: npx skills add https://github.com/skrymer/trading --skill clean-code-skrymer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Pragmatic coding standards that keep code clean, readable, and maintainable by guiding structure, naming, and minimal comments.

Core Features & Use Cases

  • Apply SRP, DRY, KISS, YAGNI as default practices across projects.
  • Improve onboarding, code reviews, and long-term maintainability with consistent patterns and reduced boilerplate.
  • Use during refactoring to simplify and remove unnecessary complexity.

Quick Start

Follow the clean-code guidelines during code creation and reviews to ensure consistent, readable, and minimalistic code.

Frequently Asked Questions about clean-code

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

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

Pragmatic coding standards for code maintainability enforce concise rules for naming, structure, and minimal comments to ensure readability. They codify SRP, DRY, KISS, and YAGNI principles to guard against bloated implementations and reduce unnecessary boilerplate across software projects.

How do I apply clean code principles during a code review?

Apply clean code principles during code review by checking structure, naming, and minimal comments against SRP, DRY, KISS, and YAGNI rules. This ensures consistent patterns, improves long-term maintainability, and removes unnecessary complexity or anti-patterns in the implementation.

When should I use SRP, DRY, KISS, and YAGNI in refactoring?

Use SRP, DRY, KISS, and YAGNI during refactoring to simplify and remove unnecessary complexity from existing code. Applying these default practices helps eliminate bloated implementations, ensures readability, and strips out unnecessary boilerplate across software projects.

Can I use clean code rules to improve onboarding for new developers?

Yes, you can use clean code rules to improve onboarding by applying consistent patterns and reduced boilerplate across software projects. Enforcing concise coding standards for naming and structure helps new developers read and understand the codebase faster.

What is the best way to prevent anti-patterns and bloated implementations?

The best way to prevent anti-patterns and bloated implementations is to enforce pragmatic coding standards that codify SRP, DRY, KISS, and YAGNI rules. This approach ensures code readability, consistency, and structural minimalism during code creation and reviews.

Does clean code require specific frameworks or dependencies to implement?

No, clean code does not require specific frameworks or dependencies to implement. These pragmatic coding standards are applied directly during code creation, reviews, and refactoring to enforce naming, structure, and minimal comments without relying on external components.