[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78HFZ59YPJJP8NJPMCY2R7T":3,"skill-same:01M78HFZ59YPJJP8NJPMCY2R7T":45},{"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":6,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M78HFZ59YPJJP8NJPMCY2R7T","principle-minimize-reader-load",null,"Make code quicker to trace. Use when code is hard to follow: count the layers between question and answer and the hidden state a reader must hold, collapse one-caller wrappers, shrink mutable scope.","kausthubh-coder\u002Fskills","kausthubh-coder","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F69598472?v=4","01M78HD86HJXRJ8D9WAZPWEQWQ","Kausthubh Nandimandalam","01M78HD876SS34X45HNK3A5WXV",0,"MIT","https:\u002F\u002Fgithub.com\u002Fkausthubh-coder\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fprinciple-minimize-reader-load\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: principle-minimize-reader-load\ndescription: \"Make code quicker to trace. Use when code is hard to follow: count the layers between question and answer and the hidden state a reader must hold, collapse one-caller wrappers, 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. Working memory is finite for agents and humans alike.\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. Working memory is finite for agents and humans alike.\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":20},"main","16324e7f9b33ea663982e77e17c70c3d1c9d65de","skills\u002Fprinciple-minimize-reader-load","https:\u002F\u002Fgithub.com\u002Fkausthubh-coder\u002Fskills","https:\u002F\u002Fgithub.com\u002Fkausthubh-coder","idk","2026-11-12 02:40:31",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add kausthubh-coder\u002Fskills --skill principle-minimize-reader-load",{"tool":37,"command":38},"bunx","bunx skills add kausthubh-coder\u002Fskills --skill principle-minimize-reader-load",{"tool":40,"command":41},"pnpm","pnpm dlx skills add kausthubh-coder\u002Fskills --skill principle-minimize-reader-load","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkausthubh-coder\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fprinciple-minimize-reader-load\u002FSKILL.md",true,[],[46,53,60,67,74,81],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":19},"01M78HGP3TZ9GKGVHJWZQA260T","writing-for-agents","Write docs that agents read (skills, AGENTS.md, CLAUDE.md). Use when creating or editing a skill, or changing AGENTS.md or CLAUDE.md.","https:\u002F\u002Fgithub.com\u002Fkausthubh-coder\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-for-agents\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M78HGKHT02YCX5GN0J65AWNH","unslop","Make prose sound human, not AI-written. Use whenever you write a PR description, commit message, doc, README, release note, post, email or UI copy, or when asked to unslop or de-AI text.","https:\u002F\u002Fgithub.com\u002Fkausthubh-coder\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Funslop\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M78HGHGKYYCJF2TGFYP1V5SR","tutor","Run a study session from my exam plan and progress files in the study repo. Use when I say study, teach me, quiz me, practice for an exam, or check whether I really understand a topic.","https:\u002F\u002Fgithub.com\u002Fkausthubh-coder\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Ftutor\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"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},"01M78HGF54K9V30X8S1BJZ09V4","threads","Start, steer and read T3 threads on my laptop or Mac mini from either machine. Use to move a thread to the Mac, get a Windows check from the laptop, manage threads on both, or answer a message from the other machine.","https:\u002F\u002Fgithub.com\u002Fkausthubh-coder\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fthreads\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M78HG985HPM88MPYCNKBS40Y","statechart","Check a TLA+ model and draw it as a Mermaid statechart, with the shortest path to each broken rule. Use for \u002Fstatechart, to read a TLC result, or to show a bug as a path through states.","https:\u002F\u002Fgithub.com\u002Fkausthubh-coder\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fstatechart\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"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},"01M78HG7NEAG7FMFY92VC6YJVC","sol-loop","Review a change with GPT Sol in a loop until we both agree. Use when I say \"sol loop\".","https:\u002F\u002Fgithub.com\u002Fkausthubh-coder\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fsol-loop\u002FSKILL.md",[],[]]