Code Structure

MUST USE when creating or editing any code file in any language — deciding how to split files, functions, classes, and modules, or whether to extract a shared helper, base class, or utility from duplicated code. Enforces the Single Responsibility Principle (one reason to change, file/function size limits, separation of concerns) and Avoid-Hasty-Abstractions (AHA / Rule of Three — prefer duplication over the wrong abstraction).

Spardutti Updated

File contents

Spardutti/claude-skills/tree/main/skills/code-structure commit 385ae8131d

Frequently asked questions

npx skillmds@latest add spardutti/code-structure