[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CZMGX8SFC1W844SAJYDNS3":3,"skill-same:01M6CZMGX8SFC1W844SAJYDNS3":64},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":7,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":7,"sourceHtmlUrl":16,"categories":17,"keywords":28,"publishedAt":29,"linkOnly":30,"markdownContent":31,"markdownBody":31,"frontMatter":32,"refName":33,"commitSha":34,"skillDirectory":35,"forksCount":36,"repositoryHtmlUrl":37,"repositoryHomepageUrl":7,"ownerHtmlUrl":38,"ownerBlogUrl":7,"ownerDescription":7,"updatedAt":39,"install":40,"resources":53},"01M6CZMGX8SFC1W844SAJYDNS3","prototype","快速原型开发",null,"","Testing-itay\u002FDevTools-Security-Lab","Testing-itay","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F230151326?v=4","01M6CZH4Q5Z571N5ZRZWMQ3YBS","01M6CZH4W55EHV4P1D3SNNRXSS",0,"MIT","https:\u002F\u002Fgithub.com\u002FTesting-itay\u002FDevTools-Security-Lab\u002Fblob\u002Fmain\u002F.cursor\u002Fskills\u002Fprototype\u002FSKILL.md",[18,23],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":24,"categoryName":25,"taxonomyType":26,"taxonomyTypeDesc":27},"01M8CA7BPYYPVSH8VYED4N4P5Y","技术预研与概念验证","SCENARIO","使用场景",[5],"2026-11-10 10:12:30",false,"\n\n\n\n---\nname: prototype\ndescription: Build a throwaway prototype to flesh out a design before committing to it. Routes between two branches — a runnable terminal app for state\u002Fbusiness-logic questions, or several radically different UI variations toggleable from one route. Use when the user wants to prototype, sanity-check a data model or state machine, mock up a UI, explore design options, or says \"prototype this\", \"let me play with it\", \"try a few designs\".\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 tiny interactive terminal app that pushes the state machine through cases that are hard to reason about on paper.\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. **One command to run.** Whatever the project's existing task runner supports — `pnpm \u003Cname>`, `python \u003Cpath>`, `bun \u003Cpath>`, etc. The user must be able to start it without thinking.\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 and then delete it.\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. **Delete or absorb when done.** When the prototype has answered its question, either delete it or fold the validated decision into the real code — don't leave it rotting in the repo.\n\n## When done\n\nThe _answer_ is the only thing worth keeping from a prototype. Capture it somewhere durable (commit message, ADR, issue, or a `NOTES.md` next to the prototype) along with the question it was answering. If the user is around, that capture is a quick conversation; if not, leave the placeholder so they (or you, on the next pass) can fill in the verdict before deleting the prototype.\n",{},"main","1188d0dcbd4e64256d35bfe14c955ba1c541b1de",".cursor\u002Fskills\u002Fprototype",13,"https:\u002F\u002Fgithub.com\u002FTesting-itay\u002FDevTools-Security-Lab","https:\u002F\u002Fgithub.com\u002FTesting-itay","2026-10-16 16:13:27",{"source":9,"skillName":5,"commands":41,"prompt":51,"zipAvailable":52},[42,45,48],{"tool":43,"command":44},"npx","npx skills add Testing-itay\u002FDevTools-Security-Lab --skill prototype",{"tool":46,"command":47},"bunx","bunx skills add Testing-itay\u002FDevTools-Security-Lab --skill prototype",{"tool":49,"command":50},"pnpm","pnpm dlx skills add Testing-itay\u002FDevTools-Security-Lab --skill prototype","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FTesting-itay\u002FDevTools-Security-Lab\u002Fblob\u002Fmain\u002F.cursor\u002Fskills\u002Fprototype\u002FSKILL.md",true,[54,60],{"path":55,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":58,"sourceHtmlUrl":59},"LOGIC.md","REFERENCE","参考文档",5598,"https:\u002F\u002Fgithub.com\u002FTesting-itay\u002FDevTools-Security-Lab\u002Fblob\u002Fmain\u002F.cursor\u002Fskills\u002Fprototype\u002FLOGIC.md",{"path":61,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":62,"sourceHtmlUrl":63},"UI.md",6793,"https:\u002F\u002Fgithub.com\u002FTesting-itay\u002FDevTools-Security-Lab\u002Fblob\u002Fmain\u002F.cursor\u002Fskills\u002Fprototype\u002FUI.md",[65,74,83,99,115,127],{"skillNo":66,"name":67,"nameZh":7,"description":7,"descriptionZh":7,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":7,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":7,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":29},"01M6CZR9VVRMS754ZKH7NPNMB1","sds-plugin-a11y-check","https:\u002F\u002Fgithub.com\u002FTesting-itay\u002FDevTools-Security-Lab\u002Fblob\u002Fmain\u002Fsrc\u002FnewDIR\u002Fbundles\u002Fplugins\u002Fsds-frontend-plugin\u002Fskills\u002Fsds-plugin-a11y-check\u002FSKILL.md",[],[71,72,73],"sds plugin a11y check","check","plugin",{"skillNo":75,"name":76,"nameZh":7,"description":7,"descriptionZh":7,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":7,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":7,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":29},"01M6CZR8FQ30QGEV5D3SB6DDKP","endpoint-review","https:\u002F\u002Fgithub.com\u002FTesting-itay\u002FDevTools-Security-Lab\u002Fblob\u002Fmain\u002Fsrc\u002FnewDIR\u002Fbundles\u002Fplugins\u002Fpython-api-plugin\u002Fskills\u002Fendpoint-review\u002FSKILL.md",[],[80,81,82],"endpoint review","endpoint","review",{"skillNo":84,"name":85,"nameZh":86,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":7,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":7,"sourceHtmlUrl":87,"categories":88,"keywords":95,"publishedAt":29},"01M6CZR6TYBN5EMBM70E096E66","schema-draft","数据库Schema草案设计","https:\u002F\u002Fgithub.com\u002FTesting-itay\u002FDevTools-Security-Lab\u002Fblob\u002Fmain\u002Fsrc\u002FnewDIR\u002Fbundles\u002Fplugins\u002Fpython-api-plugin\u002Fagents\u002Fpy-plugin-endpoint-designer\u002Fskills\u002Fschema-draft\u002FSKILL.md",[89,92],{"categoryNo":90,"categoryName":91,"taxonomyType":26,"taxonomyTypeDesc":27},"01M8BS1P4QM1G70C9FKMTZ88VK","数据库管理",{"categoryNo":93,"categoryName":94,"taxonomyType":21,"taxonomyTypeDesc":22},"01M8BTGTEHKD89NSZ5CT4Y5AGV","数据工程师",[96,97,98],"schema","schema draft","draft",{"skillNo":100,"name":101,"nameZh":102,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":7,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":7,"sourceHtmlUrl":103,"categories":104,"keywords":111,"publishedAt":29},"01M6CZR5SDWF91FHDK54XHXS67","doc-outline","文档大纲生成","https:\u002F\u002Fgithub.com\u002FTesting-itay\u002FDevTools-Security-Lab\u002Fblob\u002Fmain\u002Fsrc\u002FnewDIR\u002Fbundles\u002Fplugins\u002Fai-documentation-workflow\u002Fskills\u002Fdoc-outline\u002FSKILL.md",[105,108],{"categoryNo":106,"categoryName":107,"taxonomyType":26,"taxonomyTypeDesc":27},"01M8BQ6TK1MPB82068236GSXDE","文档处理",{"categoryNo":109,"categoryName":110,"taxonomyType":21,"taxonomyTypeDesc":22},"01M8BVB0FJ0RR8KXYVFTKEA3XX","技术文档工程师",[112,113,114],"doc outline","outline","doc",{"skillNo":116,"name":67,"nameZh":117,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":7,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":7,"sourceHtmlUrl":118,"categories":119,"keywords":126,"publishedAt":29},"01M6CZR3Z4WZCBA5FVJZB65B1Y","SDS插件无障碍检查","https:\u002F\u002Fgithub.com\u002FTesting-itay\u002FDevTools-Security-Lab\u002Fblob\u002Fmain\u002Fsrc\u002FnewD\u002FnewDIR\u002Fbundles\u002Fplugins\u002Fsds-frontend-plugin\u002Fskills\u002Fsds-plugin-a11y-check\u002FSKILL.md",[120,123],{"categoryNo":121,"categoryName":122,"taxonomyType":21,"taxonomyTypeDesc":22},"01M8BQ6TQMKHSMFVQHR2KYAEVN","界面设计师",{"categoryNo":124,"categoryName":125,"taxonomyType":26,"taxonomyTypeDesc":27},"01M8C0KXSTFVNZCAY3CD7ATQM3","无障碍合规检查",[71,72,73],{"skillNo":128,"name":76,"nameZh":129,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":7,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":7,"sourceHtmlUrl":130,"categories":131,"keywords":136,"publishedAt":29},"01M6CZR2PR7T4XYSJJWQYYPXVW","API端点审查","https:\u002F\u002Fgithub.com\u002FTesting-itay\u002FDevTools-Security-Lab\u002Fblob\u002Fmain\u002Fsrc\u002FnewD\u002FnewDIR\u002Fbundles\u002Fplugins\u002Fpython-api-plugin\u002Fskills\u002Fendpoint-review\u002FSKILL.md",[132,133],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":134,"categoryName":135,"taxonomyType":26,"taxonomyTypeDesc":27},"01M8CJ3T58C1GFPAH8M3Y8VR5K","后端开发",[82,80,81]]