Swdev Best Practices

Best practices to follow and principles to adhere to during software development. Use when designing, writing, refactoring, or reviewing code in any language, or when the user asks which principle applies to a design decision.

viktor-ferenczi 9fb8d09 5 files · 5.3 KB Updated

File contents

Software Development Best Practices

Apply these principles while designing, writing, and reviewing code. Read the linked document only when a principle in that group needs clarification.

  • Core principles: YAGNI, KISS, DRY, SSOT, Fail Fast, Throw Early Catch Late, PoLA — core-principles.md
  • Design & architecture: SOLID, SoC, LoD, Composition over Inheritance, GRASP, Libraries over Frameworks, Convention over Configuration, Twelve-Factor App — design-architecture.md
  • Process & quality: TDD, Boy Scout Rule, Code Review, Small Focused Changes, CI, Continuous Refactoring — process-quality.md
  • Coding habits: Readability First, Explicit over Implicit, Immutability by Default, Guard Clauses, Meaningful Names, Comments Explain Why, No Premature Optimization — coding-habits.md

viktor-ferenczi/skills/tree/main/skills/swdev-best-practices commit 9fb8d09c66

Frequently asked questions

npx skillmds add viktor-ferenczi/swdev-best-practices