[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6EKP0DTX07C8R429N5MVB10":3,"skill-same:01M6EKP0DTX07C8R429N5MVB10":61},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":28,"linkOnly":29,"markdownContent":30,"markdownBody":31,"frontMatter":32,"refName":33,"commitSha":34,"skillDirectory":35,"forksCount":36,"repositoryHtmlUrl":37,"repositoryHomepageUrl":6,"ownerHtmlUrl":38,"ownerBlogUrl":6,"ownerDescription":39,"updatedAt":40,"install":41,"resources":54},"01M6EKP0DTX07C8R429N5MVB10","principle-minimize-reader-load",null,"Apply when reviewing or shaping code that's hard to trace. Count layers between question and answer, and hidden state in the reader's head; collapse one-caller wrappers and shrink mutable scope.","minghinmatthewlam\u002Fagent-guards","minghinmatthewlam","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F14224566?v=4","01M6EKJNHJ92TMD70DDV4AJFQA","01M6EKJNNSX01GNTK9NJ5RKHFM",46,"MIT","https:\u002F\u002Fgithub.com\u002Fminghinmatthewlam\u002Fagent-guards\u002Fblob\u002Fmain\u002Fplugins\u002Fpstack\u002Fskills\u002Fprinciple-minimize-reader-load\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27],"principle minimize reader load","reader","code","state","shaping","trace","question","false","head","scope","2026-11-10 10:12:30",false,"---\nname: principle-minimize-reader-load\ndescription: \"Apply when reviewing or shaping code that's hard to trace. Count layers between question and answer, and hidden state in the reader's head; collapse one-caller wrappers and shrink mutable scope.\"\nuser-invocable: false\n---\n\n# Minimize Reader Load\n\nMaintainability is the work a reader must do to understand code. Track two axes: **layers to trace** (indirections between the question and the answer) and **state to hold** (hidden or mutable context the reader must keep in their head). LOC, cyclomatic complexity, and \"clean architecture\" are proxies. Reader load is the thing that matters. The two axes are independent. A flat file with 50 globals can be as hard to reason about as a 6-layer adapter stack. Guard both. This is the human analog of [Guard the Context Window](..\u002Fprinciple-guard-the-context-window\u002FSKILL.md). Working memory is finite for readers too.\n\n- **Collapse layers** that cost more than they save: wrappers with one caller, adapters with no second implementation, speculative indirection that was never needed. Inline them.\n- **Make adjacent layers change the abstraction.** A layer that repeats the same methods and arguments adds reader load without compression. Collapse pass-through layers.\n- **Demand interface compression.** A broad interface that hides little complexity makes readers learn both the surface and the implementation. Prefer boundaries that hide meaningful decisions.\n- **Shrink state scope:** prefer pure functions (returns over mutations), locals over fields, fields over module state, and module state over globals. Derive instead of sync.\n- **Name the invariant at the boundary,** not in every consumer, so the reader learns it once.\n- Before adding a layer or a piece of state, ask: does it reduce reader load elsewhere by at least as much?\n\n**The test:** can a new reader answer \"where does X come from?\" and \"what can change X?\" in under 30 seconds? If not, cut layers or cut state.\n","# Minimize Reader Load\n\nMaintainability is the work a reader must do to understand code. Track two axes: **layers to trace** (indirections between the question and the answer) and **state to hold** (hidden or mutable context the reader must keep in their head). LOC, cyclomatic complexity, and \"clean architecture\" are proxies. Reader load is the thing that matters. The two axes are independent. A flat file with 50 globals can be as hard to reason about as a 6-layer adapter stack. Guard both. This is the human analog of [Guard the Context Window](..\u002Fprinciple-guard-the-context-window\u002FSKILL.md). Working memory is finite for readers too.\n\n- **Collapse layers** that cost more than they save: wrappers with one caller, adapters with no second implementation, speculative indirection that was never needed. Inline them.\n- **Make adjacent layers change the abstraction.** A layer that repeats the same methods and arguments adds reader load without compression. Collapse pass-through layers.\n- **Demand interface compression.** A broad interface that hides little complexity makes readers learn both the surface and the implementation. Prefer boundaries that hide meaningful decisions.\n- **Shrink state scope:** prefer pure functions (returns over mutations), locals over fields, fields over module state, and module state over globals. Derive instead of sync.\n- **Name the invariant at the boundary,** not in every consumer, so the reader learns it once.\n- Before adding a layer or a piece of state, ask: does it reduce reader load elsewhere by at least as much?\n\n**The test:** can a new reader answer \"where does X come from?\" and \"what can change X?\" in under 30 seconds? If not, cut layers or cut state.\n",{"name":5,"description":7,"user-invocable":29},"main","0c773e8ba99fe384310af3f9ee59741106a53d95","plugins\u002Fpstack\u002Fskills\u002Fprinciple-minimize-reader-load",3,"https:\u002F\u002Fgithub.com\u002Fminghinmatthewlam\u002Fagent-guards","https:\u002F\u002Fgithub.com\u002Fminghinmatthewlam","Builder. Less optimizing agents setup, more building","2026-11-08 05:41:31",{"source":8,"skillName":5,"commands":42,"prompt":52,"zipAvailable":53},[43,46,49],{"tool":44,"command":45},"npx","npx skills add minghinmatthewlam\u002Fagent-guards --skill principle-minimize-reader-load",{"tool":47,"command":48},"bunx","bunx skills add minghinmatthewlam\u002Fagent-guards --skill principle-minimize-reader-load",{"tool":50,"command":51},"pnpm","pnpm dlx skills add minghinmatthewlam\u002Fagent-guards --skill principle-minimize-reader-load","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fminghinmatthewlam\u002Fagent-guards\u002Fblob\u002Fmain\u002Fplugins\u002Fpstack\u002Fskills\u002Fprinciple-minimize-reader-load\u002FSKILL.md",true,[55],{"path":56,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":59,"sourceHtmlUrl":60},"agents\u002Fopenai.yaml","REFERENCE","参考文档",43,"https:\u002F\u002Fgithub.com\u002Fminghinmatthewlam\u002Fagent-guards\u002Fblob\u002Fmain\u002Fplugins\u002Fpstack\u002Fskills\u002Fprinciple-minimize-reader-load\u002Fagents\u002Fopenai.yaml",[62,87,112,132,156,174],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":28},"01M6EKT039SVAX6PXWNJZNZ4EX","teach","Build a working mental model of code: the components and how they interact, then the interfaces, schemas, and function signatures. Use when asked to teach or explain how code works, walk through an architecture, deep-dive a subsystem, or understand a change, including code outside the current repo. For a concept with no code, use pstack:teach.","https:\u002F\u002Fgithub.com\u002Fminghinmatthewlam\u002Fagent-guards\u002Fblob\u002Fmain\u002Fskills\u002Fteach\u002FSKILL.md",[],[64,69,70,71,72,73,74,75,20,76,77,78,79,80,81,82,83,84,85,86],"change","build","model","how","repo","understand","use","explain","with","concept","deep","for","mental model","signatures","pstack","no code","components","when",{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":28},"01M6EKSX03CR18TFCATJ5ARTN7","skills-audit","Audit agent skills for triggering quality, correctness, context efficiency, redundancy, structure, failure guidance, and coverage gaps. Use when the user asks to review, improve, compare, simplify, or evaluate skills in global, repo-local, Claude, Codex, or custom skill paths.","https:\u002F\u002Fgithub.com\u002Fminghinmatthewlam\u002Fagent-guards\u002Fblob\u002Fmain\u002Fskills\u002Fskills-audit\u002FSKILL.md",[],[94,95,96,97,98,73,99,100,101,102,103,75,104,105,106,107,108,109,110,111],"audit","skills audit","coverage","structure","codex","quality","local","guidance","paths","improve","custom skill","simplify","coverage gaps","user","context","compare","review","efficiency",{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":28},"01M6EKSSTYVXDV0REZEF7J9X6F","repo-setup","Set up or refactor a repository so agents naturally follow its intended architecture and important mistakes fail mechanically. Use when the user invokes $repo-setup, asks to make a repo agent-friendly, or wants important repository rules enforced through structure, types, tooling, tests, or CI.","https:\u002F\u002Fgithub.com\u002Fminghinmatthewlam\u002Fagent-guards\u002Fblob\u002Fmain\u002Fskills\u002Frepo-setup\u002FSKILL.md",[],[73,119,120,121,97,122,123,124,125,126,127,75,128,129,130,107,131],"repo setup","setup","SET","types","tooling","repository","up","ci","tests","Rules","refactor","architecture","make",{"skillNo":133,"name":134,"nameZh":6,"description":135,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":136,"categories":137,"keywords":138,"publishedAt":28},"01M6EKSPNRZKCDWWV9FK57PFPB","record-screen","Record a small MP4 while demonstrating or verifying a UI change, then attach the video as proof. Linux cloud sessions record the private virtual display; macOS records only the app window under test. Use for any repo whenever a UI change is verified or demoed.","https:\u002F\u002Fgithub.com\u002Fminghinmatthewlam\u002Fagent-guards\u002Fblob\u002Fmain\u002Fskills\u002Frecord-screen\u002FSKILL.md",[],[139,140,141,142,143,144,145,146,73,147,148,149,150,75,151,69,152,153,154,155],"record screen","record","screen","virtual","mp4","Video","app","as","records","linux","sessions","only","test","attach","proof","cloud","ui",{"skillNo":157,"name":158,"nameZh":6,"description":159,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":160,"categories":161,"keywords":162,"publishedAt":28},"01M6EKSME0SDX0X052A8ZY0SMB","ori-pr","Take an OpenRouterIncubator\u002Fori or OpenRouterTeam\u002Fopenrouter-web PR from ready to merged. Matthew runs \u002Fori-pr once he has decided the PR is ready and understands the change. Asks perry for review once CI is green, handles perry's comments, and enqueues the merge once perry approves the head and CI is green, within quiet hours.","https:\u002F\u002Fgithub.com\u002Fminghinmatthewlam\u002Fagent-guards\u002Fblob\u002Fmain\u002Fskills\u002Fori-pr\u002FSKILL.md",[],[163,164,165,166,69,26,167,168,110,126,169,170,171,80,172,173],"pr","ori pr","take","ready","green","merge","perry","openrouter","web","true","comments",{"skillNo":175,"name":176,"nameZh":6,"description":177,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":178,"categories":179,"keywords":180,"publishedAt":28},"01M6EKSGFS2DZNXYFH7A9GJ4BD","new-task","Clarify a new task by stating the goal the agent believes the user wants, showing its current understanding, and asking only product-related or high-priority questions that could materially change the outcome. Use before planning or implementation when the task needs alignment.","https:\u002F\u002Fgithub.com\u002Fminghinmatthewlam\u002Fagent-guards\u002Fblob\u002Fmain\u002Fskills\u002Fnew-task\u002FSKILL.md",[],[181,182,183,150,69,184,185,75,186,187,188,189,107],"new task","task","alignment","implementation","clarify","product","planning","goal","outcome"]