[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6D25G4YJVFBF2ANQQ1TGGYK":3,"skill-same:01M6D25G4YJVFBF2ANQQ1TGGYK":73},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":28,"publishedAt":45,"linkOnly":46,"markdownContent":47,"markdownBody":48,"frontMatter":49,"refName":50,"commitSha":51,"skillDirectory":52,"forksCount":53,"repositoryHtmlUrl":54,"repositoryHomepageUrl":55,"ownerHtmlUrl":56,"ownerBlogUrl":55,"ownerDescription":57,"updatedAt":58,"install":59,"resources":72},"01M6D25G4YJVFBF2ANQQ1TGGYK","review",null,"Reviewing a change for defects: understanding what it claims to do, reading the whole diff then each file in context, the questions to ask of any change (correctness, edge cases, errors, concurrency, security, performance, tests, compatibility), running the tests when it settles something, ranking findings by consequence, what every finding must say, and saying plainly when nothing is wrong. Read before any code review.","enowdev\u002Fenowxcli","enowdev","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F179420349?v=4","01M6D1MVX2KC0X3Z9NESE7P22K","Enow Dev.","01M6D1MW1FMZGBDKWAJY4GQX81",67,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fcrates\u002Fenowx-core\u002Fskills\u002Freview\u002FSKILL.md",[18,23],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000007","代码审查","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":26,"taxonomyTypeDesc":27},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[5,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],"tests","code review","do","compatibility","say","diff","context","read","ask","concurrency","edge","file","code","change","performance","security","2026-11-10 10:12:30",false,"---\nname: review\ndescription: \"Reviewing a change for defects: understanding what it claims to do, reading the whole diff then each file in context, the questions to ask of any change (correctness, edge cases, errors, concurrency, security, performance, tests, compatibility), running the tests when it settles something, ranking findings by consequence, what every finding must say, and saying plainly when nothing is wrong. Read before any code review.\"\n---\n\n# Reviewing a change\n\nThe generated review opens with style nits, rewrites the author's code in\nits comments, asks to \"consider adding tests\" without naming a case, raises\nconcerns nobody could reproduce to look thorough, misses the missing\nauthorisation check, and approves because the tests pass. A useful review\nknows what the change claims, reads it in context, settles doubts by running\nsomething, and reports each defect as what breaks, for which input, at which\nline, ranked by consequence. When nothing is wrong, it says so. The defects\neach kind of change tends to hide are listed in `review-checklists`.\n\n## 0. Stance: firm, tidy, honest\n\n- **Say what it is.** Bad work is called bad, good work good, each with the\n  reason. No softening (\"you might consider\", \"perhaps\"), no compliment\n  before the bad news, no praise to balance a list of defects. A finding\n  is stated as a fact when it is verified and marked suspected when not.\n- **One verdict, first line, from this scale:**\n  - `Good`: no blocker or major, tidy; ship it.\n  - `Good with fixes`: no blocker, a few majors or minors with clear fixes.\n  - `Needs work`: a blocker, or majors enough that it should not ship.\n  - `Bad`: wrong at the root (the approach, the design, the data model);\n    fixing lines will not save it. Say what should replace it.\n  The verdict follows from the findings, never from effort, size or the\n  author's confidence.\n- **Tidiness is part of quality.** Inconsistency is a finding, ranked\n  Minor (Major when it spreads): names that follow two conventions, the\n  same logic written twice, dead code and commented-out blocks, a pattern\n  the codebase does one way done another, files in the wrong place, magic\n  numbers, a layout whose spacing, edges or card sizes drift. Only pure\n  taste is a nit.\n- **Not harsh for its own sake.** No concern invented to look thorough, no\n  defect raised without the line and the input. When it is good, say so\n  plainly and name what makes it good, so it is kept.\n\n## 1. Get the change\n\n- A branch: `git diff --stat main...HEAD` for its shape,\n  `git diff main...HEAD` for its content (three dots: only what the branch\n  added since it left `main`), `git log --oneline main..HEAD` for its\n  commits. Use the base the brief names (`origin\u002Fmain`, `develop`).\n- Work in progress: `git status --short`, `git diff`, `git diff --staged`.\n- One commit: `git show \u003Csha>`. A pull request, when `gh` is installed and\n  signed in: `gh pr view 123 --json title,body,files` and `gh pr diff 123`.\n- `git diff -w` hides whitespace-only changes; `--name-status` lists added,\n  deleted and renamed files.\n- The old version of a file: `git show main:src\u002Forders\u002Frefund.ts`. A\n  reviewer's `bash` refuses what changes the tree (`checkout`, `stash`,\n  `worktree`, installs, formatters with `--write` or `--fix`), so read the\n  base this way instead of switching to it.\n- No git, or no diff: review the files the brief names as they stand, and\n  say the review covers files, not a change.\n\n## 2. Know what it claims before judging it\n\n- Read the task, the issue, the PR description, the commit messages and\n  the brief. Write down in a sentence or two what the change claims to do\n  and what it must not break: callers, the public API, stored data,\n  config, other screens.\n- Read the tests it adds or changes first: they are the author's own\n  statement of the behaviour.\n- An unclear claim is reviewed against its most plausible reading, and the\n  report names that reading.\n- What the change does without claiming it (a drive-by refactor, a changed\n  default, a new dependency) is reviewed like the rest and named.\n\n## 3. Read twice: the shape, then each file in context\n\n1. **The whole diff once**, quickly: which files, what kind of change\n   (feature, fix, refactor, migration, config, dependency), how big. Then\n   choose the order: whatever touches money, auth, stored data,\n   migrations, the public API or concurrency first; generated files\n   (lockfiles, snapshots, generated clients) skimmed for surprises only.\n2. **Each file with its surroundings.** Read the whole function, not the\n   hunk: an early return, a lock or a transaction boundary outside the\n   hunk decides whether it is right. Open the callers\n   (`git grep -n 'refundOrder('`), the callees, the config and migrations\n   it relies on, and its tests.\n3. **The lines that went away.** A deleted `if`, a dropped `await`, a\n   removed `AND tenant_id = $2` is a change too. Read every `-` line.\n4. **What is missing.** A new enum value that a `switch` elsewhere does not\n   handle; a new field absent from the serialiser, the migration, the API\n   docs or `.env.example`; a renamed function still called by its old name\n   (`git grep -n oldName`); a changed signature with callers not updated.\n\nPast a few hundred changed lines, attention drops. Review in slices by\nrisk, and say in the report which parts only got a skim.\n\n## 4. The questions to ask of any change\n\n**Does it do what it claims, for every input?** Walk the inputs, not the\nhappy path:\n\n| Input | What goes wrong |\n|---|---|\n| Empty | `\"\"`, `[]`, `0`, `null`, a missing key, no rows: `items[0]` on nothing, a division by zero, an empty state never shown |\n| One, many | off by one at the ends of a range (`\u003C` against `\u003C=`), the last page, ties in the sort order |\n| Large | 50,000 rows loaded at once, a 10 MB body, a regex run on unbounded text |\n| Invalid | the wrong type, negative, `NaN`, a date in the past, an id that belongs to someone else |\n| Text | Unicode (`'\\u{1F44D}'.length === 2` in JavaScript), combining marks, right to left, case folding |\n| Time | time zones, DST changes, month ends, leap days, a date parsed as UTC here and local there |\n| Money | floats, rounding, the currency's minor unit |\n| Twice at once | two tabs, a double click, a retry after a timeout |\n\n**Errors and cleanup.** When the call in the middle fails, is the\ntransaction rolled back, the file or connection closed, the lock released?\nIs the error swallowed (`catch {}`, `except: pass`, `_ = err`), logged and\nignored, or shown to the user with internals in it?\n\n**State and concurrency.** Read, decide, then write while another request\ndoes the same (a lost update); double submits; a retry of something that\nis not idempotent; events handled out of order; a promise nobody awaits; a\nlock held across an `await`; a cache left stale by the write.\n\n**Security.** Untrusted input reaching a sink: SQL, a shell, a file path,\nHTML, a redirect, a URL the server fetches, a deserialiser. A route without\nauthentication; a record loaded by id without checking that it belongs to\nthe caller or the tenant; a secret in code, a log or a client bundle;\npersonal data in logs. `security-web` and `security-auth` hold the classes.\n\n**Performance.** A query inside a loop, a list without a limit, a whole\ntable in memory, a response that grows with the data, work repeated per\nrender or per request, a new filter without an index, a heavy import on a\npage. Say the size at which it hurts.\n\n**Compatibility.** A field renamed or removed, a status code or meaning\nchanged; a migration that locks a big table or cannot be undone; whether\nthe previous version still runs against the new schema during the deploy,\nand whether the change can be rolled back; a new required environment\nvariable without a default; data already stored, queued or cached in the\nold shape; mobile clients that cannot be forced to update; a feature flag's\ndefault.\n\n**Tests.** Would the new test fail without the change? Read its assertion\nagainst the old code (`git show main:\u003Cpath>`). Does it cover the case the\nchange is about? Is it deterministic (clock, randomness, order, network)?\nDoes it assert an outcome, or only that a mock was called? Were tests\ndeleted, skipped (`.skip`, `xit`, `@Ignore`, `#[ignore]`, `t.Skip`) or\ntheir expected values edited until they passed?\n\n**Readability,** only where it will cost someone: a name that says the\nwrong thing, a second copy of a helper that already exists (grep for it),\na pattern unlike the rest of the codebase for no reason, a comment that is\nno longer true. Formatting is the formatter's job.\n\n## 5. Run something when it settles a question\n\nA defect shown by a failing test or a printed value outranks one argued\nfrom reading. Run the narrowest thing that decides:\n\n```sh\nnpx vitest run src\u002Forders            # or: pytest tests\u002Ftest_orders.py -k refund\ngo test .\u002Forders\u002F... -run TestRefund -race\ncargo test orders:: && cargo clippy -- -D warnings\nnpx tsc --noEmit                     # types across the whole project\npython3 -c 'print(0.1 + 0.2)'        # 0.30000000000000004: why money is not a float\nTZ=America\u002FNew_York node -e 'console.log(new Date(2026, 2, 8, 2, 30).toString())'\n```\n\nThe last line shows what a local time that does not exist (the DST change\non 8 March 2026) turns into.\n\n- Interfaces: `ui_check` on the changed files, and `preview` at 360, 768\n  and 1440px, with `login` and a test account for screens behind a\n  sign-in and `motion: true` when something animates. Judge what they\n  report with `ui-audit` and `motion-audit`, and against `DESIGN.md`.\n- Passing tests are not approval: they prove what they assert. Check that\n  they run the changed lines at all.\n- Report what you ran and what it printed. What you could not run says\n  why (\"not run: dependencies not installed\"), and its finding stays\n  marked as read, not reproduced.\n- Leave nothing running; `preview` starts and stops a dev server itself.\n\n## 6. Rank by consequence\n\n| Severity | Means | For example |\n|---|---|---|\n| Blocker | Must not ship: data lost or corrupted, a security hole, the main path broken, a crash, a migration that cannot be undone safely | `GET \u002Finvoices\u002F:id` returns any customer's invoice; a migration drops a column the running code still reads |\n| Major | Wrong in a plausible case, an error path that will happen, new logic without a test | the last page repeats rows when two share a timestamp; a failed payment leaves the order `pending` for good |\n| Minor | An unlikely edge case, or maintainability that will cost soon | a leap day shown as 1 March; a second copy of an existing helper |\n| Nit | Optional; the author may ignore it | a clearer name |\n\n- Consequence times likelihood; not ease of fix, not the order found.\n- Never raise a nit to look useful. Three nits at most, or none. A real\n  inconsistency is not a nit: it is Minor (section 0).\n- Doubt does not raise severity: mark the finding suspected and say what\n  would confirm it.\n\n## 7. What every finding says\n\n```\n[Major] A refund can be paid out twice on a double click\nWhere: src\u002Forders\u002Frefund.ts:42-58 (refundOrder)\nBreaks: two POST \u002Forders\u002F:id\u002Frefunds in the same second both pass the\n  status check on line 47, and both call the payment provider.\nWhy: the order is read (line 47), then updated (line 55) with no\n  condition, lock or idempotency key.\nFix: update conditionally (WHERE id = $1 AND status = 'paid') and go on\n  only if one row changed; send an idempotency key to the provider.\nEvidence: read; not reproduced (no test database).\n```\n\n- The title is the consequence (\"can be paid out twice\"), not the\n  mechanism (\"race condition in refund.ts\").\n- Where: the path and line or range, and the function.\n- Breaks: the input or sequence that triggers it, concretely.\n- Why: the lines, the output or the test that shows it.\n- Fix: a sentence or a few lines giving the direction, not the author's\n  function rewritten.\n- One cause, one finding: the same missing check in four handlers is one\n  finding with four locations.\n\n## 8. The report\n\n```\nNeeds work: 1 blocker, 2 major, 1 minor.\nCovered: git diff main...HEAD, 14 files (+420 -96); package-lock.json skimmed.\nRan: npx vitest run src\u002Forders (38 passed); npx tsc --noEmit (clean);\n  ui_check src\u002Fapp\u002Fcheckout (1 medium, finding 4).\n1. [Blocker] ...\nNot covered: the end-to-end suite (needs the database).\n```\n\n- The verdict first (`Good`, `Good with fixes`, `Needs work` or `Bad`,\n  section 0) with the counts, then what was covered and run, then the\n  findings by severity, then what was not covered.\n- Nothing wrong: \"Good. No defects found in \u003Cscope>. Ran \u003Ccommands>. Not\n  covered: \u003Cwhat>.\" Never invent a concern to fill the space.\n- Praise only what the author should keep (\"the migration is additive and\n  safe to run before the deploy\").\n- A question is a finding with a question mark: \"Is `limit` meant to be\n  unbounded? At 50,000 rows this loads them all.\"\n- About the code, never the person; no \"just\", \"simply\", \"obviously\".\n- **Delegated:** the caller receives only the text from `DONE:` on, and\n  anything written before it is dropped. So the review goes in the report:\n  `DONE:` with the verdict on its first line and the findings indented\n  under it, `CHANGED: none`, `VERIFIED:` what you ran and what it printed,\n  `NEXT:` the blockers to route first, or `nothing`.\n- Handed the conversation instead, answer the user in the shape above.\n\n## 9. Interface and server work\n\n- Interface: the marks of generated work are defects too: invented\n  figures, dead controls, default gradients, identical card grids,\n  buzzword copy, layouts that break on a phone (`ui-audit`). Every state\n  (empty, loading, error), keyboard and screen reader, both themes when\n  there are two. Run `preview` on every screen: each line under\n  `layout` is a finding (sections on different left edges, overlaps,\n  content still hidden and an empty page below are major; spacing, type\n  scale, line length and uneven rows are minor unless they are\n  everywhere). Visual consistency is reviewed as seriously as code.\n- Server: for each endpoint, validated input, an ownership check, one\n  error format with nothing internal leaked, transactions and race-free\n  writes, paginated lists, no query in a loop, no secret in code or logs\n  (`backend` and its part skills).\n\n## Check it\n\n- Each blocker and major: can you point at the line and name the input?\n  If not, mark it suspected or drop it.\n- Every `-` line read; callers of changed signatures found with `git grep`.\n- New tests: would each fail on the base version?\n- What you ran is in the report with its result; what you did not run\n  says why.\n- `ui_check` and `preview` output read, not only run.\n- The verdict matches the findings: no approval beside a blocker, no\n  `Bad` without saying what should replace it, and no softened word where\n  the finding is verified.\n\n## Avoid\n\nStyle nits first; the author's code rewritten in comments; \"consider\nadding tests\" without naming the case; concerns you cannot tie to a line\nand an input; approving because the tests pass; reading only the hunks;\nseverity by ease of fix; a guess reported as fact; quoting a secret you\nfound (name the file and line, never the value); editing files; leaving a\nserver running.\n","# Reviewing a change\n\nThe generated review opens with style nits, rewrites the author's code in\nits comments, asks to \"consider adding tests\" without naming a case, raises\nconcerns nobody could reproduce to look thorough, misses the missing\nauthorisation check, and approves because the tests pass. A useful review\nknows what the change claims, reads it in context, settles doubts by running\nsomething, and reports each defect as what breaks, for which input, at which\nline, ranked by consequence. When nothing is wrong, it says so. The defects\neach kind of change tends to hide are listed in `review-checklists`.\n\n## 0. Stance: firm, tidy, honest\n\n- **Say what it is.** Bad work is called bad, good work good, each with the\n  reason. No softening (\"you might consider\", \"perhaps\"), no compliment\n  before the bad news, no praise to balance a list of defects. A finding\n  is stated as a fact when it is verified and marked suspected when not.\n- **One verdict, first line, from this scale:**\n  - `Good`: no blocker or major, tidy; ship it.\n  - `Good with fixes`: no blocker, a few majors or minors with clear fixes.\n  - `Needs work`: a blocker, or majors enough that it should not ship.\n  - `Bad`: wrong at the root (the approach, the design, the data model);\n    fixing lines will not save it. Say what should replace it.\n  The verdict follows from the findings, never from effort, size or the\n  author's confidence.\n- **Tidiness is part of quality.** Inconsistency is a finding, ranked\n  Minor (Major when it spreads): names that follow two conventions, the\n  same logic written twice, dead code and commented-out blocks, a pattern\n  the codebase does one way done another, files in the wrong place, magic\n  numbers, a layout whose spacing, edges or card sizes drift. Only pure\n  taste is a nit.\n- **Not harsh for its own sake.** No concern invented to look thorough, no\n  defect raised without the line and the input. When it is good, say so\n  plainly and name what makes it good, so it is kept.\n\n## 1. Get the change\n\n- A branch: `git diff --stat main...HEAD` for its shape,\n  `git diff main...HEAD` for its content (three dots: only what the branch\n  added since it left `main`), `git log --oneline main..HEAD` for its\n  commits. Use the base the brief names (`origin\u002Fmain`, `develop`).\n- Work in progress: `git status --short`, `git diff`, `git diff --staged`.\n- One commit: `git show \u003Csha>`. A pull request, when `gh` is installed and\n  signed in: `gh pr view 123 --json title,body,files` and `gh pr diff 123`.\n- `git diff -w` hides whitespace-only changes; `--name-status` lists added,\n  deleted and renamed files.\n- The old version of a file: `git show main:src\u002Forders\u002Frefund.ts`. A\n  reviewer's `bash` refuses what changes the tree (`checkout`, `stash`,\n  `worktree`, installs, formatters with `--write` or `--fix`), so read the\n  base this way instead of switching to it.\n- No git, or no diff: review the files the brief names as they stand, and\n  say the review covers files, not a change.\n\n## 2. Know what it claims before judging it\n\n- Read the task, the issue, the PR description, the commit messages and\n  the brief. Write down in a sentence or two what the change claims to do\n  and what it must not break: callers, the public API, stored data,\n  config, other screens.\n- Read the tests it adds or changes first: they are the author's own\n  statement of the behaviour.\n- An unclear claim is reviewed against its most plausible reading, and the\n  report names that reading.\n- What the change does without claiming it (a drive-by refactor, a changed\n  default, a new dependency) is reviewed like the rest and named.\n\n## 3. Read twice: the shape, then each file in context\n\n1. **The whole diff once**, quickly: which files, what kind of change\n   (feature, fix, refactor, migration, config, dependency), how big. Then\n   choose the order: whatever touches money, auth, stored data,\n   migrations, the public API or concurrency first; generated files\n   (lockfiles, snapshots, generated clients) skimmed for surprises only.\n2. **Each file with its surroundings.** Read the whole function, not the\n   hunk: an early return, a lock or a transaction boundary outside the\n   hunk decides whether it is right. Open the callers\n   (`git grep -n 'refundOrder('`), the callees, the config and migrations\n   it relies on, and its tests.\n3. **The lines that went away.** A deleted `if`, a dropped `await`, a\n   removed `AND tenant_id = $2` is a change too. Read every `-` line.\n4. **What is missing.** A new enum value that a `switch` elsewhere does not\n   handle; a new field absent from the serialiser, the migration, the API\n   docs or `.env.example`; a renamed function still called by its old name\n   (`git grep -n oldName`); a changed signature with callers not updated.\n\nPast a few hundred changed lines, attention drops. Review in slices by\nrisk, and say in the report which parts only got a skim.\n\n## 4. The questions to ask of any change\n\n**Does it do what it claims, for every input?** Walk the inputs, not the\nhappy path:\n\n| Input | What goes wrong |\n|---|---|\n| Empty | `\"\"`, `[]`, `0`, `null`, a missing key, no rows: `items[0]` on nothing, a division by zero, an empty state never shown |\n| One, many | off by one at the ends of a range (`\u003C` against `\u003C=`), the last page, ties in the sort order |\n| Large | 50,000 rows loaded at once, a 10 MB body, a regex run on unbounded text |\n| Invalid | the wrong type, negative, `NaN`, a date in the past, an id that belongs to someone else |\n| Text | Unicode (`'\\u{1F44D}'.length === 2` in JavaScript), combining marks, right to left, case folding |\n| Time | time zones, DST changes, month ends, leap days, a date parsed as UTC here and local there |\n| Money | floats, rounding, the currency's minor unit |\n| Twice at once | two tabs, a double click, a retry after a timeout |\n\n**Errors and cleanup.** When the call in the middle fails, is the\ntransaction rolled back, the file or connection closed, the lock released?\nIs the error swallowed (`catch {}`, `except: pass`, `_ = err`), logged and\nignored, or shown to the user with internals in it?\n\n**State and concurrency.** Read, decide, then write while another request\ndoes the same (a lost update); double submits; a retry of something that\nis not idempotent; events handled out of order; a promise nobody awaits; a\nlock held across an `await`; a cache left stale by the write.\n\n**Security.** Untrusted input reaching a sink: SQL, a shell, a file path,\nHTML, a redirect, a URL the server fetches, a deserialiser. A route without\nauthentication; a record loaded by id without checking that it belongs to\nthe caller or the tenant; a secret in code, a log or a client bundle;\npersonal data in logs. `security-web` and `security-auth` hold the classes.\n\n**Performance.** A query inside a loop, a list without a limit, a whole\ntable in memory, a response that grows with the data, work repeated per\nrender or per request, a new filter without an index, a heavy import on a\npage. Say the size at which it hurts.\n\n**Compatibility.** A field renamed or removed, a status code or meaning\nchanged; a migration that locks a big table or cannot be undone; whether\nthe previous version still runs against the new schema during the deploy,\nand whether the change can be rolled back; a new required environment\nvariable without a default; data already stored, queued or cached in the\nold shape; mobile clients that cannot be forced to update; a feature flag's\ndefault.\n\n**Tests.** Would the new test fail without the change? Read its assertion\nagainst the old code (`git show main:\u003Cpath>`). Does it cover the case the\nchange is about? Is it deterministic (clock, randomness, order, network)?\nDoes it assert an outcome, or only that a mock was called? Were tests\ndeleted, skipped (`.skip`, `xit`, `@Ignore`, `#[ignore]`, `t.Skip`) or\ntheir expected values edited until they passed?\n\n**Readability,** only where it will cost someone: a name that says the\nwrong thing, a second copy of a helper that already exists (grep for it),\na pattern unlike the rest of the codebase for no reason, a comment that is\nno longer true. Formatting is the formatter's job.\n\n## 5. Run something when it settles a question\n\nA defect shown by a failing test or a printed value outranks one argued\nfrom reading. Run the narrowest thing that decides:\n\n```sh\nnpx vitest run src\u002Forders            # or: pytest tests\u002Ftest_orders.py -k refund\ngo test .\u002Forders\u002F... -run TestRefund -race\ncargo test orders:: && cargo clippy -- -D warnings\nnpx tsc --noEmit                     # types across the whole project\npython3 -c 'print(0.1 + 0.2)'        # 0.30000000000000004: why money is not a float\nTZ=America\u002FNew_York node -e 'console.log(new Date(2026, 2, 8, 2, 30).toString())'\n```\n\nThe last line shows what a local time that does not exist (the DST change\non 8 March 2026) turns into.\n\n- Interfaces: `ui_check` on the changed files, and `preview` at 360, 768\n  and 1440px, with `login` and a test account for screens behind a\n  sign-in and `motion: true` when something animates. Judge what they\n  report with `ui-audit` and `motion-audit`, and against `DESIGN.md`.\n- Passing tests are not approval: they prove what they assert. Check that\n  they run the changed lines at all.\n- Report what you ran and what it printed. What you could not run says\n  why (\"not run: dependencies not installed\"), and its finding stays\n  marked as read, not reproduced.\n- Leave nothing running; `preview` starts and stops a dev server itself.\n\n## 6. Rank by consequence\n\n| Severity | Means | For example |\n|---|---|---|\n| Blocker | Must not ship: data lost or corrupted, a security hole, the main path broken, a crash, a migration that cannot be undone safely | `GET \u002Finvoices\u002F:id` returns any customer's invoice; a migration drops a column the running code still reads |\n| Major | Wrong in a plausible case, an error path that will happen, new logic without a test | the last page repeats rows when two share a timestamp; a failed payment leaves the order `pending` for good |\n| Minor | An unlikely edge case, or maintainability that will cost soon | a leap day shown as 1 March; a second copy of an existing helper |\n| Nit | Optional; the author may ignore it | a clearer name |\n\n- Consequence times likelihood; not ease of fix, not the order found.\n- Never raise a nit to look useful. Three nits at most, or none. A real\n  inconsistency is not a nit: it is Minor (section 0).\n- Doubt does not raise severity: mark the finding suspected and say what\n  would confirm it.\n\n## 7. What every finding says\n\n```\n[Major] A refund can be paid out twice on a double click\nWhere: src\u002Forders\u002Frefund.ts:42-58 (refundOrder)\nBreaks: two POST \u002Forders\u002F:id\u002Frefunds in the same second both pass the\n  status check on line 47, and both call the payment provider.\nWhy: the order is read (line 47), then updated (line 55) with no\n  condition, lock or idempotency key.\nFix: update conditionally (WHERE id = $1 AND status = 'paid') and go on\n  only if one row changed; send an idempotency key to the provider.\nEvidence: read; not reproduced (no test database).\n```\n\n- The title is the consequence (\"can be paid out twice\"), not the\n  mechanism (\"race condition in refund.ts\").\n- Where: the path and line or range, and the function.\n- Breaks: the input or sequence that triggers it, concretely.\n- Why: the lines, the output or the test that shows it.\n- Fix: a sentence or a few lines giving the direction, not the author's\n  function rewritten.\n- One cause, one finding: the same missing check in four handlers is one\n  finding with four locations.\n\n## 8. The report\n\n```\nNeeds work: 1 blocker, 2 major, 1 minor.\nCovered: git diff main...HEAD, 14 files (+420 -96); package-lock.json skimmed.\nRan: npx vitest run src\u002Forders (38 passed); npx tsc --noEmit (clean);\n  ui_check src\u002Fapp\u002Fcheckout (1 medium, finding 4).\n1. [Blocker] ...\nNot covered: the end-to-end suite (needs the database).\n```\n\n- The verdict first (`Good`, `Good with fixes`, `Needs work` or `Bad`,\n  section 0) with the counts, then what was covered and run, then the\n  findings by severity, then what was not covered.\n- Nothing wrong: \"Good. No defects found in \u003Cscope>. Ran \u003Ccommands>. Not\n  covered: \u003Cwhat>.\" Never invent a concern to fill the space.\n- Praise only what the author should keep (\"the migration is additive and\n  safe to run before the deploy\").\n- A question is a finding with a question mark: \"Is `limit` meant to be\n  unbounded? At 50,000 rows this loads them all.\"\n- About the code, never the person; no \"just\", \"simply\", \"obviously\".\n- **Delegated:** the caller receives only the text from `DONE:` on, and\n  anything written before it is dropped. So the review goes in the report:\n  `DONE:` with the verdict on its first line and the findings indented\n  under it, `CHANGED: none`, `VERIFIED:` what you ran and what it printed,\n  `NEXT:` the blockers to route first, or `nothing`.\n- Handed the conversation instead, answer the user in the shape above.\n\n## 9. Interface and server work\n\n- Interface: the marks of generated work are defects too: invented\n  figures, dead controls, default gradients, identical card grids,\n  buzzword copy, layouts that break on a phone (`ui-audit`). Every state\n  (empty, loading, error), keyboard and screen reader, both themes when\n  there are two. Run `preview` on every screen: each line under\n  `layout` is a finding (sections on different left edges, overlaps,\n  content still hidden and an empty page below are major; spacing, type\n  scale, line length and uneven rows are minor unless they are\n  everywhere). Visual consistency is reviewed as seriously as code.\n- Server: for each endpoint, validated input, an ownership check, one\n  error format with nothing internal leaked, transactions and race-free\n  writes, paginated lists, no query in a loop, no secret in code or logs\n  (`backend` and its part skills).\n\n## Check it\n\n- Each blocker and major: can you point at the line and name the input?\n  If not, mark it suspected or drop it.\n- Every `-` line read; callers of changed signatures found with `git grep`.\n- New tests: would each fail on the base version?\n- What you ran is in the report with its result; what you did not run\n  says why.\n- `ui_check` and `preview` output read, not only run.\n- The verdict matches the findings: no approval beside a blocker, no\n  `Bad` without saying what should replace it, and no softened word where\n  the finding is verified.\n\n## Avoid\n\nStyle nits first; the author's code rewritten in comments; \"consider\nadding tests\" without naming the case; concerns you cannot tie to a line\nand an input; approving because the tests pass; reading only the hunks;\nseverity by ease of fix; a guess reported as fact; quoting a secret you\nfound (name the file and line, never the value); editing files; leaving a\nserver running.\n",{"name":5,"description":7},"main","38293fe1b096e6bf3646c7344c38786ed688f464","crates\u002Fenowx-core\u002Fskills\u002Freview",21,"https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli","https:\u002F\u002Fenowx.ai","https:\u002F\u002Fgithub.com\u002Fenowdev","Pretending to be a Developer","2026-10-06 02:05:35",{"source":8,"skillName":5,"commands":60,"prompt":70,"zipAvailable":71},[61,64,67],{"tool":62,"command":63},"npx","npx skills add enowdev\u002Fenowxcli --skill review",{"tool":65,"command":66},"bunx","bunx skills add enowdev\u002Fenowxcli --skill review",{"tool":68,"command":69},"pnpm","pnpm dlx skills add enowdev\u002Fenowxcli --skill review","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fcrates\u002Fenowx-core\u002Fskills\u002Freview\u002FSKILL.md",true,[],[74,87,110,126,150,172],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":83,"publishedAt":45},"01M6D2HQYSQD9N7MTNDT4A7CBM","demo-skill","Project-scope demo skill for tests.","https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fworkspace\u002F.agents\u002Fskills\u002Fdemo-skill\u002FSKILL.md",[80],{"categoryNo":81,"categoryName":82,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发",[84,85,29,86,36],"demo skill","demo","project",{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":99,"publishedAt":45},"01M6D2HM0GCPM0TM2HPG9HHR2R","writing","Writing words people read: the specific thing instead of claims, words to drop, sentences, interface copy (buttons, labels, errors, empty states, confirmations), page copy, notifications and emails, alt text and link text, numbers and dates, words that translate well, documentation and voice. Read before writing a page's copy, an interface's text or a document.","https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fcrates\u002Fenowx-core\u002Fskills\u002Fwriting\u002FSKILL.md",[93,96],{"categoryNo":94,"categoryName":95,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000018","写作与文案",{"categoryNo":97,"categoryName":98,"taxonomyType":26,"taxonomyTypeDesc":27},"01JBSEEDCAT000000000000036","内容创作者",[89,100,101,102,103,104,36,105,106,107,108,109],"text","emails","empty","drop","document","page","voice","notifications","documentation","translate",{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":119,"publishedAt":45},"01M6D2HG07YS49NM196Q0R3AZ8","ui","Designing or restyling an interface: direction, layout, type, colour, icons, components, states, responsive behaviour. Read before building a page, a screen or a set of components.","https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fcrates\u002Fenowx-core\u002Fskills\u002Fui\u002FSKILL.md",[116],{"categoryNo":117,"categoryName":118,"taxonomyType":26,"taxonomyTypeDesc":27},"01JBSEEDCAT000000000000032","设计师",[112,120,121,122,123,105,124,36,125],"icons","components","SET","responsive","layout","before building",{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":136,"publishedAt":45},"01M6D2HB59HZHWG1RYZDV4SJ91","ui-themes","Light and dark themes, and colour that holds in both: tokens with a value per theme, and what each kind of content needs to stay visible (icons, SVG drawings and line art, logos, photos, screenshots, charts, code, maps, borders, shadows, focus, form controls), switching without a flash, and checking both. Read before building a second theme or a theme toggle, and before any drawing, logo or chart on a page that has two themes.","https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fcrates\u002Fenowx-core\u002Fskills\u002Fui-themes\u002FSKILL.md",[132,135],{"categoryNo":133,"categoryName":134,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000015","视觉设计",{"categoryNo":24,"categoryName":25,"taxonomyType":26,"taxonomyTypeDesc":27},[112,137,138,139,140,141,142,143,144,36,125,145,105,41,146,147,120,148,149],"ui themes","switching","photos","tokens","drawing","focus","maps","Art","flash","Charts","content","screenshots","logo",{"skillNo":151,"name":152,"nameZh":6,"description":153,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":154,"categories":155,"keywords":159,"publishedAt":45},"01M6D2H5R5KRAE524C8QX0T7Q0","ui-structure","Structure before styling: the blueprint written before any interface code (the screen's job, the regions its kind of page needs, their order and why, the layout skeleton in numbers, the components and their states), the anatomy and order of a homepage, a dashboard, a list, a detail page, settings, a form, sign-in, pricing, docs, an article and a checkout, and how to turn the blueprint into code (tokens, layout primitives, components, sections, page). Read first, before building or rebuilding any page or screen.","https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fcrates\u002Fenowx-core\u002Fskills\u002Fui-structure\u002FSKILL.md",[156,157,158],{"categoryNo":94,"categoryName":95,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":24,"categoryName":25,"taxonomyType":26,"taxonomyTypeDesc":27},{"categoryNo":97,"categoryName":98,"taxonomyType":26,"taxonomyTypeDesc":27},[160,112,161,121,162,163,41,164,165,166,124,140,167,168,169,36,125,105,170,171],"structure","ui structure","pricing","dashboard","Blueprint","article","anatomy","styling","primitives","list","why","how",{"skillNo":173,"name":174,"nameZh":6,"description":175,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":176,"categories":177,"keywords":185,"publishedAt":45},"01M6D2H0ZZBJG77MBGPZHA6MWD","ui-stack-vue","Building interfaces in Vue 3 and Nuxt: project layout, script setup with typed defineProps, defineEmits and defineModel, attribute fallthrough, slots and scoped slots, template refs, ref, reactive and computed, watch versus watchEffect, composables and VueUse, provide and inject, Pinia, keyed v-for, transitions, Nuxt 4 (app directory, pages, layouts, useFetch and useAsyncData keys, $fetch in handlers, server routes, runtime config, useSeoMeta, NuxtImg, middleware), VeeValidate forms, Reka UI and Nuxt UI, testing, vue-tsc, and the traps. Read when the project uses Vue or Nuxt.","https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fcrates\u002Fenowx-core\u002Fskills\u002Fui-stack-vue\u002FSKILL.md",[178,181,184],{"categoryNo":179,"categoryName":180,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000008","测试与质量",{"categoryNo":182,"categoryName":183,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000009","前端开发",{"categoryNo":117,"categoryName":118,"taxonomyType":26,"taxonomyTypeDesc":27},[112,186,187,188,189,190,191,192,124,86,193,194,36,195,196,197,198,199,200,201],"vue","stack","ui stack vue","forms","pages","watch","runtime","transitions","fetch","pinia","nuxt","template","server","config","directory","testing"]