code-style
Gives the design directions of the book Laminar Software Design, each with its reason, for any code that is written or changed, whatever the reason for the change, such as a new feature, a bug fix, a pull request comment, the fix of a review finding, or a refactor. It covers names, method bodies, classes, modules, types that hold state, entry boundaries, tests, I/O and comments, and gives for each design direction the cognitive failure it prevents or its correctness or performance reason. Use it whenever code is written or changed, in any language. It is not a review. It reports no findings and judges no existing code on its own, and it shapes the code while it is written.
Pinned to revision 52725c97eeaa, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/code-style/SKILL.md
- skills/code-style/conventions/docs.md
- skills/code-style/conventions/java.md
- skills/code-style/conventions/python.md
- skills/code-style/conventions/spring.md
- skills/code-style/conventions/typescript.md
- skills/code-style/references/classes.md
- skills/code-style/references/comments.md
- skills/code-style/references/correctness.md
- skills/code-style/references/methods.md
- skills/code-style/references/modules.md
- skills/code-style/references/naming.md
- skills/code-style/references/performance.md
- skills/code-style/references/tests.md
Every link opens the file at its source, pinned to the revision this page describes.