general-coding-guidelines
Installation
SKILL.md
General Coding Guidelines
These are general guidelines that apply to all code. They need to be followed when creating and code and reviewed code is expected to follow these guidelines.
1) Coding Principles
A) Correctness > Clarity > Consistency > Performance > Cleverness
- Do not introduce clever abstractions.
- Prefer boring, standard solutions that match the repo style.
B) DRY (practical)
- Avoid repeating logic that might change.
- Avoid multiple large chunks of code in a single function.
- Extract shared logic into:
- private method (same class)
- dedicated service (bounded context)
- helper (only if truly global and reusable)
Related skills