clean-code

Enforce Clean Code and SOLID principles in AI coding projects.

Updated Feb 12, 2026
One-click install
npx skills add https://github.com/lucas-martino/ai-augmented-development-agents --skill clean-code-lucas-martino
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clean-code
Source: https://github.com/lucas-martino/ai-augmented-development-agents/tree/main/skills/clean-code
Command: npx skills add https://github.com/lucas-martino/ai-augmented-development-agents --skill clean-code-lucas-martino

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill enforces the principles of Clean Code and SOLID, ensuring concise, direct, and solution-focused coding for AI applications.

Core Features & Use Cases

  • SOLID Principles: Adherence to the Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, and Dependency Inversion Principles.
  • Pragmatic Coding: Avoids over-engineering and unnecessary comments, focusing on simplicity and clarity.
  • Naming Rules: Provides guidelines for variable, boolean, collection, function, class, and constant naming.
  • Function Rules: Ensures small, focused functions with minimal side effects and clear responsibility.
  • Error Handling: Advocates for exceptions over error codes and emphasizes proper exception handling practices.
  • Testing Standards: Emphasizes the importance of fast, independent, repeatable, self-validating, and timely testing.
  • Class & Object Design: Offers best practices for class design, cohesion, boundaries, and separation of concerns.
  • Code Structure: Provides guidance on guard clauses, flat vs nested structures, composition, and colocation.
  • Anti-Patterns: Lists common anti-patterns to avoid and their fixes.
  • AI Coding Style: Offers guidance for AI-specific coding style, including handling features and bugs.

Quick Start

Apply the Clean Code Skill to any AI coding project by following the guidelines and best practices outlined in this Skill.

Frequently Asked Questions about clean-code

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

FAQPage Schema
How do I enforce SOLID principles and clean code standards in AI development?

To enforce SOLID principles and clean code standards in AI development, apply this Skill to assess code quality, adherence to best practices, and suggest improvements for readable, maintainable, and efficient code.

What is the best way to avoid over-engineering and improve function naming in AI coding?

The best way to avoid over-engineering and improve function naming in AI coding is by applying pragmatic coding guidelines that ensure small, focused functions with minimal side effects and clear responsibility.

How do I implement proper error handling and avoid anti-patterns in programming best practices?

To implement proper error handling and avoid anti-patterns in programming best practices, advocate for exceptions over error codes, emphasize proper exception handling practices, and identify common anti-patterns to fix.

Can I use this clean code Skill to check class design and code structure for AI projects?

Yes, you can use this clean code Skill to check class design and code structure for AI projects, offering best practices for cohesion, boundaries, separation of concerns, guard clauses, and flat vs nested structures.

What testing standards should I follow for AI programming best practices?

For AI programming best practices, you should follow testing standards that emphasize fast, independent, repeatable, self-validating, and timely testing to ensure readable, maintainable, and efficient code.