code-style
Installation
SKILL.md
Code Style
Read the corresponding file below as needed:
| Language | Reference |
|---|---|
| JavaScript / TypeScript | languages/js-ts.md |
| Rust | languages/rust.md |
Comments
Comments are necessary for complex logic. Do not wrap a sentence's comment into multiple lines unless the linter / checker requires.
We should keep comments simple and short. If the next reader can infer it from the code in three seconds, the comment is unnecessary.
Keep comments that capture what the code cannot express on its own: