clean-code

Enforces SRP, DRY, KISS coding standards across AI projects via linting and refactoring.

3|2|Updated Feb 27, 2026
One-click install
npx skills add https://github.com/grasberg/sofia --skill clean-code-grasberg
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clean-code
Source: https://github.com/grasberg/sofia/tree/main/cmd/sofia/internal/onboard/antigravity-kit/.agent/skills/clean-code
Command: npx skills add https://github.com/grasberg/sofia --skill clean-code-grasberg

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Pragmatic coding standards that keep AI-driven projects fast, readable, and maintainable by reducing over-engineering and unclear implementations.

Core Features & Use Cases

  • Enforce SRP, DRY, and KISS to improve code structure.
  • Promote clear naming, minimal comments, and small, testable functions.
  • Use during code reviews, refactoring sessions, and automated linting workflows to ensure consistency across teams.

Quick Start

Refactor a provided code snippet to satisfy the clean-code rules and produce a concise, readable version.

Frequently Asked Questions about clean-code

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

FAQPage Schema
How do I enforce SRP, DRY, and KISS coding standards during code refactoring?

To enforce SRP, DRY, and KISS coding standards during refactoring, apply concise, maintainable rules that validate single responsibility, don't repeat yourself, and keep it simple, stupid principles to reduce over-engineering and ensure clear code structure.

What is the best way to apply naming conventions and guard clauses in automated linting workflows?

The best way to apply naming conventions and guard clauses in automated linting workflows is to validate code against concise standards that promote clear naming, minimal comments, and small, testable functions across multiple languages and teams for consistency.

Can I use this clean code standard for code reviews across multiple programming languages?

Yes, you can use this clean code standard for code reviews across multiple programming languages and teams. It validates concise, maintainable coding principles to ensure consistency and readability during automated linting and refactoring sessions.

How do I refactor a code snippet to satisfy clean code rules and improve readability?

To refactor a code snippet to satisfy clean code rules, process the code to produce a concise, readable version that enforces SRP, DRY, KISS, naming conventions, guard clauses, and minimal, well-documented code to reduce over-engineering.

Why does over-engineering occur in AI-driven projects and how can coding standards prevent it?

Over-engineering occurs in AI-driven projects due to unclear implementations, but pragmatic coding standards prevent it by enforcing concise, maintainable rules like SRP, DRY, and KISS to keep projects fast, readable, and maintainable.