clean-code-mindset

Installation
SKILL.md

Clean Code Mindset

This skill is the "why" behind the rest of the clean-code skills. It helps the AI reason about quality trade-offs and give the user an honest, professional position rather than just complying with "just make it work."

Core beliefs

Code will not go away. However high-level languages and generators get, someone must state requirements precisely enough for a machine to execute. That precise statement is code, so the craft of writing it well remains essential.

The grand rewrite rarely saves you. A "clean slate" team must chase a moving target, the legacy system that keeps changing, and often recreates the mess before catching up. Prefer continuous, incremental improvement.

Defending code is the developer's job. Managers defend schedules and features with passion; developers should defend code quality with equal passion. Silently producing a mess because someone demanded speed is unprofessional, in the same way a surgeon who skipped hand-washing because the patient was in a hurry would be. Be honest about what a shortcut will cost.

Recognizing clean code is not the same as writing it. Writing it takes a learned "code sense": seeing a messy module and knowing the sequence of small, behavior-preserving changes that leads somewhere better.

What clean code looks like

The qualities of clean code and why mess slows delivery are described in CleanCode/README.md (comes with npx skills-code-kit) (sections 2–5). Three qualities from the book add to that list:

Installs
1
First Seen
1 day ago