REVIEW.md
This file augments any review prompt — the built-in /review command, Cursor commands, or an ad-hoc "review this" request.
It defines what to look for and how to label severity, but leaves the layout to whatever invokes the review.
For coding rules, see CONTRIBUTING.md; for general agent guidance, see AGENTS.md.
eval/exec, command injection, uncontrolled deserialization, path traversal, template injectionasync def (CPU-bound work, sync file I/O, blocking network calls)await, race conditions, deadlocksasyncio.create_task() instead of background_tasks.create() — the GC may drop unfinished tasksnicegui.*)
except: clausesUser vs Screen fixture choice).github/PULL_REQUEST_TEMPLATE.md# NOTE: comments explaining intent; magic numbersPresent findings as a numbered list, with the severity label in parentheses after the title:
1. **Title of the finding** (major) — body explaining the issue and the suggested fix.
Labels:
When the severity is obvious from the finding, the label can be omitted.
For long reviews, findings can be grouped under severity sub-headings (### Blocking, ### Major, ### Minor) — restart numbering in each.
nicegui/ (library): treat as public API. Defaults on new args; validate inputs; add or extend testsexamples/: keep minimal and runnable; no hidden dependencies; idiomatic NiceGUIwebsite/ and docs: verify snippets still run; avoid drift between docs and codetests/: prefer fast, deterministic tests; isolate network and time; fixtures over sleeps#L... line anchors in file links — they don't render in PR comments. Put the line range in the link text or prose instead.