[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6EKSSTYVXDV0REZEF7J9X6F":3,"skill-same:01M6EKSSTYVXDV0REZEF7J9X6F":68},{"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":35,"linkOnly":36,"markdownContent":37,"markdownBody":38,"frontMatter":39,"refName":40,"commitSha":41,"skillDirectory":42,"forksCount":43,"repositoryHtmlUrl":44,"repositoryHomepageUrl":6,"ownerHtmlUrl":45,"ownerBlogUrl":6,"ownerDescription":46,"updatedAt":47,"install":48,"resources":61},"01M6EKSSTYVXDV0REZEF7J9X6F","repo-setup",null,"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.","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\u002Fskills\u002Frepo-setup\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34],"setup","repo setup","repo","ci","SET","refactor","Rules","repository","user","use","up","tooling","structure","tests","make","types","architecture","2026-11-10 10:12:30",false,"---\nname: repo-setup\ndescription: \"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.\"\n---\n\n# Repo Setup\n\nAgents take shortcuts and copy nearby patterns. Shape the repository so the\nshortest, most obvious implementation follows the intended architecture. Make\nimportant wrong paths impossible or fail early instead of relying on reminders.\n\n## Understand The Repository\n\nRead the source, build and test entrypoints, CI, static-analysis configuration,\nand existing instructions. Trace representative product flows to learn:\n\n- where a new feature naturally belongs;\n- which modules can change persistent state;\n- which shortcuts or recurring mistakes would be costly;\n- where external data is validated;\n- which local command proves a change is safe.\n\nSeparate the architecture the code currently has from the architecture the user\nactually wants. Present a concise mental model and the important choices before\nmaking judgment-heavy or broad structural changes. Ask only questions that can\nmaterially change the product or architecture.\n\n## Establish The Contract\n\nAgree on the important rules for the repository. Focus on rules that prevent\nreal confusion, coupling, or recurring mistakes, such as:\n\n- one obvious place to add each kind of feature;\n- one clear module or API that writes each persistent value;\n- simple code paths that make important invariants hard to bypass;\n- validation at external boundaries rather than scattered through the system;\n- one canonical local verification command that CI also runs.\n\nDo not copy another repository's layout blindly. Use its principles only when\nthey fit this product and codebase.\n\n## Make The Correct Path Easy\n\nRemove misleading, duplicate, and bypass paths when safe. Prefer the strongest\nproportional mechanism that fits the rule:\n\n1. code structure, data models, or types that make the mistake impossible;\n2. dependency rules, lint, or static analysis that fail the build;\n3. one canonical API, helper, generator, or extension convention;\n4. focused tests or runtime checks;\n5. written instructions only when the decision requires human judgment.\n\nAvoid speculative frameworks, broad compatibility layers, growing allowlists,\nand suppressions that hide existing violations. Improve the highest-value\nconstraints first and keep the system easy to understand.\n\n## Prove Each New Constraint\n\nDo not only show that normal code still works. Choose a real shortcut, past\nfailure, or likely high-impact mistake from this repository. Reproduce the\nsmallest safe example and show that the new structure or check rejects it with\na clear failure. Remove the temporary violation, run the normal path again, and\nconfirm that CI executes the same guard. Keep temporary violations out of the\nfinal change.\n\n## Learn From Failures\n\nAfter an agent mistake or user correction, fix the immediate problem and ask:\n\"Did the repository make this mistake easy?\" If recurrence would be material,\nstrengthen the owning structure or check and prove it catches the same class of\nfailure. Do not add machinery for harmless one-off judgment errors.\n\n## Report\n\nUse `concisely`. Explain the before-and-after mental model, enforced rules,\ncommands and evidence, decisions made with the user, remaining prose-only\nconstraints, and residual risk.\n\n## Gotchas\n\n- Do not treat the nearest existing pattern as the intended architecture.\n- Do not add import or package-boundary rules unless this repository needs them.\n- Do not encode an architectural choice before the user understands and accepts it.\n- Do not claim a guard works without showing it reject a representative violation.\n- Do not replace a simple repository with a complicated enforcement framework.\n- Do not leave both the new canonical path and the old shortcut in place by default.\n","# Repo Setup\n\nAgents take shortcuts and copy nearby patterns. Shape the repository so the\nshortest, most obvious implementation follows the intended architecture. Make\nimportant wrong paths impossible or fail early instead of relying on reminders.\n\n## Understand The Repository\n\nRead the source, build and test entrypoints, CI, static-analysis configuration,\nand existing instructions. Trace representative product flows to learn:\n\n- where a new feature naturally belongs;\n- which modules can change persistent state;\n- which shortcuts or recurring mistakes would be costly;\n- where external data is validated;\n- which local command proves a change is safe.\n\nSeparate the architecture the code currently has from the architecture the user\nactually wants. Present a concise mental model and the important choices before\nmaking judgment-heavy or broad structural changes. Ask only questions that can\nmaterially change the product or architecture.\n\n## Establish The Contract\n\nAgree on the important rules for the repository. Focus on rules that prevent\nreal confusion, coupling, or recurring mistakes, such as:\n\n- one obvious place to add each kind of feature;\n- one clear module or API that writes each persistent value;\n- simple code paths that make important invariants hard to bypass;\n- validation at external boundaries rather than scattered through the system;\n- one canonical local verification command that CI also runs.\n\nDo not copy another repository's layout blindly. Use its principles only when\nthey fit this product and codebase.\n\n## Make The Correct Path Easy\n\nRemove misleading, duplicate, and bypass paths when safe. Prefer the strongest\nproportional mechanism that fits the rule:\n\n1. code structure, data models, or types that make the mistake impossible;\n2. dependency rules, lint, or static analysis that fail the build;\n3. one canonical API, helper, generator, or extension convention;\n4. focused tests or runtime checks;\n5. written instructions only when the decision requires human judgment.\n\nAvoid speculative frameworks, broad compatibility layers, growing allowlists,\nand suppressions that hide existing violations. Improve the highest-value\nconstraints first and keep the system easy to understand.\n\n## Prove Each New Constraint\n\nDo not only show that normal code still works. Choose a real shortcut, past\nfailure, or likely high-impact mistake from this repository. Reproduce the\nsmallest safe example and show that the new structure or check rejects it with\na clear failure. Remove the temporary violation, run the normal path again, and\nconfirm that CI executes the same guard. Keep temporary violations out of the\nfinal change.\n\n## Learn From Failures\n\nAfter an agent mistake or user correction, fix the immediate problem and ask:\n\"Did the repository make this mistake easy?\" If recurrence would be material,\nstrengthen the owning structure or check and prove it catches the same class of\nfailure. Do not add machinery for harmless one-off judgment errors.\n\n## Report\n\nUse `concisely`. Explain the before-and-after mental model, enforced rules,\ncommands and evidence, decisions made with the user, remaining prose-only\nconstraints, and residual risk.\n\n## Gotchas\n\n- Do not treat the nearest existing pattern as the intended architecture.\n- Do not add import or package-boundary rules unless this repository needs them.\n- Do not encode an architectural choice before the user understands and accepts it.\n- Do not claim a guard works without showing it reject a representative violation.\n- Do not replace a simple repository with a complicated enforcement framework.\n- Do not leave both the new canonical path and the old shortcut in place by default.\n",{"name":5,"description":7},"main","0c773e8ba99fe384310af3f9ee59741106a53d95","skills\u002Frepo-setup",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":49,"prompt":59,"zipAvailable":60},[50,53,56],{"tool":51,"command":52},"npx","npx skills add minghinmatthewlam\u002Fagent-guards --skill repo-setup",{"tool":54,"command":55},"bunx","bunx skills add minghinmatthewlam\u002Fagent-guards --skill repo-setup",{"tool":57,"command":58},"pnpm","pnpm dlx skills add minghinmatthewlam\u002Fagent-guards --skill repo-setup","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fminghinmatthewlam\u002Fagent-guards\u002Fblob\u002Fmain\u002Fskills\u002Frepo-setup\u002FSKILL.md",true,[62],{"path":63,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":66,"sourceHtmlUrl":67},".instructions.docx.txt","REFERENCE","参考文档",653611,"https:\u002F\u002Fgithub.com\u002Ftrailofbits\u002Fovertly-malicious-skills\u002Fblob\u002Fmain\u002Fskills\u002Fcontext-loader\u002F.instructions.docx.txt",[69,93,116,140,159,175],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":35},"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",[],[71,76,77,78,79,20,80,27,81,82,83,84,85,86,87,88,89,90,91,92],"change","build","model","how","understand","code","explain","with","concept","deep","for","mental model","signatures","pstack","no code","components","when",{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":35},"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",[],[100,101,102,30,103,20,104,105,106,107,108,27,109,110,111,26,112,113,114,115],"audit","skills audit","coverage","codex","quality","local","guidance","paths","improve","custom skill","simplify","coverage gaps","context","compare","review","efficiency",{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":35},"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",[],[123,124,125,126,127,128,129,130,20,131,132,133,134,27,135,76,136,137,138,139],"record screen","record","screen","virtual","mp4","Video","app","as","records","linux","sessions","only","test","attach","proof","cloud","ui",{"skillNo":141,"name":142,"nameZh":6,"description":143,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":144,"categories":145,"keywords":146,"publishedAt":35},"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",[],[147,148,149,150,76,151,152,153,114,21,154,155,156,86,157,158],"pr","ori pr","take","ready","head","green","merge","perry","openrouter","web","true","comments",{"skillNo":160,"name":161,"nameZh":6,"description":162,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":163,"categories":164,"keywords":165,"publishedAt":35},"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",[],[166,167,168,134,76,169,170,27,171,172,173,174,26],"new task","task","alignment","implementation","clarify","product","planning","goal","outcome",{"skillNo":176,"name":177,"nameZh":6,"description":178,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":179,"categories":180,"keywords":181,"publishedAt":35},"01M6EKSCFNX23HN02XW0HW7J11","learn-from-mistake","Find why an agent produced a bad result, strengthen the code, repository, verification, tooling, or workflow that enabled it, then retry the original task. Use when the user asks to learn from a mistake, prevent recurrence, or postmortem an agent failure.","https:\u002F\u002Fgithub.com\u002Fminghinmatthewlam\u002Fagent-guards\u002Fblob\u002Fmain\u002Fskills\u002Flearn-from-mistake\u002FSKILL.md",[],[182,183,184,29,185,186,187,188,25,27,189,81,190,26,167],"learn from mistake","learn","verification","find","why","bad","postmortem","workflow","it"]