[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DEE629QS9ZAE16BW27GF86":3,"skill-same:01M7DEE629QS9ZAE16BW27GF86":56},{"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":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7DEE629QS9ZAE16BW27GF86","pigpen-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.","MichaelKinsy\u002Fpigpen","MichaelKinsy","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F54590707?v=4","01M7CYQK2FGYV1482DN7VHACJ6","Michael Kinsy","01M7DEAGVENVX1P76H737CT5FX",18,"MIT","https:\u002F\u002Fgithub.com\u002FMichaelKinsy\u002Fpigpen\u002Fblob\u002Fmain\u002Fcomponents\u002Fdev-skills\u002Fskills\u002Fpigpen-prototype\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: pigpen-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\nAdapted from `skills\u002Fengineering\u002Fprototype\u002FSKILL.md` of mattpocock\u002Fskills at d81f3a1 (MIT).\nThe changes are listed in the Package's CREDITS.md.\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, using 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, so 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 done.** Fold any validated decision into the real code, then capture the prototype itself as a **primary source**: commit it to a throwaway branch, out of main, and leave a pointer to that branch on the ticket the prototype answers. Capture the answer too (the verdict and the question it settled) in the ticket or a commit. If the decision is hard to reverse and surprising, record it as a decision record. The main branch keeps only the validated decision, never the prototype.\n","Adapted from `skills\u002Fengineering\u002Fprototype\u002FSKILL.md` of mattpocock\u002Fskills at d81f3a1 (MIT).\nThe changes are listed in the Package's CREDITS.md.\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, using 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, so 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 done.** Fold any validated decision into the real code, then capture the prototype itself as a **primary source**: commit it to a throwaway branch, out of main, and leave a pointer to that branch on the ticket the prototype answers. Capture the answer too (the verdict and the question it settled) in the ticket or a commit. If the decision is hard to reverse and surprising, record it as a decision record. The main branch keeps only the validated decision, never the prototype.\n",{"name":5,"description":7},"main","262f2fbc0c721ee470028905399e2cbe1d652847","components\u002Fdev-skills\u002Fskills\u002Fpigpen-prototype",5,"https:\u002F\u002Fgithub.com\u002FMichaelKinsy\u002Fpigpen","https:\u002F\u002Fgithub.com\u002FMichaelKinsy","Systems & platform engineer @ HPE | \r\nBSU Alumni 21.              |\r\nBuilding AI\u002Fsoftware infrastructure, tools, and open-source software.","2026-11-15 06:15:23",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add MichaelKinsy\u002Fpigpen --skill pigpen-prototype",{"tool":38,"command":39},"bunx","bunx skills add MichaelKinsy\u002Fpigpen --skill pigpen-prototype",{"tool":41,"command":42},"pnpm","pnpm dlx skills add MichaelKinsy\u002Fpigpen --skill pigpen-prototype","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMichaelKinsy\u002Fpigpen\u002Fblob\u002Fmain\u002Fcomponents\u002Fdev-skills\u002Fskills\u002Fpigpen-prototype\u002FSKILL.md",true,[46,52],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"LOGIC.md","REFERENCE","参考文档",5566,"https:\u002F\u002Fgithub.com\u002FMichaelKinsy\u002Fpigpen\u002Fblob\u002Fmain\u002Fcomponents\u002Fdev-skills\u002Fskills\u002Fpigpen-prototype\u002FLOGIC.md",{"path":53,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":54,"sourceHtmlUrl":55},"UI.md",5413,"https:\u002F\u002Fgithub.com\u002FMichaelKinsy\u002Fpigpen\u002Fblob\u002Fmain\u002Fcomponents\u002Fdev-skills\u002Fskills\u002Fpigpen-prototype\u002FUI.md",[57,64,71,78,85,92],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M7DEP7TB04M3XJ8Z0NGKW97X","pigpen-superpowers-writing-skills","Use when creating new skills, editing existing skills, or verifying skills work before deployment","https:\u002F\u002Fgithub.com\u002FMichaelKinsy\u002Fpigpen\u002Fblob\u002Fmain\u002Fcomponents\u002Fsuperpowers\u002Fskills\u002Fpigpen-superpowers-writing-skills\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M7DEP3W24SKFVMRYWJQB1073","pigpen-superpowers-writing-plans","Use when you have a spec or requirements for a multi-step task, before touching code","https:\u002F\u002Fgithub.com\u002FMichaelKinsy\u002Fpigpen\u002Fblob\u002Fmain\u002Fcomponents\u002Fsuperpowers\u002Fskills\u002Fpigpen-superpowers-writing-plans\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M7DENZ1ZPD21VGVXBQKE8Z4F","pigpen-superpowers-verification-before-completion","Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always","https:\u002F\u002Fgithub.com\u002FMichaelKinsy\u002Fpigpen\u002Fblob\u002Fmain\u002Fcomponents\u002Fsuperpowers\u002Fskills\u002Fpigpen-superpowers-verification-before-completion\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M7DENV9CTFN7KAGPA9BEMGQ1","pigpen-superpowers-using-superpowers","Use when starting any conversation - establishes how to find and use skills, requiring skill invocation before ANY response including clarifying questions","https:\u002F\u002Fgithub.com\u002FMichaelKinsy\u002Fpigpen\u002Fblob\u002Fmain\u002Fcomponents\u002Fsuperpowers\u002Fskills\u002Fpigpen-superpowers-using-superpowers\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M7DENQR56MYZJAAWDEX1YEMZ","pigpen-superpowers-using-git-worktrees","Use when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback","https:\u002F\u002Fgithub.com\u002FMichaelKinsy\u002Fpigpen\u002Fblob\u002Fmain\u002Fcomponents\u002Fsuperpowers\u002Fskills\u002Fpigpen-superpowers-using-git-worktrees\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":19},"01M7DENFGH1S9583WWJ4EY9RCN","pigpen-superpowers-test-driven-development","Use when implementing any feature or bugfix, before writing implementation code","https:\u002F\u002Fgithub.com\u002FMichaelKinsy\u002Fpigpen\u002Fblob\u002Fmain\u002Fcomponents\u002Fsuperpowers\u002Fskills\u002Fpigpen-superpowers-test-driven-development\u002FSKILL.md",[],[]]