Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
Clarify and emphasize no code comments policy
Richie McIlroyff78eba0dceb
diff --git a/AGENTS.md b/AGENTS.mdindex 7a1dd5542..f09db9971 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -20,6 +20,7 @@- Rust: `rustfmt` + workspace clippy lints.- Naming: files kebab‑case (`user-menu.tsx`); components PascalCase; Rust modules snake_case, crates kebab‑case.- Runtime: Node 20, pnpm 10.x, Rust 1.88+, Docker for MySQL/MinIO.+- **NO COMMENTS**: Never add comments to code (`//`, `/* */`, `///`, `//!`, `#`, etc.). Code must be self-explanatory through naming, types, and structure. This applies to all languages (TypeScript, Rust, JavaScript, etc.).## Testing- TS/JS: Vitest where present (e.g., desktop). Name tests `*.test.ts(x)` near sources.@@ -37,6 +38,7 @@- Database flow: always `db:generate` → `db:push` before relying on new schema.- Keep secrets out of VCS; configure via `.env` from `pnpm env-setup`.- macOS note: desktop permissions (screen/mic) apply to the terminal running `pnpm dev:desktop`.+- **CRITICAL: NO CODE COMMENTS**: Never add any form of comments (`//`, `/* */`, `///`, `//!`, `#`, etc.) to generated or edited code. Code must be self-explanatory.## Effect Usage- Next.js API routes in `apps/web/app/api/*` are built with `@effect/platform`'s `HttpApi` builder; copy the existing class/group/endpoint pattern instead of ad-hoc handlers.diff --git a/CLAUDE.md b/CLAUDE.mdindex d13e14a88..ee2f0b29f 100644--- a/CLAUDE.md+++ b/CLAUDE.md@@ -360,7 +360,12 @@ Minimize `useEffect` usage: compute during render, handle logic in event handler- Windowing/permissions are handled in Rust; keep UI logic in Solid and avoid mixing IPC with rendering logic.## Conventions-- No code comments: Never add inline, block, or docstring comments in any language. Code must be self-explanatory through naming, types, and structure. Use docs/READMEs for explanations when necessary.+- **CRITICAL: NO CODE COMMENTS**: Never add any form of comments to code. This includes:+ - Single-line comments: `//` (JavaScript/TypeScript/Rust), `#` (Python/Shell)+ - Multi-line comments: `/* */` (JavaScript/TypeScript), `/* */` (Rust)+ - Documentation comments: `///`, `//!` (Rust), `/** */` (JSDoc)+ - Any other comment syntax in any language+ - Code must be self-explanatory through naming, types, and structure. Use docs/READMEs for explanations when necessary.- Directory naming: lower-case-dashed- Components: PascalCase; hooks: camelCase starting with `use`- Strict TypeScript; avoid `any`; leverage shared types