[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75Y19DXQ8T4DN7CRJMREWP5":3,"skill-same:01M75Y19DXQ8T4DN7CRJMREWP5":46},{"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":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M75Y19DXQ8T4DN7CRJMREWP5","review-report",null,"Report template, finding card and diagram guide for the review-companion skill, which loads this when it writes its report. Not a review on its own.","colette-club\u002Fcolette-marketplace","colette-club","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F59931915?v=4","01M75Y06SHY1G6DYGTBPZP6HSX","Colette Club","01M75Y06T72MFPEY3KY0FZWD0R",0,"MIT","https:\u002F\u002Fgithub.com\u002Fcolette-club\u002Fcolette-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fengineering-review\u002Fskills\u002Freview-report\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: review-report\ndescription: Report template, finding card and diagram guide for the review-companion skill, which loads this when it writes its report. Not a review on its own.\n---\n\n# Review report\n\nUsed by `review-companion`. It fixes the shape of the report, the finding card and the diagrams, and what follows the report: the PR comment, the description by role and the chat summary.\n\n## Report template\n\nThe report is one Markdown file at `.reviews\u002F\u003CYYYY-MM-DD>-\u003Cbranch-or-PR>.md`, written at the end of every review. The file name is flat: in the branch or PR part, replace `\u002F` and every character other than letters, digits, `.`, `_` and `-` with `-` (`feature\u002Farchive-wish` → `.reviews\u002F2026-09-30-feature-archive-wish.md`). Never overwrite or edit an earlier report: when a file with that name already exists — an earlier review the same day, or a `report_path` already in use — add `-2`, `-3`, … before `.md` and use the first name that is free. Use these headings exactly and in this order; a section with nothing to say says so in one line (\"No query changes.\") rather than disappearing. Diagrams follow the diagram guide below.\n\nWrite for a reader who has not seen the code: plain words, no undefined jargon, present tense. Every finding card must make sense on its own, pasted into a PR comment.\n\nEvery SQL block in the report starts with a line that says what it is: `-- engine: \u003Cengine>` for a query someone may run (it follows the read-only rules in `review-passes`, pass 7), or `-- migration` for a recommended schema change, shown for review and never run by you.\n\n````markdown\n# Review — \u003Cbranch or PR title>\n\n| | |\n|---|---|\n| Target | `\u003Ctarget>` compared with `\u003Cbase>` at `\u003Cshort SHA>` |\n| Date | \u003CYYYY-MM-DD> |\n| Role of the person asked | author \u002F reviewer \u002F not asked: reviewer assumed |\n| Stack and skills applied | \u003Ce.g. Elixir, Phoenix, Oban — engineering-principles, elixir-phoenix-conventions; Oban: no skill> |\n| Commands run | \u003Ceach command run and its result, or \"none\"> |\n| Previous report | \u003C`.reviews\u002F\u003Cearlier report>.md`: n new, n still open, n fixed · or \"none found\" · or \"comparison declined\"> |\n| Security layer | \u003Cn kept (F-NN, …), n dropped — `security-audit`, complete or partial · or \"not run: \u003Cwhy>\" · or \"not applicable: no code files\"> |\n\n> This report supports a human review. It does not approve or reject anything; the decision to merge belongs to the reviewer.\n\n## 1. Summary\n\n\u003C3–5 sentences: what the change does, how it fits, the overall picture of the findings.>\n\n| Severity | Count |\n|---|---|\n| 🔴 | n |\n| 🟠 | n |\n| 🟡 | n |\n| ❓ | n |\n\n⚡ \u003Cn> side effects: \u003Cn> new, \u003Cn> changed, \u003Cn> removed, \u003Cn> irreversible, \u003Cn> leave the app.\n\n**Look first:** \u003Cthe three places a human should look at first, each linked to its finding.>\n\n**Definition of done** — the findings against each of its parts; this is not a verdict.\n\n| Criterion | Findings |\n|---|---|\n| Implemented | \u003CF-NN, … or \"none found\"> |\n| Tested | \u003C…> |\n| Properly designed | \u003C…> |\n| Follows the conventions | \u003C…> |\n| Deployable without hurting users | \u003C…> |\n| Consumers stated | \u003CF-NN, … or \"none found\"> — \u003Cthe frontends and apps that must change, or \"none\"> |\n\n\u003CEach finding goes under the one part it puts at risk: Implemented — a bug, or something the intent needs that is missing; Tested — pass 3; Properly designed — design, boundaries, concurrency and data access; Follows the conventions — conventions, stack skills and documentation; Deployable without hurting users — EP-I5, migration safety, flags and rollback; Consumers stated — EP-E5. A part that was not checked says why (\"tests not run\").>\n\n## 2. ⚡ Side effects set in motion\n\n\u003CEffect graph (see \"Diagram guide\" below, \"Side effects\"), then one row per effect.>\n\n| Effect | Kind | Fires when | Status | Irreversible | User-visible | Tested | Documented | Intended |\n|---|---|---|---|---|---|---|---|---|\n\n## 3. The change at a glance\n\n**Intent** (\u003Cconfirmed by the author | confirmed by the reviewer | inferred, not confirmed>): \u003Cone paragraph>.\n\n\u003CChange map; the main new flow as a sequence diagram; before\u002Fafter where behaviour changed; ER or state diagrams where schemas or lifecycles changed.>\n\n**Skills applied**\n\n| Skill | Covers | Applied to | Findings |\n|---|---|---|---|\n| engineering-principles | every language | \u003Call changed files> | \u003CF-NN, …> |\n| \u003Cskill> | \u003Clanguage, framework, library or frontend work> | \u003Cthe files checked against it> | \u003CF-NN, … or \"none\"> |\n\n\u003COne line for each part of the stack with no skill, and each skill that could not be loaded: \"Oban — no skill available; engineering-principles only.\">\n\n## 4. Findings\n\n\u003CCards grouped by pass, in pass order, then the security layer's; inside a group, most severe first. The format is below.>\n\n## 5. Tests\n\n\u003CBehaviour → test matrix; tests that would still pass if the behaviour broke; test smells; what was run and its result.>\n\n| Behaviour | Test | Would fail if broken? |\n|---|---|---|\n\n## 6. Documentation\n\n\u003CDocs impact map; missing pages; each stale passage quoted next to the new behaviour, with a suggested rewrite.>\n\n**PR description** — \u003Cthe table below; \"no PR description yet\" when there is no PR (no GitHub remote, a branch without a PR, a commit range) and nothing was pasted; or \"not checked: \u003Cwhy>\" when a PR exists but could not be read>\n\n| Part | Status | Findings |\n|---|---|---|\n| Title | \u003Cpresent · missing · wrong place> | \u003CF-NN, … or \"none\"> |\n| What it does | \u003Cpresent · missing> | \u003C…> |\n| Before deploying | \u003Cpresent · missing items · not needed> | \u003C…> |\n| How it works | \u003Cpresent · missing · not needed> | \u003C…> |\n| Behind the scenes | \u003Cpresent · missing items> | \u003C…> |\n| Screenshots and videos | \u003Cpresent · missing · not needed> | \u003C…> |\n| Cadre line | \u003Cpresent · missing · not needed> | \u003C…> |\n| Not essential | \u003Cnone · n to cut> | \u003C…> |\n\n## 7. Data access & performance\n\n\u003CQuery → index table, production numbers with the date they were collected; or \"No query or schema changes.\">\n\n| Query (where) | Table | Filters · joins · sort | Index that serves it | Rows (prod) | Calls\u002Fday | Status |\n|---|---|---|---|---|---|---|\n\n## 8. Locks and deadlocks\n\n\u003COne row per path the change adds or touches that holds a lock or waits while holding one, and per path elsewhere that takes the same locks; or the no-lock line.>\n\n| Path | Locks and waits, in order | Same locks taken elsewhere | Verdict |\n|---|---|---|---|\n| \u003Cpath> | \u003Ceach lock and wait, in the order taken> | \u003Cpath: the same locks, or \"none\"> | \u003CCan't deadlock: \u003Cwhy> · F-NN> |\n\n\u003CA hot row (EP-H13) appears with its finding. A deadlock that existed before the change gets its finding too, marked `existed before this change`.>\n\nA change that takes no lock says: The change takes no lock and waits on nothing while holding one.\n\n## 9. Risk and attention map\n\n\u003CCriticality, change frequency (6 months) and blast radius per touched file; quadrant chart.>\n\nThe risk shown here comes from the code only. Weigh who wrote the change, and how familiar they are with this area, yourself.\n\n## 10. Conversation\n\n- **Worked out without asking:** \u003Ctarget and base, role, exclusions, where the intent came from: what a person would otherwise have been asked>\n- **Answers given:** \u003Canswers given in advance, or \"none\">\n- **Open questions for the author:** \u003Ceach question with the findings that wait on it: the intent, necessity, context outside the repository, consumers, how the code runs, side effects, where docs live>\n- **Not run:** \u003Ceach command left out, exactly as it would be run, and what it would add, or \"none\": tests, the repository's checks, `EXPLAIN`, `git fetch`>\n- **Memory:** \u003Centries that applied, each with \"Is this still true?\", overdue ones flagged; entries proposed, stored only when a person asks; or \"none\">\n- **Points to discuss:** \u003C…>\n- **Where the intent had to be guessed:** \u003Cfile:line — why>\n\n## 11. Recommended plan\n\n- [ ] Before merge: \u003CF-NN — one line>\n- [ ] Can wait: \u003CF-NN — one line>\n- [ ] Needs a decision: \u003CF-NN — one line>\n\n## 12. Limits and decision\n\n- **Not checked:** \u003Ctests not run, no production statistics, the security layer, when it did not run, the PR description (not read, or no PR yet), context the companion could not know, …>\n- **Assumptions:** \u003Ceach conditional finding and the fact it depends on>\n- **Before you decide:** \u003Ca short checklist for the human: open ❓ items, conditional findings, places they could not explain>\n\nThe decision to merge is yours.\n````\n\n## Finding card\n\nEvery finding uses this card — 🟡, ❓ and documentation findings too. It has these parts, always in this order: the **Pass \u002F Rules \u002F Where \u002F Status** line, **What.**, **Why it matters.**, **Evidence.**, **Recommendation.**, **Effort:**. None may be dropped, even when another part seems to say it already:\n\n- Only findings get an `### F-NN` heading. A note that is not a finding goes in the prose of its section or in the Conversation section.\n- **The title** states the consequence, not the rule: \"Two requests can both spend the last invite\", not \"EP-H2 violation\".\n- **Why it matters.** is concrete: who does what, with real values, and what happens. \"A referrer with one invite left double-clicks; both requests read 1; two referrals exist.\" For a minor finding it is one short sentence (\"A malformed request gets a 500 instead of a 400.\").\n- **Evidence.** quotes the code or the doc passage involved. When there is nothing to quote, say what is absent in one line: \"none — no test file touches `archive_wish\u002F2`\".\n- **A finding about the PR's title or description:** its **Where:** is `PR title` or `PR description`; **Evidence.** quotes the passage involved, or says what is absent; the **Sketch** is the rewritten passage; **Test that proves the fix** is \"none — a description finding\"; **Doc to update** is \"the PR description\".\n\n````markdown\n### F-NN \u003C🔴|🟠|🟡|❓>[ ⚡] \u003Cone sentence stating the consequence, not the rule>\n**Pass:** \u003Cpass> · **Rules:** `\u003CEP-XN>`[, `\u003Clanguage #N>`] · **Where:** `\u003Cfile:line>` · **Status:** confirmed | conditional on \u003Cfact>[ · existed before this change]\n\n**What.** \u003CWhat the code does, in plain words.>\n\n**Why it matters.** \u003CA concrete failure scenario with real values: who does what, what happens, what it costs.>\n\n**Evidence.**\n```\u003Clanguage>\n\u003Cat most 10 lines of the code involved>\n```\n\n\u003CDiagram, when a picture explains it faster than a sentence — see the diagram guide.>\n\n**Recommendation.**\n1. \u003CStep to fix it.>\n2. \u003C…>\n- **Sketch:** a before\u002Fafter in the repository's language.\n- **Test that proves the fix:** \u003Cname and what it asserts>.\n- **Doc to update:** \u003Cpage and section, or \"none\">.\n\n**Effort:** small | medium | large.\n````\n\nSeverity, ⚡ and status mean what \"Writing a finding\" in `review-passes` says.\n\nA ❓ card keeps every field too: **Why it matters** says what goes wrong if the answer is the unwelcome one; **Recommendation** says what to do for each possible answer; **Effort** is the effort of the likely fix.\n\n## Before you write\n\nCheck the whole report once more before writing it:\n\n- the file name is free: no earlier report is overwritten;\n- the header has all seven rows and the disclaimer line;\n- section 1 has the Definition of done table with its six rows;\n- section 6 has the PR description table, or says \"no PR description yet\" or \"not checked\" and why;\n- the Skills applied table lists every skill loaded, the files it was checked against and its findings;\n- section 8 has the lock table or the no-lock line;\n- section 10 has its **Worked out without asking:** and **Not run:** lines;\n- the twelve sections are there, in order, and section 12 ends with \"The decision to merge is yours.\";\n- every card has every part, in order;\n- every diagram follows the rules below;\n- every SQL block starts with `-- engine: \u003Cengine>` or `-- migration`;\n- no secret value appears anywhere, not even in part.\n\n## The PR comment\n\nWhen the change has a pull request on GitHub, the report belongs on that PR as a comment, so the author and every reviewer read the same findings where the change is discussed. A post is public, so a person approves it: in advance, or by answering the one question at the end.\n\n- **When.** A remote is on `github.com` and the change has a PR. A commit range, a branch without a PR, or another host: nothing is posted, and the report says so.\n- **Approval.** `writes.pr_comment: approve` posts it. `writes.pr_comment: decline` does not, and drops the question. With neither, the last line of the final message is `Post this report on PR #\u003Cn> as a comment?`. The review has finished and the report is written, so nothing waits on the answer: with nobody there, the question goes unanswered and nothing is posted. Post only on a clear yes.\n- **What and how.** After writing the report, post that file unchanged as a plain comment: `gh pr comment \u003Cn> --body-file \u003Creport path>`. Never as a review: no `gh pr review`, nothing that approves or requests changes.\n- **Size.** GitHub refuses a comment longer than 65,536 characters. When the report is longer, cut it at its `## ` section headings into as few parts as fit, start each part with `Review — part \u003Ci> of \u003Cn>`, write each part to a temporary file outside the repository, and post the parts in order, one `gh pr comment` per part. The approval to post covers these temporary files.\n- **When it fails.** If `gh` is missing, not logged in, or the post fails, put the command and its error in the chat summary; the report stays where it was written. Never post another way (`gh api`, `curl`, a browser).\n\n## The description, by role\n\nThe description's EP-F5 findings are acted on by role. What would be posted or applied always appears in the report's section 6, and is posted or applied only when approved in advance.\n\n- **When.** Only when the title and description were read or pasted and the passes found a gap in them: an EP-F5 finding, or a description that leaves out the consumers line (EP-E5), the deploy order (EP-I5), the doc page checked (elixir #59) or a loosened check's reason (EP-I3) — except for the author with no PR yet, who always gets a draft. When the description has no such gap, nothing is offered: say so in one line.\n- **Reviewer: a comment for the author.** Section 6 holds the comment in full, and `writes.description_comment: approve` posts it as its own comment, separately from the report comment, with `gh pr comment \u003Cn> --body-file \u003Cfile outside the repository>`. Its form:\n\n  ```markdown\n  **PR description** — what would make this PR easier to review (EP-F5).\n\n  **Required**\n  - F-NN: \u003Cwhat to add or fix, in one line>\n\n  **Suggested**\n  - F-NN: \u003Cwhat to cut or clarify, in one line>\n  ```\n\n  **Required** holds the 🟠 ones of those gaps, **Suggested** the 🟡 ones; an empty list is left out. Title findings go in the lists too. It is a comment, never a review. With a pasted description and no PR, there is nothing to post to: the findings stay in the report.\n- **Author: a redraft.** Section 6 holds the new title and description in full, written as \"Rewriting a description\" in `pr-description` says, and `writes.pr_update: approve` applies them.\n  - Applying reads the PR again first. When its title or body differs from what was read or pasted, or the read fails, edit nothing and say why in the chat summary. Line endings and trailing whitespace are not differences.\n  - Applying runs `gh pr view \u003Cn> --json title,body`, then `gh pr edit \u003Cn> --title '\u003Ctitle>' --body-file \u003Cfile outside the repository>`. The title goes in single quotes, each `'` in it written as `'\\''`, so the shell never reads it: a title can hold backticks and `$`, and it comes from the PR's own text.\n  - When the description could not be read, no redraft is offered: replacing a description you have not seen would drop what it holds.\n- **Author, no PR yet.** Section 6 holds a draft title and description, written as \"Rewriting a description\" says from the code and the answers given — or rewriting the pasted description when there is one. `writes.description_file: approve` writes it next to the report: the report's file name with `-pr-description` before `.md` (`.reviews\u002F2026-10-21-feature-pr-description.md`), under the report's file-name rules: flat, never overwritten (`-2`, `-3`, …). It is offered even with no description findings, since there is no description yet.\n- **Files.** The comment and the redraft are written to temporary files outside the repository; the approval covers them.\n- **When it fails.** As for the PR comment: the command and its error go in the chat summary. Never post another way (`gh api`, `curl`, a browser).\n\n## Chat summary\n\nAfter writing the report, post a short summary in the chat. The report holds every finding, the summary only the three that matter most. In this order:\n\n1. counts by severity;\n2. the ⚡ line: the counts, then each effect by name and status (\"⚡ 2 side effects: `archived_at` write (new), `WishArchived` event (new)\");\n3. the definition of done in one line: each part with findings and their IDs, and the frontends and apps that must change;\n4. the locks and deadlocks line: the paths compared and the deadlock findings (\"Locks and deadlocks: 3 paths compared — F-02 can deadlock; 2 can't\"), or the no-lock line;\n5. the security layer line: `Security layer: \u003Cn> kept (F-NN, …), \u003Cn> dropped`, `Security layer: not run — \u003Cwhy>`, or `Security layer: not applicable — no code files`; then the tests line: what ran and its result, or why nothing ran;\n6. the three most important findings, one line each;\n7. the three most important open questions;\n8. the report path, and — when the change has a GitHub PR — the comment's link, the exact command to post it when it was not posted, or the `gh` error; then what happened to the description: the description comment's link, \"PR title and description updated\", the draft's path, or why not (no approval given in advance, nothing to change, the PR changed or could not be re-read, or the `gh` error); then the commands left under **Not run**, in one line;\n9. \"The decision to merge is yours.\"\n10. when the change has a GitHub PR and `writes.pr_comment` was left out, the question `Post this report on PR #\u003Cn> as a comment?`.\n\n## Diagram guide\n\nDiagrams are mermaid code blocks inside the report. They render on GitHub, in most editors and in the Claude app. Draw one when a picture explains something faster than a sentence; skip it when one sentence is enough.\n\n### Which diagram for which finding\n\n| Finding about | Diagram |\n|---|---|\n| Race, lost update, duplicate processing, async or cancellation | `sequenceDiagram`: two actors side by side, the failure, then the fixed version |\n| Transaction boundaries, effects before or after commit | `sequenceDiagram` with a `rect` around what is inside the transaction |\n| Deadlock, or a wait the database cannot see | `sequenceDiagram`: the two paths side by side, each holding one lock and waiting for the other's |\n| Side effects set in motion | `flowchart LR` effect graph with the styles below |\n| Missing or untested branch, error path | `flowchart` with each branch marked ✅ or ❌ |\n| Layering, boundary or Demeter violation, coupling | Module `flowchart`, offending edge in red |\n| Over-complex solution (EP-D12) | Before\u002Fafter `flowchart`: what was built, and the minimal version |\n| Schema or data-model change | `erDiagram`, before and after |\n| Lifecycle or status field | `stateDiagram-v2`, the missing or illegal transition highlighted |\n| N+1, blocking migration | `sequenceDiagram`: 1 + N round trips next to one batched query; writes waiting on an index build |\n| Refactoring suggestion | Before\u002Fafter `flowchart` or `classDiagram` |\n| Risk map | `quadrantChart` |\n| Docs impact | `flowchart` from code to doc pages, each page updated, stale or missing |\n\n### Rules\n\n- **Only these diagram types:** `flowchart`, `sequenceDiagram`, `erDiagram`, `stateDiagram-v2`, `classDiagram`, `quadrantChart`. Others may not render everywhere.\n- One idea per diagram, at most about 12 nodes.\n- Real names from the code (`create_referral\u002F2`, `listings`), never placeholders.\n- Put a one-line caption under each diagram saying what to look at, and a legend whenever colours carry meaning.\n- Quote every node label that contains spaces, punctuation, parentheses, slashes or emoji: `A[\"create_referral\u002F2\"]`.\n- Keep `classDef` names and colours below, so every report reads the same.\n- Node ids are single words without spaces (`A`, `create`); never use `end` as a node id.\n- `sequenceDiagram` messages and notes cannot contain `;` or `#`; say it in words.\n- `quadrantChart` point names are quoted and their coordinates are between 0 and 1.\n- Keep a mermaid block free of HTML and of Markdown formatting (`**`, backticks).\n\n### Styles\n\n```mermaid\nflowchart LR\n  A[\"added\"]:::new --> B[\"changed\"]:::changed --> C[\"removed\"]:::removed\n  D[\u002F\"external call\"\u002F]:::external --> E[\u002F\"message to a person\"\u002F]:::people --> F[\u002F\"leaves the app\"\u002F]:::boundary\n  classDef new fill:#bbf7d0,stroke:#15803d\n  classDef changed fill:#fde68a,stroke:#b45309\n  classDef removed fill:#e5e7eb,stroke:#6b7280,stroke-dasharray:4 3\n  classDef external fill:#fecaca,stroke:#b91c1c\n  classDef people fill:#e9d5ff,stroke:#7e22ce\n  classDef boundary fill:#ffffff,stroke:#b91c1c,stroke-dasharray:4 3\n```\n\nLegend: green added · amber changed · grey dashed removed · red external call · purple message to a person · red dashed leaves the app.\n\n### Patterns\n\n**Race (two actors, then the fix).**\n\n```mermaid\nsequenceDiagram\n  participant A as Request A\n  participant B as Request B\n  participant DB\n  A->>DB: read invites_remaining → 1\n  B->>DB: read invites_remaining → 1\n  A->>DB: check ≥ 1 ✓ · write 0\n  B->>DB: check ≥ 1 ✓ · write 0\n  Note over DB: 2 referrals, 1 invite spent\n```\n\n**Transaction boundary.**\n\n```mermaid\nsequenceDiagram\n  participant S as create_referral\u002F2\n  participant DB\n  participant M as Mailer\n  rect rgb(254, 243, 199)\n    Note over S,DB: inside the transaction\n    S->>DB: insert referral\n    S->>M: send invite email\n    S->>DB: update invites_remaining\n  end\n  Note over M: the email is gone even if the commit fails\n```\n\n**Effect graph.**\n\n```mermaid\nflowchart LR\n  C[\"create_referral\u002F2\"]:::changed --> E([\"event ReferralCreated\"]):::removed\n  E -.-> H[\"NotifyReferrer\"]:::removed\n  C --> M[\u002F\"✉ invite email · irreversible\"\u002F]:::people\n  classDef changed fill:#fde68a,stroke:#b45309\n  classDef removed fill:#e5e7eb,stroke:#6b7280,stroke-dasharray:4 3\n  classDef people fill:#e9d5ff,stroke:#7e22ce\n```\n\n**Untested branches.**\n\n```mermaid\nflowchart TD\n  S[\"archive_wish\u002F2\"] --> A{\"wish found?\"}\n  A -- no --> NF[\"error not_found ❌ untested\"]\n  A -- yes --> B{\"already archived?\"}\n  B -- yes --> AA[\"error already_archived ❌ untested\"]\n  B -- no --> OK[\"ok archived wish ✅ tested\"]\n```\n\n**Minimal solution (EP-D12).**\n\n```mermaid\nflowchart LR\n  subgraph built[\"What was built\"]\n    O1[\"charge\u002F1\"] --> F[\"PaymentProviderFactory\"] --> R[\"ProviderRegistry\"] --> P1[\"StripeProvider\"]\n  end\n  subgraph minimal[\"Minimal version\"]\n    O2[\"charge\u002F1\"] --> P2[\"Stripe client\"]\n  end\n```\n\n**Schema change.**\n\n```mermaid\nerDiagram\n  CITIES ||--o{ LISTINGS : has\n  LISTINGS {\n    uuid id PK\n    uuid city_id FK \"no index\"\n    datetime archived_at\n    datetime inserted_at\n  }\n```\n\n**Lifecycle.**\n\n```mermaid\nstateDiagram-v2\n  [*] --> active\n  active --> archived: archive_wish\n  archived --> active: restore_wish (missing)\n```\n\n**Risk map.**\n\n```mermaid\nquadrantChart\n  title Where to look closely\n  x-axis Rarely changed --> Often changed\n  y-axis Low criticality --> High criticality\n  quadrant-1 Look closely\n  quadrant-2 Critical but stable\n  quadrant-3 Low risk\n  quadrant-4 Busy but low stakes\n  \"payments\u002Fcharge.py\": [0.8, 0.9]\n  \"admin\u002Froutes.py\": [0.3, 0.8]\n  \"docs\u002Fbilling.md\": [0.2, 0.1]\n```\n","# Review report\n\nUsed by `review-companion`. It fixes the shape of the report, the finding card and the diagrams, and what follows the report: the PR comment, the description by role and the chat summary.\n\n## Report template\n\nThe report is one Markdown file at `.reviews\u002F\u003CYYYY-MM-DD>-\u003Cbranch-or-PR>.md`, written at the end of every review. The file name is flat: in the branch or PR part, replace `\u002F` and every character other than letters, digits, `.`, `_` and `-` with `-` (`feature\u002Farchive-wish` → `.reviews\u002F2026-09-30-feature-archive-wish.md`). Never overwrite or edit an earlier report: when a file with that name already exists — an earlier review the same day, or a `report_path` already in use — add `-2`, `-3`, … before `.md` and use the first name that is free. Use these headings exactly and in this order; a section with nothing to say says so in one line (\"No query changes.\") rather than disappearing. Diagrams follow the diagram guide below.\n\nWrite for a reader who has not seen the code: plain words, no undefined jargon, present tense. Every finding card must make sense on its own, pasted into a PR comment.\n\nEvery SQL block in the report starts with a line that says what it is: `-- engine: \u003Cengine>` for a query someone may run (it follows the read-only rules in `review-passes`, pass 7), or `-- migration` for a recommended schema change, shown for review and never run by you.\n\n````markdown\n# Review — \u003Cbranch or PR title>\n\n| | |\n|---|---|\n| Target | `\u003Ctarget>` compared with `\u003Cbase>` at `\u003Cshort SHA>` |\n| Date | \u003CYYYY-MM-DD> |\n| Role of the person asked | author \u002F reviewer \u002F not asked: reviewer assumed |\n| Stack and skills applied | \u003Ce.g. Elixir, Phoenix, Oban — engineering-principles, elixir-phoenix-conventions; Oban: no skill> |\n| Commands run | \u003Ceach command run and its result, or \"none\"> |\n| Previous report | \u003C`.reviews\u002F\u003Cearlier report>.md`: n new, n still open, n fixed · or \"none found\" · or \"comparison declined\"> |\n| Security layer | \u003Cn kept (F-NN, …), n dropped — `security-audit`, complete or partial · or \"not run: \u003Cwhy>\" · or \"not applicable: no code files\"> |\n\n> This report supports a human review. It does not approve or reject anything; the decision to merge belongs to the reviewer.\n\n## 1. Summary\n\n\u003C3–5 sentences: what the change does, how it fits, the overall picture of the findings.>\n\n| Severity | Count |\n|---|---|\n| 🔴 | n |\n| 🟠 | n |\n| 🟡 | n |\n| ❓ | n |\n\n⚡ \u003Cn> side effects: \u003Cn> new, \u003Cn> changed, \u003Cn> removed, \u003Cn> irreversible, \u003Cn> leave the app.\n\n**Look first:** \u003Cthe three places a human should look at first, each linked to its finding.>\n\n**Definition of done** — the findings against each of its parts; this is not a verdict.\n\n| Criterion | Findings |\n|---|---|\n| Implemented | \u003CF-NN, … or \"none found\"> |\n| Tested | \u003C…> |\n| Properly designed | \u003C…> |\n| Follows the conventions | \u003C…> |\n| Deployable without hurting users | \u003C…> |\n| Consumers stated | \u003CF-NN, … or \"none found\"> — \u003Cthe frontends and apps that must change, or \"none\"> |\n\n\u003CEach finding goes under the one part it puts at risk: Implemented — a bug, or something the intent needs that is missing; Tested — pass 3; Properly designed — design, boundaries, concurrency and data access; Follows the conventions — conventions, stack skills and documentation; Deployable without hurting users — EP-I5, migration safety, flags and rollback; Consumers stated — EP-E5. A part that was not checked says why (\"tests not run\").>\n\n## 2. ⚡ Side effects set in motion\n\n\u003CEffect graph (see \"Diagram guide\" below, \"Side effects\"), then one row per effect.>\n\n| Effect | Kind | Fires when | Status | Irreversible | User-visible | Tested | Documented | Intended |\n|---|---|---|---|---|---|---|---|---|\n\n## 3. The change at a glance\n\n**Intent** (\u003Cconfirmed by the author | confirmed by the reviewer | inferred, not confirmed>): \u003Cone paragraph>.\n\n\u003CChange map; the main new flow as a sequence diagram; before\u002Fafter where behaviour changed; ER or state diagrams where schemas or lifecycles changed.>\n\n**Skills applied**\n\n| Skill | Covers | Applied to | Findings |\n|---|---|---|---|\n| engineering-principles | every language | \u003Call changed files> | \u003CF-NN, …> |\n| \u003Cskill> | \u003Clanguage, framework, library or frontend work> | \u003Cthe files checked against it> | \u003CF-NN, … or \"none\"> |\n\n\u003COne line for each part of the stack with no skill, and each skill that could not be loaded: \"Oban — no skill available; engineering-principles only.\">\n\n## 4. Findings\n\n\u003CCards grouped by pass, in pass order, then the security layer's; inside a group, most severe first. The format is below.>\n\n## 5. Tests\n\n\u003CBehaviour → test matrix; tests that would still pass if the behaviour broke; test smells; what was run and its result.>\n\n| Behaviour | Test | Would fail if broken? |\n|---|---|---|\n\n## 6. Documentation\n\n\u003CDocs impact map; missing pages; each stale passage quoted next to the new behaviour, with a suggested rewrite.>\n\n**PR description** — \u003Cthe table below; \"no PR description yet\" when there is no PR (no GitHub remote, a branch without a PR, a commit range) and nothing was pasted; or \"not checked: \u003Cwhy>\" when a PR exists but could not be read>\n\n| Part | Status | Findings |\n|---|---|---|\n| Title | \u003Cpresent · missing · wrong place> | \u003CF-NN, … or \"none\"> |\n| What it does | \u003Cpresent · missing> | \u003C…> |\n| Before deploying | \u003Cpresent · missing items · not needed> | \u003C…> |\n| How it works | \u003Cpresent · missing · not needed> | \u003C…> |\n| Behind the scenes | \u003Cpresent · missing items> | \u003C…> |\n| Screenshots and videos | \u003Cpresent · missing · not needed> | \u003C…> |\n| Cadre line | \u003Cpresent · missing · not needed> | \u003C…> |\n| Not essential | \u003Cnone · n to cut> | \u003C…> |\n\n## 7. Data access & performance\n\n\u003CQuery → index table, production numbers with the date they were collected; or \"No query or schema changes.\">\n\n| Query (where) | Table | Filters · joins · sort | Index that serves it | Rows (prod) | Calls\u002Fday | Status |\n|---|---|---|---|---|---|---|\n\n## 8. Locks and deadlocks\n\n\u003COne row per path the change adds or touches that holds a lock or waits while holding one, and per path elsewhere that takes the same locks; or the no-lock line.>\n\n| Path | Locks and waits, in order | Same locks taken elsewhere | Verdict |\n|---|---|---|---|\n| \u003Cpath> | \u003Ceach lock and wait, in the order taken> | \u003Cpath: the same locks, or \"none\"> | \u003CCan't deadlock: \u003Cwhy> · F-NN> |\n\n\u003CA hot row (EP-H13) appears with its finding. A deadlock that existed before the change gets its finding too, marked `existed before this change`.>\n\nA change that takes no lock says: The change takes no lock and waits on nothing while holding one.\n\n## 9. Risk and attention map\n\n\u003CCriticality, change frequency (6 months) and blast radius per touched file; quadrant chart.>\n\nThe risk shown here comes from the code only. Weigh who wrote the change, and how familiar they are with this area, yourself.\n\n## 10. Conversation\n\n- **Worked out without asking:** \u003Ctarget and base, role, exclusions, where the intent came from: what a person would otherwise have been asked>\n- **Answers given:** \u003Canswers given in advance, or \"none\">\n- **Open questions for the author:** \u003Ceach question with the findings that wait on it: the intent, necessity, context outside the repository, consumers, how the code runs, side effects, where docs live>\n- **Not run:** \u003Ceach command left out, exactly as it would be run, and what it would add, or \"none\": tests, the repository's checks, `EXPLAIN`, `git fetch`>\n- **Memory:** \u003Centries that applied, each with \"Is this still true?\", overdue ones flagged; entries proposed, stored only when a person asks; or \"none\">\n- **Points to discuss:** \u003C…>\n- **Where the intent had to be guessed:** \u003Cfile:line — why>\n\n## 11. Recommended plan\n\n- [ ] Before merge: \u003CF-NN — one line>\n- [ ] Can wait: \u003CF-NN — one line>\n- [ ] Needs a decision: \u003CF-NN — one line>\n\n## 12. Limits and decision\n\n- **Not checked:** \u003Ctests not run, no production statistics, the security layer, when it did not run, the PR description (not read, or no PR yet), context the companion could not know, …>\n- **Assumptions:** \u003Ceach conditional finding and the fact it depends on>\n- **Before you decide:** \u003Ca short checklist for the human: open ❓ items, conditional findings, places they could not explain>\n\nThe decision to merge is yours.\n````\n\n## Finding card\n\nEvery finding uses this card — 🟡, ❓ and documentation findings too. It has these parts, always in this order: the **Pass \u002F Rules \u002F Where \u002F Status** line, **What.**, **Why it matters.**, **Evidence.**, **Recommendation.**, **Effort:**. None may be dropped, even when another part seems to say it already:\n\n- Only findings get an `### F-NN` heading. A note that is not a finding goes in the prose of its section or in the Conversation section.\n- **The title** states the consequence, not the rule: \"Two requests can both spend the last invite\", not \"EP-H2 violation\".\n- **Why it matters.** is concrete: who does what, with real values, and what happens. \"A referrer with one invite left double-clicks; both requests read 1; two referrals exist.\" For a minor finding it is one short sentence (\"A malformed request gets a 500 instead of a 400.\").\n- **Evidence.** quotes the code or the doc passage involved. When there is nothing to quote, say what is absent in one line: \"none — no test file touches `archive_wish\u002F2`\".\n- **A finding about the PR's title or description:** its **Where:** is `PR title` or `PR description`; **Evidence.** quotes the passage involved, or says what is absent; the **Sketch** is the rewritten passage; **Test that proves the fix** is \"none — a description finding\"; **Doc to update** is \"the PR description\".\n\n````markdown\n### F-NN \u003C🔴|🟠|🟡|❓>[ ⚡] \u003Cone sentence stating the consequence, not the rule>\n**Pass:** \u003Cpass> · **Rules:** `\u003CEP-XN>`[, `\u003Clanguage #N>`] · **Where:** `\u003Cfile:line>` · **Status:** confirmed | conditional on \u003Cfact>[ · existed before this change]\n\n**What.** \u003CWhat the code does, in plain words.>\n\n**Why it matters.** \u003CA concrete failure scenario with real values: who does what, what happens, what it costs.>\n\n**Evidence.**\n```\u003Clanguage>\n\u003Cat most 10 lines of the code involved>\n```\n\n\u003CDiagram, when a picture explains it faster than a sentence — see the diagram guide.>\n\n**Recommendation.**\n1. \u003CStep to fix it.>\n2. \u003C…>\n- **Sketch:** a before\u002Fafter in the repository's language.\n- **Test that proves the fix:** \u003Cname and what it asserts>.\n- **Doc to update:** \u003Cpage and section, or \"none\">.\n\n**Effort:** small | medium | large.\n````\n\nSeverity, ⚡ and status mean what \"Writing a finding\" in `review-passes` says.\n\nA ❓ card keeps every field too: **Why it matters** says what goes wrong if the answer is the unwelcome one; **Recommendation** says what to do for each possible answer; **Effort** is the effort of the likely fix.\n\n## Before you write\n\nCheck the whole report once more before writing it:\n\n- the file name is free: no earlier report is overwritten;\n- the header has all seven rows and the disclaimer line;\n- section 1 has the Definition of done table with its six rows;\n- section 6 has the PR description table, or says \"no PR description yet\" or \"not checked\" and why;\n- the Skills applied table lists every skill loaded, the files it was checked against and its findings;\n- section 8 has the lock table or the no-lock line;\n- section 10 has its **Worked out without asking:** and **Not run:** lines;\n- the twelve sections are there, in order, and section 12 ends with \"The decision to merge is yours.\";\n- every card has every part, in order;\n- every diagram follows the rules below;\n- every SQL block starts with `-- engine: \u003Cengine>` or `-- migration`;\n- no secret value appears anywhere, not even in part.\n\n## The PR comment\n\nWhen the change has a pull request on GitHub, the report belongs on that PR as a comment, so the author and every reviewer read the same findings where the change is discussed. A post is public, so a person approves it: in advance, or by answering the one question at the end.\n\n- **When.** A remote is on `github.com` and the change has a PR. A commit range, a branch without a PR, or another host: nothing is posted, and the report says so.\n- **Approval.** `writes.pr_comment: approve` posts it. `writes.pr_comment: decline` does not, and drops the question. With neither, the last line of the final message is `Post this report on PR #\u003Cn> as a comment?`. The review has finished and the report is written, so nothing waits on the answer: with nobody there, the question goes unanswered and nothing is posted. Post only on a clear yes.\n- **What and how.** After writing the report, post that file unchanged as a plain comment: `gh pr comment \u003Cn> --body-file \u003Creport path>`. Never as a review: no `gh pr review`, nothing that approves or requests changes.\n- **Size.** GitHub refuses a comment longer than 65,536 characters. When the report is longer, cut it at its `## ` section headings into as few parts as fit, start each part with `Review — part \u003Ci> of \u003Cn>`, write each part to a temporary file outside the repository, and post the parts in order, one `gh pr comment` per part. The approval to post covers these temporary files.\n- **When it fails.** If `gh` is missing, not logged in, or the post fails, put the command and its error in the chat summary; the report stays where it was written. Never post another way (`gh api`, `curl`, a browser).\n\n## The description, by role\n\nThe description's EP-F5 findings are acted on by role. What would be posted or applied always appears in the report's section 6, and is posted or applied only when approved in advance.\n\n- **When.** Only when the title and description were read or pasted and the passes found a gap in them: an EP-F5 finding, or a description that leaves out the consumers line (EP-E5), the deploy order (EP-I5), the doc page checked (elixir #59) or a loosened check's reason (EP-I3) — except for the author with no PR yet, who always gets a draft. When the description has no such gap, nothing is offered: say so in one line.\n- **Reviewer: a comment for the author.** Section 6 holds the comment in full, and `writes.description_comment: approve` posts it as its own comment, separately from the report comment, with `gh pr comment \u003Cn> --body-file \u003Cfile outside the repository>`. Its form:\n\n  ```markdown\n  **PR description** — what would make this PR easier to review (EP-F5).\n\n  **Required**\n  - F-NN: \u003Cwhat to add or fix, in one line>\n\n  **Suggested**\n  - F-NN: \u003Cwhat to cut or clarify, in one line>\n  ```\n\n  **Required** holds the 🟠 ones of those gaps, **Suggested** the 🟡 ones; an empty list is left out. Title findings go in the lists too. It is a comment, never a review. With a pasted description and no PR, there is nothing to post to: the findings stay in the report.\n- **Author: a redraft.** Section 6 holds the new title and description in full, written as \"Rewriting a description\" in `pr-description` says, and `writes.pr_update: approve` applies them.\n  - Applying reads the PR again first. When its title or body differs from what was read or pasted, or the read fails, edit nothing and say why in the chat summary. Line endings and trailing whitespace are not differences.\n  - Applying runs `gh pr view \u003Cn> --json title,body`, then `gh pr edit \u003Cn> --title '\u003Ctitle>' --body-file \u003Cfile outside the repository>`. The title goes in single quotes, each `'` in it written as `'\\''`, so the shell never reads it: a title can hold backticks and `$`, and it comes from the PR's own text.\n  - When the description could not be read, no redraft is offered: replacing a description you have not seen would drop what it holds.\n- **Author, no PR yet.** Section 6 holds a draft title and description, written as \"Rewriting a description\" says from the code and the answers given — or rewriting the pasted description when there is one. `writes.description_file: approve` writes it next to the report: the report's file name with `-pr-description` before `.md` (`.reviews\u002F2026-10-21-feature-pr-description.md`), under the report's file-name rules: flat, never overwritten (`-2`, `-3`, …). It is offered even with no description findings, since there is no description yet.\n- **Files.** The comment and the redraft are written to temporary files outside the repository; the approval covers them.\n- **When it fails.** As for the PR comment: the command and its error go in the chat summary. Never post another way (`gh api`, `curl`, a browser).\n\n## Chat summary\n\nAfter writing the report, post a short summary in the chat. The report holds every finding, the summary only the three that matter most. In this order:\n\n1. counts by severity;\n2. the ⚡ line: the counts, then each effect by name and status (\"⚡ 2 side effects: `archived_at` write (new), `WishArchived` event (new)\");\n3. the definition of done in one line: each part with findings and their IDs, and the frontends and apps that must change;\n4. the locks and deadlocks line: the paths compared and the deadlock findings (\"Locks and deadlocks: 3 paths compared — F-02 can deadlock; 2 can't\"), or the no-lock line;\n5. the security layer line: `Security layer: \u003Cn> kept (F-NN, …), \u003Cn> dropped`, `Security layer: not run — \u003Cwhy>`, or `Security layer: not applicable — no code files`; then the tests line: what ran and its result, or why nothing ran;\n6. the three most important findings, one line each;\n7. the three most important open questions;\n8. the report path, and — when the change has a GitHub PR — the comment's link, the exact command to post it when it was not posted, or the `gh` error; then what happened to the description: the description comment's link, \"PR title and description updated\", the draft's path, or why not (no approval given in advance, nothing to change, the PR changed or could not be re-read, or the `gh` error); then the commands left under **Not run**, in one line;\n9. \"The decision to merge is yours.\"\n10. when the change has a GitHub PR and `writes.pr_comment` was left out, the question `Post this report on PR #\u003Cn> as a comment?`.\n\n## Diagram guide\n\nDiagrams are mermaid code blocks inside the report. They render on GitHub, in most editors and in the Claude app. Draw one when a picture explains something faster than a sentence; skip it when one sentence is enough.\n\n### Which diagram for which finding\n\n| Finding about | Diagram |\n|---|---|\n| Race, lost update, duplicate processing, async or cancellation | `sequenceDiagram`: two actors side by side, the failure, then the fixed version |\n| Transaction boundaries, effects before or after commit | `sequenceDiagram` with a `rect` around what is inside the transaction |\n| Deadlock, or a wait the database cannot see | `sequenceDiagram`: the two paths side by side, each holding one lock and waiting for the other's |\n| Side effects set in motion | `flowchart LR` effect graph with the styles below |\n| Missing or untested branch, error path | `flowchart` with each branch marked ✅ or ❌ |\n| Layering, boundary or Demeter violation, coupling | Module `flowchart`, offending edge in red |\n| Over-complex solution (EP-D12) | Before\u002Fafter `flowchart`: what was built, and the minimal version |\n| Schema or data-model change | `erDiagram`, before and after |\n| Lifecycle or status field | `stateDiagram-v2`, the missing or illegal transition highlighted |\n| N+1, blocking migration | `sequenceDiagram`: 1 + N round trips next to one batched query; writes waiting on an index build |\n| Refactoring suggestion | Before\u002Fafter `flowchart` or `classDiagram` |\n| Risk map | `quadrantChart` |\n| Docs impact | `flowchart` from code to doc pages, each page updated, stale or missing |\n\n### Rules\n\n- **Only these diagram types:** `flowchart`, `sequenceDiagram`, `erDiagram`, `stateDiagram-v2`, `classDiagram`, `quadrantChart`. Others may not render everywhere.\n- One idea per diagram, at most about 12 nodes.\n- Real names from the code (`create_referral\u002F2`, `listings`), never placeholders.\n- Put a one-line caption under each diagram saying what to look at, and a legend whenever colours carry meaning.\n- Quote every node label that contains spaces, punctuation, parentheses, slashes or emoji: `A[\"create_referral\u002F2\"]`.\n- Keep `classDef` names and colours below, so every report reads the same.\n- Node ids are single words without spaces (`A`, `create`); never use `end` as a node id.\n- `sequenceDiagram` messages and notes cannot contain `;` or `#`; say it in words.\n- `quadrantChart` point names are quoted and their coordinates are between 0 and 1.\n- Keep a mermaid block free of HTML and of Markdown formatting (`**`, backticks).\n\n### Styles\n\n```mermaid\nflowchart LR\n  A[\"added\"]:::new --> B[\"changed\"]:::changed --> C[\"removed\"]:::removed\n  D[\u002F\"external call\"\u002F]:::external --> E[\u002F\"message to a person\"\u002F]:::people --> F[\u002F\"leaves the app\"\u002F]:::boundary\n  classDef new fill:#bbf7d0,stroke:#15803d\n  classDef changed fill:#fde68a,stroke:#b45309\n  classDef removed fill:#e5e7eb,stroke:#6b7280,stroke-dasharray:4 3\n  classDef external fill:#fecaca,stroke:#b91c1c\n  classDef people fill:#e9d5ff,stroke:#7e22ce\n  classDef boundary fill:#ffffff,stroke:#b91c1c,stroke-dasharray:4 3\n```\n\nLegend: green added · amber changed · grey dashed removed · red external call · purple message to a person · red dashed leaves the app.\n\n### Patterns\n\n**Race (two actors, then the fix).**\n\n```mermaid\nsequenceDiagram\n  participant A as Request A\n  participant B as Request B\n  participant DB\n  A->>DB: read invites_remaining → 1\n  B->>DB: read invites_remaining → 1\n  A->>DB: check ≥ 1 ✓ · write 0\n  B->>DB: check ≥ 1 ✓ · write 0\n  Note over DB: 2 referrals, 1 invite spent\n```\n\n**Transaction boundary.**\n\n```mermaid\nsequenceDiagram\n  participant S as create_referral\u002F2\n  participant DB\n  participant M as Mailer\n  rect rgb(254, 243, 199)\n    Note over S,DB: inside the transaction\n    S->>DB: insert referral\n    S->>M: send invite email\n    S->>DB: update invites_remaining\n  end\n  Note over M: the email is gone even if the commit fails\n```\n\n**Effect graph.**\n\n```mermaid\nflowchart LR\n  C[\"create_referral\u002F2\"]:::changed --> E([\"event ReferralCreated\"]):::removed\n  E -.-> H[\"NotifyReferrer\"]:::removed\n  C --> M[\u002F\"✉ invite email · irreversible\"\u002F]:::people\n  classDef changed fill:#fde68a,stroke:#b45309\n  classDef removed fill:#e5e7eb,stroke:#6b7280,stroke-dasharray:4 3\n  classDef people fill:#e9d5ff,stroke:#7e22ce\n```\n\n**Untested branches.**\n\n```mermaid\nflowchart TD\n  S[\"archive_wish\u002F2\"] --> A{\"wish found?\"}\n  A -- no --> NF[\"error not_found ❌ untested\"]\n  A -- yes --> B{\"already archived?\"}\n  B -- yes --> AA[\"error already_archived ❌ untested\"]\n  B -- no --> OK[\"ok archived wish ✅ tested\"]\n```\n\n**Minimal solution (EP-D12).**\n\n```mermaid\nflowchart LR\n  subgraph built[\"What was built\"]\n    O1[\"charge\u002F1\"] --> F[\"PaymentProviderFactory\"] --> R[\"ProviderRegistry\"] --> P1[\"StripeProvider\"]\n  end\n  subgraph minimal[\"Minimal version\"]\n    O2[\"charge\u002F1\"] --> P2[\"Stripe client\"]\n  end\n```\n\n**Schema change.**\n\n```mermaid\nerDiagram\n  CITIES ||--o{ LISTINGS : has\n  LISTINGS {\n    uuid id PK\n    uuid city_id FK \"no index\"\n    datetime archived_at\n    datetime inserted_at\n  }\n```\n\n**Lifecycle.**\n\n```mermaid\nstateDiagram-v2\n  [*] --> active\n  active --> archived: archive_wish\n  archived --> active: restore_wish (missing)\n```\n\n**Risk map.**\n\n```mermaid\nquadrantChart\n  title Where to look closely\n  x-axis Rarely changed --> Often changed\n  y-axis Low criticality --> High criticality\n  quadrant-1 Look closely\n  quadrant-2 Critical but stable\n  quadrant-3 Low risk\n  quadrant-4 Busy but low stakes\n  \"payments\u002Fcharge.py\": [0.8, 0.9]\n  \"admin\u002Froutes.py\": [0.3, 0.8]\n  \"docs\u002Fbilling.md\": [0.2, 0.1]\n```\n",{"name":5,"description":7},"main","158b5fd99d588b223ab8b60b6e9e090ae46fc73e","plugins\u002Fengineering-review\u002Fskills\u002Freview-report","https:\u002F\u002Fgithub.com\u002Fcolette-club\u002Fcolette-marketplace","https:\u002F\u002Fgithub.com\u002Fcolette-club","www.colette.club","We are building the all-in-one app for seniors to help them age better and in a good health","2026-11-11 21:12:07",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add colette-club\u002Fcolette-marketplace --skill review-report",{"tool":38,"command":39},"bunx","bunx skills add colette-club\u002Fcolette-marketplace --skill review-report",{"tool":41,"command":42},"pnpm","pnpm dlx skills add colette-club\u002Fcolette-marketplace --skill review-report","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fcolette-club\u002Fcolette-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fengineering-review\u002Fskills\u002Freview-report\u002FSKILL.md",true,[],[47,54,61,68,75,82],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M75Y1B80BC78YKEE5XYJE2X9","flutter-conventions-guide","Team conventions for our Flutter apps. Use when writing or editing any `.dart` or `.arb` file.","https:\u002F\u002Fgithub.com\u002Fcolette-club\u002Fcolette-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fflutter-conventions-guide\u002Fskills\u002Fflutter-conventions-guide\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M75Y17GQ4D9F92VBH1TZNQQ0","review-passes","The checklist for each of the eight passes of the review-companion skill, which loads this when its passes start. Not a review on its own.","https:\u002F\u002Fgithub.com\u002Fcolette-club\u002Fcolette-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fengineering-review\u002Fskills\u002Freview-passes\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M75Y1595YX4K87FVYGFWMKDH","review-companion","Code review of a change (a branch, PR or commit range) in any language, as a report for the human reviewer, who decides. Use when asked to review a change.","https:\u002F\u002Fgithub.com\u002Fcolette-club\u002Fcolette-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fengineering-review\u002Fskills\u002Freview-companion\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M75Y13MCVKFKBXGF7VPVJ2F6","pr-description","The standard for a pull request's title and description (EP-F5). Use when writing, checking or rewriting a PR title or description.","https:\u002F\u002Fgithub.com\u002Fcolette-club\u002Fcolette-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fengineering-review\u002Fskills\u002Fpr-description\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M75Y10EFJX8JSNXPZMPQ5WKS","engineering-principles","Language-agnostic engineering rules, cited by ID (EP-0 to EP-K11). Use when writing or reviewing code in any language.","https:\u002F\u002Fgithub.com\u002Fcolette-club\u002Fcolette-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fengineering-review\u002Fskills\u002Fengineering-principles\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M75Y0YECWKSJ6TRR1YJYDA1B","rust-style","https:\u002F\u002Fgithub.com\u002Fcolette-club\u002Fcolette-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fengineering-review\u002Fevals\u002Fstack-skills-applied\u002Fteam-stack\u002Fskills\u002Frust-style\u002FSKILL.md",[],[]]