Universal code quality guidelines applicable to any language or framework.
Context: If .ai-factory/ARCHITECTURE.md exists, follow its folder structure, dependency rules, and module boundaries alongside these guidelines.
| Naming | Descriptive, consistent, reveals intent | | Functions | Small, single purpose, no side effects | | Errors | Specific types, never swallow, log context | | Tests | AAA pattern, test behavior, descriptive names | | Reviews | Be specific, suggest solutions, be kind |
Codequalitätsrichtlinien und Best Practices zum Schreiben von sauberem, wartbarem Code. Behandelt Benennung, Struktur, Fehlerbehandlung, Tests und Codeüberprüfungsstandards. Verwenden Sie diese Option, wenn Sie Code schreiben, überprüfen, umgestalten oder fragen: „Wie soll ich das benennen“, „Best Practice für“ oder „sauberer Code“. Quelle: lee-to/ai-factory.