[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CR61PJ2T65CJQR29M5P912":3,"skill-same:01M7CR61PJ2T65CJQR29M5P912":54},{"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":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M7CR61PJ2T65CJQR29M5P912","prototype",null,"Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.","kwanpham2195\u002Fagent-stuff","kwanpham2195","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F89118031?v=4","01M7CR3AJQJ8HHA69PDR24VE22","01M7CR3AKD7SGAQ1M1Z8HAD0BJ",3,"MIT","https:\u002F\u002Fgithub.com\u002Fkwanpham2195\u002Fagent-stuff\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow\u002Fprototype\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: prototype\ndescription: Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.\n---\n\n# Prototype\n\nA prototype is **throwaway code that answers a question**. The question decides the shape.\n\n## Pick a branch\n\nIdentify which question is being answered — from the user's prompt, the surrounding code, or by asking if the user is around:\n\n- **\"Does this logic \u002F state model feel right?\"** → [LOGIC.md](LOGIC.md). Build a single shareable HTML file — free-play buttons plus tabbed guided walkthroughs — that pushes the state machine through cases that are hard to reason about on paper, and that a non-developer can drive.\n- **\"What should this look like?\"** → [UI.md](UI.md). Generate several radically different UI variations on a single route, switchable via a URL search param and a floating bottom bar.\n\nThe two branches produce very different artifacts — getting this wrong wastes the whole prototype. If the question is genuinely ambiguous and the user isn't reachable, default to whichever branch better matches the surrounding code (a backend module → logic; a page or component → UI) and state the assumption at the top of the prototype.\n\n## Rules that apply to both\n\n1. **Throwaway from day one, and clearly marked as such.** Locate the prototype code close to where it will actually be used (next to the module or page it's prototyping for) so context is obvious — but name it so a casual reader can see it's a prototype, not production. For throwaway UI routes, obey whatever routing convention the project already uses; don't invent a new top-level structure.\n2. **Trivial to run.** A UI prototype starts from one command in the project's task runner — `pnpm \u003Cname>`, `python \u003Cpath>`, `bun \u003Cpath>`, etc. A logic demo is a single HTML file the user double-clicks. Either way, no thinking required to start it.\n3. **No persistence by default.** State lives in memory. Persistence is the thing the prototype is _checking_, not something it should depend on. If the question explicitly involves a database, hit a scratch DB or a local file with a clear \"PROTOTYPE — wipe me\" name.\n4. **Skip the polish.** No tests, no error handling beyond what makes the prototype _runnable_, no abstractions. The point is to learn something fast.\n5. **Surface the state.** After every action (logic) or on every variant switch (UI), print or render the full relevant state so the user can see what changed.\n6. **Capture it when the task calls for a durable artifact.** If the user asks to continue into implementation, fold the validated decision into the real code. Preserve the prototype as a primary source, and record the verdict and the question it settled, when the user or repository workflow calls for that record. Creating a throwaway branch, commit, or issue pointer is optional and requires that scope; do not create Git history or issue work implicitly.\n","# Prototype\n\nA prototype is **throwaway code that answers a question**. The question decides the shape.\n\n## Pick a branch\n\nIdentify which question is being answered — from the user's prompt, the surrounding code, or by asking if the user is around:\n\n- **\"Does this logic \u002F state model feel right?\"** → [LOGIC.md](LOGIC.md). Build a single shareable HTML file — free-play buttons plus tabbed guided walkthroughs — that pushes the state machine through cases that are hard to reason about on paper, and that a non-developer can drive.\n- **\"What should this look like?\"** → [UI.md](UI.md). Generate several radically different UI variations on a single route, switchable via a URL search param and a floating bottom bar.\n\nThe two branches produce very different artifacts — getting this wrong wastes the whole prototype. If the question is genuinely ambiguous and the user isn't reachable, default to whichever branch better matches the surrounding code (a backend module → logic; a page or component → UI) and state the assumption at the top of the prototype.\n\n## Rules that apply to both\n\n1. **Throwaway from day one, and clearly marked as such.** Locate the prototype code close to where it will actually be used (next to the module or page it's prototyping for) so context is obvious — but name it so a casual reader can see it's a prototype, not production. For throwaway UI routes, obey whatever routing convention the project already uses; don't invent a new top-level structure.\n2. **Trivial to run.** A UI prototype starts from one command in the project's task runner — `pnpm \u003Cname>`, `python \u003Cpath>`, `bun \u003Cpath>`, etc. A logic demo is a single HTML file the user double-clicks. Either way, no thinking required to start it.\n3. **No persistence by default.** State lives in memory. Persistence is the thing the prototype is _checking_, not something it should depend on. If the question explicitly involves a database, hit a scratch DB or a local file with a clear \"PROTOTYPE — wipe me\" name.\n4. **Skip the polish.** No tests, no error handling beyond what makes the prototype _runnable_, no abstractions. The point is to learn something fast.\n5. **Surface the state.** After every action (logic) or on every variant switch (UI), print or render the full relevant state so the user can see what changed.\n6. **Capture it when the task calls for a durable artifact.** If the user asks to continue into implementation, fold the validated decision into the real code. Preserve the prototype as a primary source, and record the verdict and the question it settled, when the user or repository workflow calls for that record. Creating a throwaway branch, commit, or issue pointer is optional and requires that scope; do not create Git history or issue work implicitly.\n",{"name":5,"description":7},"main","9c1210e1d90382679133cef3600fcfc783e5cfb9","skills\u002Fworkflow\u002Fprototype",0,"https:\u002F\u002Fgithub.com\u002Fkwanpham2195\u002Fagent-stuff","https:\u002F\u002Fgithub.com\u002Fkwanpham2195","2026-09-15 14:40:43",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add kwanpham2195\u002Fagent-stuff --skill prototype",{"tool":36,"command":37},"bunx","bunx skills add kwanpham2195\u002Fagent-stuff --skill prototype",{"tool":39,"command":40},"pnpm","pnpm dlx skills add kwanpham2195\u002Fagent-stuff --skill prototype","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkwanpham2195\u002Fagent-stuff\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow\u002Fprototype\u002FSKILL.md",true,[44,50],{"path":45,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":48,"sourceHtmlUrl":49},"LOGIC.md","REFERENCE","参考文档",6037,"https:\u002F\u002Fgithub.com\u002Fkwanpham2195\u002Fagent-stuff\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow\u002Fprototype\u002FLOGIC.md",{"path":51,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":52,"sourceHtmlUrl":53},"UI.md",7092,"https:\u002F\u002Fgithub.com\u002Fkwanpham2195\u002Fagent-stuff\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow\u002Fprototype\u002FUI.md",[55,62,69,76,83,90],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":18},"01M7CR6WJNEV9H8GBH2EKXJSNX","writing-for-agents","Use when writing skills, agent instructions, or references consumed by agents.","https:\u002F\u002Fgithub.com\u002Fkwanpham2195\u002Fagent-stuff\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-for-agents\u002FSKILL.md",[],[],{"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":18},"01M7CR6S313FZR72HKM51DCB41","write-tbp","Writing technical blog posts about project features and implementation details. Use when creating blog content about how a project solves interesting problems.","https:\u002F\u002Fgithub.com\u002Fkwanpham2195\u002Fagent-stuff\u002Fblob\u002Fmain\u002Fskills\u002Fwrite-tbp\u002FSKILL.md",[],[],{"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":18},"01M7CR6N6BNKGYHQ805AJV16DV","write-pr","Reference standards for writing pull request titles and descriptions, plus the pre-flight comment sweep over the diff. Use as supporting guidance when another skill or workflow needs PR content standards, not as the user-facing create\u002Fupdate PR workflow.","https:\u002F\u002Fgithub.com\u002Fkwanpham2195\u002Fagent-stuff\u002Fblob\u002Fmain\u002Fskills\u002Fwrite-pr\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":18},"01M7CR6GGW9PW4X1KWPZPCG0SP","write-issue","Reference standards for writing and maintaining local or remote issues. Use when another skill needs issue title, body, type, or triage guidance.","https:\u002F\u002Fgithub.com\u002Fkwanpham2195\u002Fagent-stuff\u002Fblob\u002Fmain\u002Fskills\u002Fwrite-issue\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":18},"01M7CR6D8TD9BCJ96V6A0B9QSW","write-exec-plan","Write or maintain a plan for complex work across phases or PRs. Resolve consequential technical unknowns through prototypes before defining implementation checklists and their evidence.","https:\u002F\u002Fgithub.com\u002Fkwanpham2195\u002Fagent-stuff\u002Fblob\u002Fmain\u002Fskills\u002Fwrite-exec-plan\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":18},"01M7CR6821CMEQPX6ESPA7WQ18","write-design-doc","Write a design doc that settles hard-to-reverse decisions before anyone builds.","https:\u002F\u002Fgithub.com\u002Fkwanpham2195\u002Fagent-stuff\u002Fblob\u002Fmain\u002Fskills\u002Fwrite-design-doc\u002FSKILL.md",[],[]]