← Back to context

Comment by codethief

15 days ago

I've started collecting all my opinionated practices in a file I call ENGINEERING_PRINCIPLES.md, which I share across all my projects and reference in every CLAUDE.md. It contains variable naming practices, rules of thumb for writing good code comments, guidelines for unit & integration tests, general architectural principles (avoid global state & push side effects to the boundary aka "functional core, imperative shell", avoid Java enterprise-style OOP hell, etc.), …

So far, the code Claude has generated looks fairly decent and stylistically not too different from what I would write myself.