[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M76WTV0T2GFS5GEZKN1TAH8G":3,"skill-same:01M76WTV0T2GFS5GEZKN1TAH8G":49},{"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":26,"commitSha":27,"skillDirectory":28,"forksCount":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":31,"ownerHtmlUrl":32,"ownerBlogUrl":33,"ownerDescription":6,"updatedAt":34,"install":35,"resources":48},"01M76WTV0T2GFS5GEZKN1TAH8G","chestertons-fence",null,"Ask why a convention exists, and whether that reason holds here, before copying, keeping or removing it. Record the verdict as an ADR or refusals row. Use when a design, review or PR cites prior art. Use when borrowing a pattern from another tool. Use when someone asks why we do X or proposes deleting it. Repo-only; never shipped.","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\u002F.agents\u002Fskills\u002Fchestertons-fence\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: chestertons-fence\ndescription: \"Ask why a convention exists, and whether that reason holds here, before copying, keeping or removing it. Record the verdict as an ADR or refusals row. Use when a design, review or PR cites prior art. Use when borrowing a pattern from another tool. Use when someone asks why we do X or proposes deleting it. Repo-only; never shipped.\"\nmetadata:\n  source: workspace\n---\n\n# Chesterton's fence\n\nChesterton's fence says: do not remove a fence until you know why it was put up.\nHere the test runs both ways. Before you keep a convention, or copy one from another\ntool, find the reason it exists and check that the reason holds in this repo.\n\nPrior art is input, never justification\n([Capability is not a reason](..\u002F..\u002F..\u002Fdocs\u002Fdesign\u002Fprinciples\u002Fcapability-is-not-a-reason.md)).\n\"Go does it\" says the idea exists. It says nothing about the failure it removes here.\n\n## The five questions\n\n1. What does the convention do? State it as one claim.\n2. What failure did it remove where it started? Cite a source you fetched or a\n   file:line you read.\n3. Does that failure exist here? Show it: a file:line, a `.\u002Fmagus` run, a test.\n4. What does it cost here: code, a step, a flag, a reader's attention?\n5. What would prove the verdict wrong?\n\nSay `unknown` for any answer you did not verify. An `unknown` in question 2 or 3\nblocks a `keep` that rests on it.\n\n## Output\n\nOne block per convention:\n\n```text\nclaim:     \u003Cone sentence>\nevidence:  \u003CURL fetched or file:line, one per fact>\nverdict:   keep | change | refuse\nfalsifier: \u003Cthe observation that would reverse it>\n```\n\n## Where the verdict lands\n\n- `keep` or `change` of a design decision: an ADR under `docs\u002Fdecisions\u002F`. Load\n  `idiomatic-adrs` first.\n- `refuse`, or a removal: a row in `docs\u002Fdesign\u002Frefusals.md`, with what decided it\n  and where to check.\n- Never only in chat. A verdict nobody can find gets argued again.\n\nReopen a recorded verdict only with new evidence, and change its page in the same\ncommit.\n\n## Worked example: type declarations and error cascades in Buzz\n\nQuestion: TypeScript shows errors in waves and ships `.d.ts` files. Should Buzz copy\neither?\n\nTypeScript:\n\n- An export's type can be inferred from another file. Emitting a declaration then\n  needs the checker to follow imports and infer\n  ([5.5 release notes](https:\u002F\u002Fwww.typescriptlang.org\u002Fdocs\u002Fhandbook\u002Frelease-notes\u002Ftypescript-5-5.html),\n  Isolated Declarations). So a fix upstream changes what a downstream file sees.\n- `tsc -b` acts as if `noEmitOnError` is on for every project\n  ([project references](https:\u002F\u002Fwww.typescriptlang.org\u002Fdocs\u002Fhandbook\u002Fproject-references.html)).\n  Whether it skips dependents of a failed project: unknown, the page does not say.\n- How tsc suppresses an error after an earlier one (an error type): unknown, not\n  fetched.\n- `.d.ts` exists to type existing JavaScript, most often \"an npm package with no\n  types\" ([declaration files](https:\u002F\u002Fwww.typescriptlang.org\u002Fdocs\u002Fhandbook\u002Fdeclaration-files\u002Fintroduction.html)).\n- TypeScript 7 is the Go port ([typescript-go](https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ftypescript-go)).\n  Whether it changes cascade behavior: unknown.\n\nGo:\n\n- Every parameter and result carries an explicit type, and `:=` infers only\n  locals inside functions ([spec](https:\u002F\u002Fgo.dev\u002Fref\u002Fspec)).\n- Compiled packages carry export data, so a client reads only P's output, never\n  P's dependencies ([cmd\u002Fcompile](https:\u002F\u002Fpkg.go.dev\u002Fcmd\u002Fcompile)).\n- The compiler stops at 10 errors; `-e` removes the cap (same page).\n\nBuzz here:\n\n- Users write no declarations. Host module signatures are generated from Go:\n  `internal\u002Fspell\u002Fgen\u002Fdecls\u002Ffs.buzz:1` reads \"Code generated by magus-utils\n  moduledecls\", an output of `.:spells-generate`.\n- The checker has a tracking-failure type, `Unknown`, compatible with everything\n  (`libs\u002Fgopherbuzz\u002Ftypes\u002Ftypes.go:29`, `:210`). Member access on it passes\n  silently (`libs\u002Fgopherbuzz\u002Fchecker.go:2385`).\n- An undefined name returns `Any`, not `Unknown` (`libs\u002Fgopherbuzz\u002Fchecker.go:1844`),\n  and member access on `Any` is an error (`libs\u002Fgopherbuzz\u002Fchecker.go:2387`). So\n  `missing.name` reports BZZ1001 at 4:15 and \"`any` is not field accessible\" at\n  4:22, both from one mistake (`.\u002Fmagus buzz --check`, observed 2026-10-29).\n- There is no error cap. `--check` prints every error; a compile reports the\n  first (`libs\u002Fgopherbuzz\u002Fsession.go:1054`).\n\n```text\nclaim:     Buzz needs no hand-written declaration files.\nevidence:  internal\u002Fspell\u002Fgen\u002Fdecls\u002Ffs.buzz:1; Go spec (explicit signatures)\nverdict:   keep (refuse a .d.ts analogue)\nfalsifier: a Buzz user has to type a module that magus did not generate\n\nclaim:     the checker suppresses cascades after the first error.\nevidence:  types.go:210 (Unknown is quiet); checker.go:1844 and :2387 (Any is not)\nverdict:   change: an undefined name should yield Unknown\nfalsifier: a test that pins Any for an undefined name, or upstream Buzz doing the same\n```\n","# Chesterton's fence\n\nChesterton's fence says: do not remove a fence until you know why it was put up.\nHere the test runs both ways. Before you keep a convention, or copy one from another\ntool, find the reason it exists and check that the reason holds in this repo.\n\nPrior art is input, never justification\n([Capability is not a reason](..\u002F..\u002F..\u002Fdocs\u002Fdesign\u002Fprinciples\u002Fcapability-is-not-a-reason.md)).\n\"Go does it\" says the idea exists. It says nothing about the failure it removes here.\n\n## The five questions\n\n1. What does the convention do? State it as one claim.\n2. What failure did it remove where it started? Cite a source you fetched or a\n   file:line you read.\n3. Does that failure exist here? Show it: a file:line, a `.\u002Fmagus` run, a test.\n4. What does it cost here: code, a step, a flag, a reader's attention?\n5. What would prove the verdict wrong?\n\nSay `unknown` for any answer you did not verify. An `unknown` in question 2 or 3\nblocks a `keep` that rests on it.\n\n## Output\n\nOne block per convention:\n\n```text\nclaim:     \u003Cone sentence>\nevidence:  \u003CURL fetched or file:line, one per fact>\nverdict:   keep | change | refuse\nfalsifier: \u003Cthe observation that would reverse it>\n```\n\n## Where the verdict lands\n\n- `keep` or `change` of a design decision: an ADR under `docs\u002Fdecisions\u002F`. Load\n  `idiomatic-adrs` first.\n- `refuse`, or a removal: a row in `docs\u002Fdesign\u002Frefusals.md`, with what decided it\n  and where to check.\n- Never only in chat. A verdict nobody can find gets argued again.\n\nReopen a recorded verdict only with new evidence, and change its page in the same\ncommit.\n\n## Worked example: type declarations and error cascades in Buzz\n\nQuestion: TypeScript shows errors in waves and ships `.d.ts` files. Should Buzz copy\neither?\n\nTypeScript:\n\n- An export's type can be inferred from another file. Emitting a declaration then\n  needs the checker to follow imports and infer\n  ([5.5 release notes](https:\u002F\u002Fwww.typescriptlang.org\u002Fdocs\u002Fhandbook\u002Frelease-notes\u002Ftypescript-5-5.html),\n  Isolated Declarations). So a fix upstream changes what a downstream file sees.\n- `tsc -b` acts as if `noEmitOnError` is on for every project\n  ([project references](https:\u002F\u002Fwww.typescriptlang.org\u002Fdocs\u002Fhandbook\u002Fproject-references.html)).\n  Whether it skips dependents of a failed project: unknown, the page does not say.\n- How tsc suppresses an error after an earlier one (an error type): unknown, not\n  fetched.\n- `.d.ts` exists to type existing JavaScript, most often \"an npm package with no\n  types\" ([declaration files](https:\u002F\u002Fwww.typescriptlang.org\u002Fdocs\u002Fhandbook\u002Fdeclaration-files\u002Fintroduction.html)).\n- TypeScript 7 is the Go port ([typescript-go](https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ftypescript-go)).\n  Whether it changes cascade behavior: unknown.\n\nGo:\n\n- Every parameter and result carries an explicit type, and `:=` infers only\n  locals inside functions ([spec](https:\u002F\u002Fgo.dev\u002Fref\u002Fspec)).\n- Compiled packages carry export data, so a client reads only P's output, never\n  P's dependencies ([cmd\u002Fcompile](https:\u002F\u002Fpkg.go.dev\u002Fcmd\u002Fcompile)).\n- The compiler stops at 10 errors; `-e` removes the cap (same page).\n\nBuzz here:\n\n- Users write no declarations. Host module signatures are generated from Go:\n  `internal\u002Fspell\u002Fgen\u002Fdecls\u002Ffs.buzz:1` reads \"Code generated by magus-utils\n  moduledecls\", an output of `.:spells-generate`.\n- The checker has a tracking-failure type, `Unknown`, compatible with everything\n  (`libs\u002Fgopherbuzz\u002Ftypes\u002Ftypes.go:29`, `:210`). Member access on it passes\n  silently (`libs\u002Fgopherbuzz\u002Fchecker.go:2385`).\n- An undefined name returns `Any`, not `Unknown` (`libs\u002Fgopherbuzz\u002Fchecker.go:1844`),\n  and member access on `Any` is an error (`libs\u002Fgopherbuzz\u002Fchecker.go:2387`). So\n  `missing.name` reports BZZ1001 at 4:15 and \"`any` is not field accessible\" at\n  4:22, both from one mistake (`.\u002Fmagus buzz --check`, observed 2026-10-29).\n- There is no error cap. `--check` prints every error; a compile reports the\n  first (`libs\u002Fgopherbuzz\u002Fsession.go:1054`).\n\n```text\nclaim:     Buzz needs no hand-written declaration files.\nevidence:  internal\u002Fspell\u002Fgen\u002Fdecls\u002Ffs.buzz:1; Go spec (explicit signatures)\nverdict:   keep (refuse a .d.ts analogue)\nfalsifier: a Buzz user has to type a module that magus did not generate\n\nclaim:     the checker suppresses cascades after the first error.\nevidence:  types.go:210 (Unknown is quiet); checker.go:1844 and :2387 (Any is not)\nverdict:   change: an undefined name should yield Unknown\nfalsifier: a test that pins Any for an undefined name, or upstream Buzz doing the same\n```\n",{"name":5,"metadata":24,"description":7},{"source":25},"workspace","main","5f0df014d9eaf4aea1a930b0bd13c3338e2642de",".agents\u002Fskills\u002Fchestertons-fence",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":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add egladman\u002Fmagus --skill chestertons-fence",{"tool":41,"command":42},"bunx","bunx skills add egladman\u002Fmagus --skill chestertons-fence",{"tool":44,"command":45},"pnpm","pnpm dlx skills add egladman\u002Fmagus --skill chestertons-fence","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fegladman\u002Fmagus\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fchestertons-fence\u002FSKILL.md",true,[],[50,56,62,68,74,80],{"skillNo":51,"name":52,"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":53,"categories":54,"keywords":55,"publishedAt":19},"01M76WWZ75J70NCG0TR23XDDE6","magus-workspace-rules","https:\u002F\u002Fgithub.com\u002Fegladman\u002Fmagus\u002Fblob\u002Fmain\u002Finternal\u002Fagent\u002Fskills\u002Fmagus-workspace-rules\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"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":59,"categories":60,"keywords":61,"publishedAt":19},"01M76WWX72SY78KG03AVYFE768","magus-vcs-hygiene","https:\u002F\u002Fgithub.com\u002Fegladman\u002Fmagus\u002Fblob\u002Fmain\u002Finternal\u002Fagent\u002Fskills\u002Fmagus-vcs-hygiene\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"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":65,"categories":66,"keywords":67,"publishedAt":19},"01M76WWTJYGRCKKXH948KN6RR3","magus-upstream-source","https:\u002F\u002Fgithub.com\u002Fegladman\u002Fmagus\u002Fblob\u002Fmain\u002Finternal\u002Fagent\u002Fskills\u002Fmagus-upstream-source\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"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":71,"categories":72,"keywords":73,"publishedAt":19},"01M76WWRTBBAPNKM0PA2NG5Q3N","magus-upstream-docs","https:\u002F\u002Fgithub.com\u002Fegladman\u002Fmagus\u002Fblob\u002Fmain\u002Finternal\u002Fagent\u002Fskills\u002Fmagus-upstream-docs\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"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":77,"categories":78,"keywords":79,"publishedAt":19},"01M76WWNTF03H9S5CN22QBX5ZK","magus-test-design","https:\u002F\u002Fgithub.com\u002Fegladman\u002Fmagus\u002Fblob\u002Fmain\u002Finternal\u002Fagent\u002Fskills\u002Fmagus-test-design\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"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":83,"categories":84,"keywords":85,"publishedAt":19},"01M76WWJX1FPSWYD1RB8JXNF3C","magus-sdk","https:\u002F\u002Fgithub.com\u002Fegladman\u002Fmagus\u002Fblob\u002Fmain\u002Finternal\u002Fagent\u002Fskills\u002Fmagus-sdk\u002FSKILL.md",[],[]]