[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M76WVZVGRYG68T43CVMMNKMZ":3,"skill-same:01M76WVZVGRYG68T43CVMMNKMZ":45},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":25,"repositoryHtmlUrl":26,"repositoryHomepageUrl":27,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M76WVZVGRYG68T43CVMMNKMZ","magus-buzz-review",null,"egladman\u002Fmagus","egladman","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F8713153?v=4","01M75H42QB5A4X82APZF4H44GM","Eli Gladman","01M75H42R1K59Z7JWAP621J849",3,"GPL-3.0","https:\u002F\u002Fgithub.com\u002Fegladman\u002Fmagus\u002Fblob\u002Fmain\u002Finternal\u002Fagent\u002Fskills\u002Fmagus-buzz-review\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"{{if .Full}}# Reviewing Buzz code{{else}}# Reviewing Buzz{{end}}\n\n{{if .Full}}{{skill \"buzz-lang\"}} teaches how to WRITE Buzz. This skill REVIEWS it (a magusfile, a spell,\nor a standalone `.buzz` script) through three lenses run in parallel,\nthe same fan-out-and-merge shape go-review-ultra uses for Go.\n\nIt covers the LANGUAGE: is the code idiomatic, is it correct, does it run where the\nauthor thinks it runs. Magusfile\u002Ftarget\u002Fspell CONTRACTS (caching, `ctx.needs`, wards,\nop kinds, charms, command vs service) belong to {{skill \"buzz-lang\"}} and it already covers them; restating them here would only\ndrift out of sync with it.{{else}}{{skill \"buzz-lang\"}} teaches WRITING Buzz. This skill REVIEWS it (magusfile, spell, or standalone `.buzz` script) through three lenses run in parallel.\nCovers LANGUAGE: idiomatic? correct? runs where author thinks?\nMagusfile\u002Ftarget\u002Fspell CONTRACTS (caching, `ctx.needs`, wards, op kinds, charms, command vs service): {{skill \"buzz-lang\"}}.{{end}}\n\n## Authority labels\n\n{{if .Full}}Every finding in every lens carries one of three labels. \"This is wrong\" means a\ndifferent thing in Buzz depending on the authority behind it, and a reader cannot act on an unlabeled finding, only argue about it.\n{{else}}Every finding in every lens carries one of three labels; \"wrong\" means different things depending on authority.{{end}}\n- `UPSTREAM`: true of Buzz itself, wherever it runs.\n{{if .Full}}- `GOPHERBUZZ`: true only of gopherbuzz, the implementation magus embeds; upstream\n  Buzz may lack the construct or resolve it differently.{{else}}- `GOPHERBUZZ`: true only of gopherbuzz, implementation magus embeds; upstream Buzz may lack construct or resolve it differently.{{end}}\n{{if .Full}}- `PORTABILITY`: runs fine here under gopherbuzz, but does not parse or behave the\n  same against upstream Buzz.{{else}}- `PORTABILITY`: runs fine here under gopherbuzz, but does not parse or behave same against upstream Buzz.{{end}}\n\n{{if .Full}}Label every finding from the correctness and conformance lenses. Never invent a\nfourth category, and never leave one unlabeled because the answer felt obvious.{{else}}Label every finding from correctness and conformance lenses.\nNever invent fourth category; never leave one unlabeled because answer felt obvious.{{end}}\n\n{{if .Full}}## Establish the mode before applying anything{{else}}## Establish mode before applying anything{{end}}\n{{if .Full}}\nThis is the single most important step in the whole skill: getting it wrong\nproduces confident, fluent false positives, because the \"violation\" did\ncompile and run. Buzz parses in one of two modes, and most of what the correctness and\nconformance lenses check applies to only one:\n{{end}}\n{{if .Full}}- **Strict** (upstream parity), `{{cmd \"buzz\"}} \u003Cfile>`'s default:\n  - rejects top-level control flow outside a function\n    (`if`\u002F`while`\u002F`for`\u002F`foreach`\u002F`do-until`\u002F`try`\u002F`throw`\u002F`return`\u002F`break`\u002F`continue`\u002F\n    a bare block);\n  - requires every call argument after the first to be labeled (`name: value`)\n    unless it is a bare identifier.{{else}}Wrong mode -> confident false positives.\nBuzz parses in one of two modes; most correctness and conformance checks apply to only one:\n- Strict (upstream parity), `{{cmd \"buzz\"}} \u003Cfile>`'s default:\n  - rejects top-level control flow outside function (`if`\u002F`while`\u002F`for`\u002F`foreach`\u002F`do-until`\u002F`try`\u002F`throw`\u002F`return`\u002F`break`\u002F`continue`\u002F bare block);\n  - requires every call argument after first labeled (`name: value`) unless bare identifier.{{end}}\n{{if .Full}}- **Embedded** (relaxed): neither restriction applies. `{{cmd \"buzz\"}} --embedded` opts a\n  script in. A magusfile and a spell are embedded UNCONDITIONALLY, with no\n  opt-out; every code path that loads one passes the embedded option before\n  the author's own code runs, so there is no author-visible switch to get wrong.{{else}}- Embedded (relaxed): neither restriction applies. `{{cmd \"buzz\"}} --embedded` opts script in. Magusfile and spell embedded UNCONDITIONALLY, no opt-out.{{end}}\n\n{{if .Full}}So **a magusfile or a spell file is always embedded.** A top-level `if`, a top-level\n`foreach`, an unlabeled second argument: all fine and idiomatic there. Applying\nstrict mode to a magusfile is not a strict reading; it is a wrong one.{{else}}-> magusfile or spell file always embedded: top-level `if`, top-level `foreach`, unlabeled second argument all fine and idiomatic there.\nStrict mode applied to magusfile: not strict reading; wrong one.{{end}}{{if .Full}}\n\nJudge a standalone script by how it is invoked, not by\nguessing from its shape:{{end}}\n\n{{if .Full}}- Run by a bare `{{cmd \"buzz\"}} \u003Cfile>` (no `--embedded`): strict mode applies, and a\n  top-level `if` is a genuine defect.{{else}}Standalone script: judge by invocation:\n- Bare `{{cmd \"buzz\"}} \u003Cfile>` (no `--embedded`): strict applies; top-level `if` is genuine defect.{{end}}\n{{if .Full}}- Strict mode does not apply when it runs by `{{cmd \"buzz\"}} --embedded \u003Cfile>`, from\n  inside another Buzz program (`magus\\cmd(\"buzz\", ...)`), or its header comment names\n  the mode.{{else}}- Strict does not apply when run by `{{cmd \"buzz\"}} --embedded \u003Cfile>`, from inside another Buzz program (`magus\\cmd(\"buzz\", ...)`), or header comment names mode.{{end}}\n{{if .Full}}- Unclear: check the CI workflow or wrapper that calls it before flagging a\n  strict-mode violation. A script that happens to have no\n  top-level control flow and no unlabeled second argument is ALSO valid\n  embedded Buzz, so its contents alone never prove which mode the author\n  wrote it for; only the invocation does.{{else}}- Unclear: check CI workflow or wrapper calling it before flagging strict-mode violation; contents alone never prove mode.{{end}}\n\n{{if .Full}}Once you know the mode, PROVE the file parses under it; do not read for it. `magus\nbuzz --check \u003Cfile>` checks strict, `--check --embedded` the other. It runs nothing,\ntakes several paths, and reports every diagnostic instead of stopping at the\nfirst, so a strict-mode finding either reproduces as a\ndiagnostic naming the line or was never there. A file whose job is a side effect\ncannot be checked any other way, since running it exercises one path and says\nnothing about the rest.{{else}}Once mode known, PROVE file parses under it; do not read for it.\n`{{cmd \"buzz\"}} --check \u003Cfile>` checks strict, `--check --embedded` other. Runs nothing, takes several paths, reports every diagnostic, not stopping at first.{{end}}\n\n{{if .Full}}A conformance-suite fixture exists to exercise one upstream-vs-gopherbuzz difference\n(generics, `match`, a bare `as` cast, `::\u003CT>`, ...). Using that construct is the\nfixture doing its job, not a defect.{{else}}Conformance-suite fixture exists to exercise one upstream-vs-gopherbuzz difference (generics, `match`, bare `as` cast, `::\u003CT>`, ...); using that construct is fixture doing its job, not defect.{{end}}\n\n## Lens: idiom and style\n{{if .Full}}\nWhat reads as Buzz house style versus what merely parses.\n{{end}}\n{{if .Full}}- **Namespace access on an imported module is a backslash, not a dot.** Write\n  `fs\\readFile(...)`, not `fs.readFile(...)`. Authority: PORTABILITY (see the\n  conformance lens for the parse-level reason), and readability. `path\\join(a, b)`\n  and `record.join(a, b)` parse to visually identical postfix chains; only the token\n  tells \"call into an imported module\" from \"call a method on this value\". A stray\n  dot reads as a value method call to anyone who has not memorized which names are\n  modules.\n  FALSE-POSITIVE GUARD: a local variable, field, or ctx member that happens\n  to share a module's bare name (`path`, `env`, `os` are common ones) uses a\n  dot correctly. `path.endsWith(\".buzz\")` where `path` is a local `str` is\n  ordinary member access, not a namespace-access mistake, even though `path`\n  is also an importable module name. Only flag the dot when the receiver is\n  the actual imported module identifier itself.{{else}}- Namespace access on imported module: backslash, not dot. `fs\\readFile(...)`, not `fs.readFile(...)`. Authority: PORTABILITY (conformance lens has parse-level reason), plus readability: stray dot reads as method call on value. Flag only when receiver is imported module itself, not local sharing its name (`path`, `env`, `os`).{{end}}\n{{if .Full}}- **A flat import (`import \"x\" as _`) is a finding.** The `_` alias binds no name and\n  merges every export of `x` into the importing scope.\n  - A call site then reads `escapeAttr(s)`, and nothing in the file says where\n    it came from. The reader greps each candidate module, per call site.\n  - The module boundary becomes unenforceable. A new export in a flat-imported\n    module can silently shadow or collide with a name in every importer.\n  - Prefer a named import with namespaced calls (`import \"lib\u002Ftext\" as text;`, then\n    `text\\escapeAttr(s)`). Where an unprefixed name is genuinely wanted, the\n    selective form `import escapeAttr, slugify from \"lib\u002Ftext\";` states exactly what\n    enters the scope.\n  Note the flat and selective forms are BOTH excluded from\n  unused-import tracking (BZZ3001): a flat import has no bound name to mark\n  unused, so an `as _` that has stopped being needed is never reported.\n  Weigh the finding by blast radius, not by count: a leaf module flat-importing\n  one helper is a nit, while a tree where every file flat-imports every other is\n  a single structural finding, not one per line.{{else}}- Flat import (`import \"x\" as _`) is finding: `_` alias binds no name, merges every export of `x` into importing scope.\n  - Call site then reads `escapeAttr(s)`; nothing in file says origin; reader greps each candidate module, per call site.\n  - Module boundary unenforceable: new export in flat-imported module can silently shadow or collide with name in every importer.\n  - Prefer named import with namespaced calls (`import \"lib\u002Ftext\" as text;`, then `text\\escapeAttr(s)`). Where unprefixed name genuinely wanted, selective form `import escapeAttr, slugify from \"lib\u002Ftext\";` states exactly what enters scope.{{end}}\n{{if .Full}}- **`export fun test(...)` is not a naming smell.** `test` is a contextual soft\n  keyword, not a reserved one, so magus's canonical test-target name stays usable.\n  Authority: GOPHERBUZZ: the one deliberate place gopherbuzz's reserved-word list is\n  a superset of upstream's. Do not flag it or suggest renaming it.{{else}}- `export fun test(...)` is not naming smell: `test` is contextual soft keyword, not reserved -> magus's canonical test-target name stays usable. Authority: GOPHERBUZZ: only deliberate place gopherbuzz reserved-word list is superset of upstream's. Do not flag or suggest renaming.{{end}}\n{{if .Full}}- **A name-shaped parse error may be a reserved word, not a deeper bug.** gopherbuzz\n  rejects a reserved word as the name of a variable, parameter, function, or enum\n  case. The words: `out`, `from`, `match`, `pat`, `fib`, `rg`, `obj`, `ud`, `zdef`,\n  `typeof`, `type`, `protocol`, `static`, `extern`, `double`, `any`, `Function`,\n  `int`, `str`, `bool`, `void`.\n  - Authority: GOPHERBUZZ. It is gopherbuzz's own enforced list, kept for strict\n    parity with upstream's reservations, and not guaranteed identical to upstream's.\n  - They stay fine in non-binding position (a map key, a member name, a type name).\n    Only binding a NAME to one fails.{{else}}- Name-shaped parse error may be reserved word, not deeper bug. gopherbuzz rejects reserved word as name of variable, parameter, function, or enum case. Words: `out`, `from`, `match`, `pat`, `fib`, `rg`, `obj`, `ud`, `zdef`, `typeof`, `type`, `protocol`, `static`, `extern`, `double`, `any`, `Function`, `int`, `str`, `bool`, `void`.\n  - Authority: GOPHERBUZZ: gopherbuzz's own enforced list, kept for strict parity with upstream reservations; not guaranteed identical to upstream's.\n  - Fine in non-binding position (map key, member name, type name); only binding NAME to one fails.{{end}}\n{{if .Full}}- **Object literal vs map literal is a common slip from JSON-familiar authors.**\n  `Point{ x = 1 }` (object literal, `=`) and `{\"key\": value}` (map literal, `:`) look\n  alike and are not interchangeable. Flag a literal that mixes the two forms, or\n  uses `:` where an object literal was clearly meant. Authority: UPSTREAM.{{else}}- Object literal vs map literal: common slip from JSON-familiar authors. `Point{ x = 1 }` (object literal, `=`) and `{\"key\": value}` (map literal, `:`) look alike, not interchangeable. Flag literal mixing two forms, or `:` where object literal clearly meant. Authority: UPSTREAM.{{end}}\n{{if .Full}}- **A magusfile carrying logic that wants a test is a finding.** A\n  magusfile is declarative configuration; a test of it tests your\n  configuration, not your logic. The fix moves that logic into a spell or a sibling\n  module; see {{skill \"buzz-lang\"}}'s \"Test what you write\".{{else}}- Magusfile carrying logic that wants test: finding. Fix: move logic into spell or sibling module; see {{skill \"buzz-lang\"}} \"Test what you write\".{{end}}\n\n## Lens: skeptic and correctness\n{{if .Full}}\nBugs and silent failures, not style. Read every function assuming it has one.\n{{end}}\n{{if .Full}}- **A `magus\\Context.needs`-adjacent branch on a diagnostic code that names no real\n  code.** The idiom for handling a magus failure in Buzz: catch, then branch on\n  `e[\"code\"]`, not `e[\"message\"]`.\n  - A transposed code (`\"MSG3003\"` for `\"{{mgs \"MGS3003\"}}\"`) or a stale one silently\n    never matches. The `catch` block still reads as live error handling while being\n    dead code. A code cited only in a comment rots the same way, slower.\n  - Authority: GOPHERBUZZ\u002FMAGUS, not upstream. `MGSxxxx` and `BZZxxxx` are magus's\n    and gopherbuzz's own diagnostic codes, not a Buzz language concept.\n  CHECK: any string matching `MGS[0-9]{4}` or `BZZ[0-9]{4}` in a `.buzz`\n  file, in code or in a comment, against the documented set: `docs\u002Freference\u002Fcodes\u002F`\n  (organized by family: auth, charms, knowledge, magusfile, outputref, race,\n  sandbox, services; one page per `MGSxxxx` code) for magus's own codes, and\n  `libs\u002Fgopherbuzz\u002Fdocs\u002Fcodes\u002F` (flat, one page per `BZZxxxx` code) for\n  gopherbuzz's. A code that names no file in either tree is the finding.\n  A code cited as DATA, a fixture or table row that names a real code as an\n  example, rather than comparing against a caught error, is not a defect\n  just because it is not itself a comparison; check whether the code exists,\n  not whether the surrounding line is a comparison.\n  Do not turn this into \"type diagnostic codes as an enum\": `Arg.Enum` scopes\n  itself to a parameter whose values are a closed set, this set is not closed\n  (it grows every release across two independently-versioned namespaces), the\n  real read site is a map key off a caught error rather than a function\n  parameter, and an enum case an older magus release lacks fails to LOAD;\n  worse than a string that silently never matches. A closed set like a sign\n  algorithm name is what `Arg.Enum` is for; a diagnostic code is not that\n  shape.{{else}}- `magus\\Context.needs`-adjacent branch on diagnostic code naming no real code. Idiom for handling magus failure in Buzz: catch, then branch on `e[\"code\"]`, not `e[\"message\"]`.\n  - Transposed code (`\"MSG3003\"` for `\"MGS3003\"`) or stale one silently never matches; `catch` block still reads as live error handling while dead code. Code cited only in comment rots same way, slower.\n  - Authority: GOPHERBUZZ\u002FMAGUS, not upstream. `MGSxxxx`, `BZZxxxx`: magus's and gopherbuzz's own diagnostic codes, not Buzz language concept.\n  - Check each `MGS[0-9]{4}` or `BZZ[0-9]{4}` against `docs\u002Freference\u002Fcodes\u002F` and `libs\u002Fgopherbuzz\u002Fdocs\u002Fcodes\u002F`; code with no page in either tree is finding. Do not propose typing codes as enum: set is open.{{end}}\n{{if .Full}}- **A force-unwrap (`!`) on a value the type says can be null.** Buzz's nil deref:\n  `maybeUser!.name` panics at runtime the moment `maybeUser` is null. Prefer\n  `?.`\u002F`??` unless the caller proved non-null a line above. Authority: UPSTREAM.{{else}}- Force-unwrap (`!`) on value type says can be null: Buzz's nil deref; `maybeUser!.name` panics at runtime the moment `maybeUser` is null. Prefer `?.`\u002F`??` unless caller proved non-null line above. Authority: UPSTREAM.{{end}}\n{{if .Full}}- **A `catch` that discards `e` without inspecting `code` or `message`, where the\n  failure can mean more than one thing.** Swallowing every error the same way is\n  how a gate stops being a gate: the failure go-review-skeptic flags for a Go\n  `default` case that silently no-ops. Authority: UPSTREAM.{{else}}- `catch` discarding `e` without inspecting `code` or `message`, where failure can mean more than one thing: swallowing every error same way is how gate stops being gate. Authority: UPSTREAM.{{end}}\n{{if .Full}}- **A compound assignment (`x op= v`) whose target has a side effect**, e.g.\n  `f().count += 1`. Authority: GOPHERBUZZ. Upstream evaluates the target ONCE;\n  gopherbuzz evaluates it TWICE, so any side effect in `f()` happens twice (a\n  mutation, a log line, a counter). This is a real bug under gopherbuzz, not only a\n  portability note. Flag it whenever the target is not a bare variable.{{else}}- Compound assignment (`x op= v`) whose target has side effect, like `f().count += 1`. Authority: GOPHERBUZZ. Upstream evaluates target ONCE; gopherbuzz TWICE -> any side effect in `f()` happens twice. Real bug under gopherbuzz, not only portability note. Flag whenever target is not bare variable.{{end}}\n{{if .Full}}- **A `match` treated as exhaustive, or an `obj{...}`\u002Fprotocol annotation treated as\n  enforced.** Authority: GOPHERBUZZ. gopherbuzz's checker enforces neither match\n  exhaustiveness, protocol conformance, nor `obj{...}` shape annotations. Check by\n  hand that a `match` covers every case its type admits, as go-review-skeptic checks a Go type switch for a missing `default`. A\n  clean compile proves nothing here.{{else}}- `match` treated as exhaustive, or `obj{...}`\u002Fprotocol annotation treated as enforced. Authority: GOPHERBUZZ. gopherbuzz checker enforces neither match exhaustiveness, protocol conformance, nor `obj{...}` shape annotations. Check by hand that `match` covers every case its type admits; clean compile proves nothing here.{{end}}\n{{if .Full}}- **\"It compiled\" as proof the code is valid upstream Buzz, or \"it failed\" as proof\n  it is not.** Authority: GOPHERBUZZ. gopherbuzz implements a SUBSET of upstream, so\n  passing today does not mean upstream would accept it. Several of upstream's own\n  compile-error fixtures compile clean under gopherbuzz. A clean compile is\n  evidence, not verification, in either direction.{{else}}- \"It compiled\" as proof code is valid upstream Buzz, or \"it failed\" as proof it is not. Authority: GOPHERBUZZ. gopherbuzz implements SUBSET of upstream -> passing today does not mean upstream accepts. Clean compile: evidence, not verification, either direction.{{end}}\n\n## Lens: upstream conformance\n{{if .Full}}\nNamed divergences between gopherbuzz and upstream Buzz. Each is a real,\nobserved behavior difference, not a hypothetical; use them to judge whether\ncode an author believes is \"just Buzz\" survives contact with\nupstream, and to stop a gopherbuzz-only behavior from being taught as if it\nwere the language.\n{{end}}\n{{if .Full}}- **Namespace access: `\\` is the only form upstream recognizes for an imported\n  module.** Authority: PORTABILITY. Upstream's parser gives backslash a dedicated\n  production for resolving a name against an import; the bare dot is only the\n  general postfix member operator on VALUES. gopherbuzz accepts both for a module\n  reference, a superset, not a mirror. `fs\\readFile(...)` parses in both;\n  `fs.readFile(...)` parses only here.{{else}}- Namespace access: `\\` only form upstream recognizes for imported module. Authority: PORTABILITY. gopherbuzz accepts both for module reference: superset, not mirror. `fs\\readFile(...)` parses in both; `fs.readFile(...)` only here.{{end}}\n{{if .Full}}- **A string is indexed by BYTES; `utf8Len()` is the rune count.** Authority:\n  UPSTREAM. `len()`, `sub()`, `indexOf()`, `byte()` and `foreach` all work in bytes,\n  matching upstream's builtins; `utf8Len()` is the only codepoint-counting member.\n  An accented e is two bytes in UTF-8, so `len()` counts it as 2.\n  This is worth knowing because gopherbuzz USED to index runes, and\n  code written against that reads plausibly either way. A loop slicing with\n  `sub()` and bounding with `len()` was consistent under both models, so it does\n  not announce the change; what moves is any index arithmetic that assumed one\n  character was one position. Reach for `utf8Len()` only when the question is\n  genuinely \"how many characters\", which is rarer than it looks; a byte count\n  is what a digest, an encoding, or a wire format wants.{{else}}- String indexed by BYTES; `utf8Len()` is rune count. Authority: UPSTREAM. `len()`, `sub()`, `indexOf()`, `byte()`, `foreach` all work in bytes, matching upstream builtins; `utf8Len()` only codepoint-counting member. Accented e: two bytes in UTF-8 -> `len()` counts 2.{{end}}\n{{if .Full}}- **A bare `as` cast coerces in gopherbuzz; upstream checks it statically.**\n  Authority: GOPHERBUZZ. `3.9 as int` silently truncates to `3` here; upstream\n  rejects a cast that cannot hold. `as?` is the real type test in both; prefer it\n  when the intent is \"test\", not \"coerce and hope\".{{else}}- Bare `as` cast coerces in gopherbuzz; upstream checks statically. Authority: GOPHERBUZZ. `3.9 as int` silently truncates to `3` here; upstream rejects cast that cannot hold. `as?`: real type test in both; prefer when intent is \"test\", not \"coerce and hope\".{{end}}\n{{if .Full}}- **Compound assignment double-evaluates its target in gopherbuzz; upstream\n  evaluates it once.** Authority: GOPHERBUZZ. The correctness lens flags it as a bug\n  when the target has a side effect; here it explains why upstream does not\n  misbehave the same way.{{else}}- Compound assignment double-evaluates target in gopherbuzz; upstream once. Authority: GOPHERBUZZ. Correctness lens flags it as bug when target has side effect.{{end}}\n{{if .Full}}- **A declared `!>` error set enforces PRESENCE but not TYPE.** Authority:\n  GOPHERBUZZ. Upstream treats `!> ErrType` as a real error set. gopherbuzz checks only\n  that a raising call is propagated or caught, never what it raises.\n  - Calling a `!> str` function from one declaring no raise is BZZ1006, \"call may\n    raise but is neither declared with !> nor caught\". It is a real and common gate: it is what a script invoked by `{{cmd \"buzz\"}}`\n    trips on when it calls something like `fs\\listDir` without declaring\n    `!>`.\n  - A function declaring `!> int` may throw a `str` and nothing objects, so the named type is documentation while the arrow\n    itself is checked.\n  - So never treat a missing `!>` as proof a call cannot raise, and never trust the\n    NAMED type. Both were measured against gopherbuzz; this bullet\n    previously said the whole annotation was \"parsed and thrown away, nothing\n    enforces it\", which sent reviewers straight past every BZZ1006-class defect.{{else}}- Declared `!>` error set enforces PRESENCE but not TYPE. Authority: GOPHERBUZZ. Upstream treats `!> ErrType` as real error set; gopherbuzz checks only that raising call is propagated or caught, never what it raises.\n  - Calling `!> str` function from one declaring no raise: BZZ1006, \"call may raise but is neither declared with !> nor caught\"; real, common gate.\n  - Function declaring `!> int` may throw `str`; nothing objects.\n  - -> never treat missing `!>` as proof call cannot raise; never trust NAMED type. Both measured against gopherbuzz.{{end}}\n{{if .Full}}- **An anonymous object field shadows a same-named builtin method.** Authority:\n  GOPHERBUZZ. `rec.map` reads the FIELD `map` if the object was built with one, not\n  the builtin `.map()`. A field named after a common builtin (`map`, `len`, ...)\n  deserves a second look.{{else}}- Anonymous object field shadows same-named builtin method. Authority: GOPHERBUZZ. `rec.map` reads FIELD `map` if object built with one, not builtin `.map()`. Field named after common builtin (`map`, `len`, ...) deserves second look.{{end}}\n{{if .Full}}- **A malformed `{...}` in a backtick-interpolated string is a parse error upstream;\n  gopherbuzz leaves it as literal text.** Authority: GOPHERBUZZ. A placeholder typo\n  fails loudly upstream and silently here (it renders the literal braces). Review a\n  backtick string's interpolations as carefully as code.{{else}}- Malformed `{...}` in backtick-interpolated string: parse error upstream; gopherbuzz leaves literal text. Authority: GOPHERBUZZ. Placeholder typo fails loudly upstream, silently here (renders literal braces). Review backtick string interpolations as carefully as code.{{end}}\n{{if .Full}}- **Generics are erased at runtime in gopherbuzz; upstream reifies them.**\n  Authority: GOPHERBUZZ. A `::\u003CT>` type argument is parsed and ignored: it serves\n  the static checker, not the VM. Code that branches on a generic type argument at\n  runtime cannot work here.{{else}}- Generics erased at runtime in gopherbuzz; upstream reifies. Authority: GOPHERBUZZ. `::\u003CT>` type argument parsed, ignored: serves static checker, not VM. Code branching on generic type argument at runtime cannot work here.{{end}}\n{{if .Full}}- **`pat.replace` replaces only the first match; `pat.replaceAll` replaces every\n  match.** Authority: UPSTREAM, mirrored faithfully. Do not flag it or propose\n  \"fixing\" `.replace`: that would be the divergence.{{else}}- `pat.replace` replaces only first match; `pat.replaceAll` every match. Authority: UPSTREAM, mirrored faithfully. Do not flag or propose \"fixing\" `.replace`: that would be divergence.{{end}}\n{{if .Full}}- **`str.replace` replaces every occurrence, matching upstream.** Authority:\n  UPSTREAM. An earlier gopherbuzz replaced only the first occurrence; that bug is\n  fixed. Never teach or flag the old first-only behavior as current.{{else}}- `str.replace` replaces every occurrence, matching upstream. Authority: UPSTREAM. Never teach or flag old first-only behavior as current.{{end}}\n{{if .Full}}- **`test \"...\" {}` is genuine upstream syntax**, present in upstream's own test\n  suite. Authority: UPSTREAM. Contrast `test` staying bindable as a name (the idiom\n  lens), which IS gopherbuzz-only.{{else}}- `test \"...\" {}` is genuine upstream syntax, in upstream's own test suite. Authority: UPSTREAM. Contrast `test` staying bindable as name (idiom lens): gopherbuzz-only.{{end}}\n{{if .Full}}- **`assert`, `suite`, `testing`, and `assertcore` have no upstream counterpart.**\n  Authority: PORTABILITY. They are gopherbuzz's own test modules, not a\n  reimplementation of an upstream module. Code leaning on their exact API has no\n  upstream equivalent, by design.{{else}}- `assert`, `suite`, `testing`, `assertcore`: no upstream counterpart. Authority: PORTABILITY. gopherbuzz's own test modules, not reimplementation of upstream module.{{end}}{{if .Full}}\n\n### If you are reviewing gopherbuzz's own implementation\n\nThe above applies to reviewing a workspace's magusfile or spells; skip this\nif that is all you are doing. If the change under review touches gopherbuzz\nitself, do not quote a conformance score from a code comment; a comment has\ncarried a wrong number before, and a second stale number lived in the test\nfile at the same time. The one authoritative count is the line count of the\nchecked-in upstream-behavior allowlist the conformance test enforces in both\ndirections: it fails if a passing file regresses, and it also fails if a\nnewly-passing file is not added to the list, so the list can only be as stale\nas the last test run.\n{{end}}\n\n{{if .Full}}## Running the three lenses{{else}}## Running three lenses{{end}}\n\n{{if .Full}}Spawn three `Agent` tool calls **in a single message** (parallel), `subagent_type:\ngeneral-purpose`. A subagent cannot invoke the Skill tool, so it needs the section\ntext, not the skill's name.\n{{else}}Spawn three `Agent` tool calls in single message (parallel), `subagent_type: general-purpose`.\nSubagent cannot invoke Skill tool -> needs section text, not skill name.{{end}}\nPrompt template per subagent:\n\n```text\nRead the \"Lens: \u003Cidiom and style|skeptic and correctness|upstream conformance>\"\nsection of the installed {{skill \"buzz-review\"}} skill (.claude\u002Fskills\u002F{{skill \"buzz-review\"}}\u002FSKILL.md,\nor wherever this workspace installed it) and apply it to \u003Ctarget file\u002Fdir>.\nEstablish the mode first (magusfile\u002Fspell = always embedded; a standalone\nscript = check how it is invoked) before applying any strict-mode restriction.\nReturn findings only: file:line, the authority label, what's wrong, severity.\nNo code. Do not re-explore beyond \u003Ctarget>.\n```\n\n{{if .Full}}For a whole workspace, name the entry points to walk (`magusfile.buzz`,\n`spells\u002F**\u002Fspell.buzz`); never leave scope open-ended; an unscoped subagent re-derives the workspace layout three\ntimes instead of once.{{else}}Whole workspace: name entry points to walk (`magusfile.buzz`, `spells\u002F**\u002Fspell.buzz`); never leave scope open-ended.{{end}}\n\n{{if .Full}}## Merging the findings{{else}}## Merging findings{{end}}\n\n{{if .Full}}- **Group by lens.** Keep the three sections separate: collapsing them loses which\n  authority backed which finding.{{else}}- Group by lens: three sections separate; collapsing loses which authority backed which finding.{{end}}\n{{if .Full}}- **Dedupe by `file:line` within a section only.** One line flagged by two lenses for\n  different reasons stays two findings: two lenses agreeing. The common case is idiom's readability and conformance's portability on the same\n  namespace-access mistake.{{else}}- Dedupe by `file:line` within section only. One line flagged by two lenses for different reasons stays two findings: two lenses agreeing.{{end}}\n{{if .Full}}- **Combined severity table** at the end, drawn from all three sections. A\n  correctness finding with a real side effect (compound-assignment\n  double-evaluation, a swallowed error that matters) outranks an idiom note.{{else}}- Combined severity table at end, from all three sections. Correctness finding with real side effect (compound-assignment double-evaluation, swallowed error that matters) outranks idiom note.{{end}}\n{{if .Full}}- **Top 1-3 to action first**, opinionated, across all three lenses.{{else}}- Top 1-3 to action first, opinionated, across all three lenses.{{end}}\n\n{{if .Full}}## What this skill does not do{{else}}## Not this skill{{end}}\n\n{{if .Full}}- Magusfile\u002Ftarget\u002Fspell contracts (caching, `ctx.needs`, wards, charms, what makes\n  an op a service). Use {{skill \"buzz-lang\"}}.{{else}}- Magusfile\u002Ftarget\u002Fspell contracts (caching, `ctx.needs`, wards, charms, what makes op service): {{skill \"buzz-lang\"}}.{{end}}\n{{if .Full}}- Write code or apply fixes. The output is a merged findings report.{{else}}- Writing code or applying fixes; output is merged findings report.{{end}}\n{{if .Full}}- Teach Buzz syntax from scratch. Point a reader to {{skill \"buzz-lang\"}} when a finding\n  needs \"how do I write it correctly\", not \"here is what's wrong\".{{else}}- Teaching Buzz syntax from scratch. Point reader to {{skill \"buzz-lang\"}} when finding needs \"how do I write it correctly\", not \"here is what's wrong\".{{end}}\n",{},"main","5f0df014d9eaf4aea1a930b0bd13c3338e2642de","internal\u002Fagent\u002Fskills\u002Fmagus-buzz-review",0,"https:\u002F\u002Fgithub.com\u002Fegladman\u002Fmagus","http:\u002F\u002Feli.gladman.cc\u002Fmagus\u002F","https:\u002F\u002Fgithub.com\u002Fegladman","eli.gladman.cc","2026-11-14 12:23:44",{"source":7,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add egladman\u002Fmagus --skill magus-buzz-review",{"tool":37,"command":38},"bunx","bunx skills add egladman\u002Fmagus --skill magus-buzz-review",{"tool":40,"command":41},"pnpm","pnpm dlx skills add egladman\u002Fmagus --skill magus-buzz-review","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fegladman\u002Fmagus\u002Fblob\u002Fmain\u002Finternal\u002Fagent\u002Fskills\u002Fmagus-buzz-review\u002FSKILL.md",true,[],[46,52,58,64,70,76],{"skillNo":47,"name":48,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":49,"categories":50,"keywords":51,"publishedAt":18},"01M76WWZ75J70NCG0TR23XDDE6","magus-workspace-rules","https:\u002F\u002Fgithub.com\u002Fegladman\u002Fmagus\u002Fblob\u002Fmain\u002Finternal\u002Fagent\u002Fskills\u002Fmagus-workspace-rules\u002FSKILL.md",[],[],{"skillNo":53,"name":54,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":18},"01M76WWX72SY78KG03AVYFE768","magus-vcs-hygiene","https:\u002F\u002Fgithub.com\u002Fegladman\u002Fmagus\u002Fblob\u002Fmain\u002Finternal\u002Fagent\u002Fskills\u002Fmagus-vcs-hygiene\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":18},"01M76WWTJYGRCKKXH948KN6RR3","magus-upstream-source","https:\u002F\u002Fgithub.com\u002Fegladman\u002Fmagus\u002Fblob\u002Fmain\u002Finternal\u002Fagent\u002Fskills\u002Fmagus-upstream-source\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":18},"01M76WWRTBBAPNKM0PA2NG5Q3N","magus-upstream-docs","https:\u002F\u002Fgithub.com\u002Fegladman\u002Fmagus\u002Fblob\u002Fmain\u002Finternal\u002Fagent\u002Fskills\u002Fmagus-upstream-docs\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":18},"01M76WWNTF03H9S5CN22QBX5ZK","magus-test-design","https:\u002F\u002Fgithub.com\u002Fegladman\u002Fmagus\u002Fblob\u002Fmain\u002Finternal\u002Fagent\u002Fskills\u002Fmagus-test-design\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":18},"01M76WWJX1FPSWYD1RB8JXNF3C","magus-sdk","https:\u002F\u002Fgithub.com\u002Fegladman\u002Fmagus\u002Fblob\u002Fmain\u002Finternal\u002Fagent\u002Fskills\u002Fmagus-sdk\u002FSKILL.md",[],[]]