Initial commit
This commit is contained in:
commit
97fcc33283
50 files changed
+3211
No files matched your search
@@ -0,0 +1,15 @@
|
||||
---
|
||||
description: Documentation — README, comments, and API docs
|
||||
globs: **/*.{md,mdx},**/README*
|
||||
alwaysApply: false
|
||||
---
|
||||
|
||||
# Documentation
|
||||
|
||||
- README must include: what it does, how to install, how to run, and how to test.
|
||||
- Document environment variables in `.env.example` with comments explaining each one.
|
||||
- Public functions and APIs need docstrings/JSDoc with params, return type, and examples.
|
||||
- Comments explain *why*, not *what*. If the code needs a what-comment, rename or refactor.
|
||||
- Keep docs in sync with code. Outdated docs are worse than no docs.
|
||||
- Changelog or release notes for user-facing breaking changes.
|
||||
- Architecture decisions worth preserving belong in ADRs or a `docs/` folder, not inline TODOs.
|
||||
Reference in new issue
Block a user