[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ABGFYS5HP4Z5FMEC6ZTPPY":3,"skill-same:01M7ABGFYS5HP4Z5FMEC6ZTPPY":46},{"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":28,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M7ABGFYS5HP4Z5FMEC6ZTPPY","wait",null,"Shape the perceived wait — loading indicators, skeletons, optimistic updates. Use when building UI where content takes time to arrive, or when reviewing a screen that stalls. Not for the latency budget itself (how long a wait is acceptable) or for post-action success confirmation; the broader state floor lives in frontend:guidelines.","j0hanz\u002Fj0hanz-marketplace","j0hanz","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F159924955?v=4","01M7ABFK415CKHXYV9GZRJ16T7","Linus Johansson","01M7ABFK52FCPP2PNBH1YR7ZPA",0,"MIT","https:\u002F\u002Fgithub.com\u002Fj0hanz\u002Fj0hanz-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Ffrontend\u002Fskills\u002Fwait\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: wait\ndescription: 'Shape the perceived wait — loading indicators, skeletons, optimistic updates. Use when building UI where content takes time to arrive, or when reviewing a screen that stalls. Not for the latency budget itself (how long a wait is acceptable) or for post-action success confirmation; the broader state floor lives in frontend:guidelines.'\n---\n\n# Loading States\n\nDesign every wait a user can hit — initial load, submit, pagination, refresh, image loads. Pick each state deliberately, never leave it to a framework default.\n\n## Choosing the Pattern\n\nDefault to **skeleton**: a shimmering outline of the layout. It sets expectation and makes the wait feel shortest. Deviate only when a condition earns it:\n\n- **Measurable progress** (upload, multi-step job) — a determinate progress bar with percent or step count.\n- **Tiny, unknown-duration action** (button submit) — an inline spinner in the triggering control.\n- **User-caused mutation** (like, save, toggle) — optimistic UI: render the result instantly, roll it back visibly on failure.\n- **Slow media** — progressive reveal: blur-up images, critical content first, lazy-load below the fold.\n\n## Duration Tiers\n\n| Wait        | Response                                                            |\n| ----------- | ------------------------------------------------------------------- |\n| Under 100ms | No indicator; the wait is invisible                                 |\n| 100ms–1s    | Subtle skeleton or opacity shift                                    |\n| 1–10s       | Skeleton plus spinner; progress bar if measurable                   |\n| Over 10s    | Progress detail, a time estimate, and a cancel or background option |\n\n## Motion and Layout\n\n- Fade content in over ~200ms so arrival reads as a continuation of the shimmer, not a flash.\n- Reserve skeleton dimensions matching the final content, so loaded content lands without shifting layout.\n- Keep scroll position stable across refreshes.\n- Honor `prefers-reduced-motion`: swap the shimmer for a static placeholder.\n- For staggered lists, brief successive delays feel organic — each item reads as arriving, not rendering.\n\n## Completion\n\n- Every wait state above 100ms has a chosen pattern — including the error and empty outcomes of the load.\n- First paint always carries a loading affordance; the screen shows intent from frame one.\n- One loading indicator per region at a time.\n- Loads over 10s offer a way out or a way to background them.\n- Verified on a throttled connection (e.g. Slow 3G), where skeleton proportions and transition timing are actually exercised.\n","# Loading States\n\nDesign every wait a user can hit — initial load, submit, pagination, refresh, image loads. Pick each state deliberately, never leave it to a framework default.\n\n## Choosing the Pattern\n\nDefault to **skeleton**: a shimmering outline of the layout. It sets expectation and makes the wait feel shortest. Deviate only when a condition earns it:\n\n- **Measurable progress** (upload, multi-step job) — a determinate progress bar with percent or step count.\n- **Tiny, unknown-duration action** (button submit) — an inline spinner in the triggering control.\n- **User-caused mutation** (like, save, toggle) — optimistic UI: render the result instantly, roll it back visibly on failure.\n- **Slow media** — progressive reveal: blur-up images, critical content first, lazy-load below the fold.\n\n## Duration Tiers\n\n| Wait        | Response                                                            |\n| ----------- | ------------------------------------------------------------------- |\n| Under 100ms | No indicator; the wait is invisible                                 |\n| 100ms–1s    | Subtle skeleton or opacity shift                                    |\n| 1–10s       | Skeleton plus spinner; progress bar if measurable                   |\n| Over 10s    | Progress detail, a time estimate, and a cancel or background option |\n\n## Motion and Layout\n\n- Fade content in over ~200ms so arrival reads as a continuation of the shimmer, not a flash.\n- Reserve skeleton dimensions matching the final content, so loaded content lands without shifting layout.\n- Keep scroll position stable across refreshes.\n- Honor `prefers-reduced-motion`: swap the shimmer for a static placeholder.\n- For staggered lists, brief successive delays feel organic — each item reads as arriving, not rendering.\n\n## Completion\n\n- Every wait state above 100ms has a chosen pattern — including the error and empty outcomes of the load.\n- First paint always carries a loading affordance; the screen shows intent from frame one.\n- One loading indicator per region at a time.\n- Loads over 10s offer a way out or a way to background them.\n- Verified on a throttled connection (e.g. Slow 3G), where skeleton proportions and transition timing are actually exercised.\n",{"name":5,"description":7},"main","534498267dccbe415f22f31fceac9da6771c195f","plugins\u002Ffrontend\u002Fskills\u002Fwait","https:\u002F\u002Fgithub.com\u002Fj0hanz\u002Fj0hanz-marketplace","https:\u002F\u002Fj0hanz-marketplace.vercel.app","https:\u002F\u002Fgithub.com\u002Fj0hanz","linus-johansson-cv-d308be9b73e1.herokuapp.com","2026-11-15 02:42:07",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add j0hanz\u002Fj0hanz-marketplace --skill wait",{"tool":38,"command":39},"bunx","bunx skills add j0hanz\u002Fj0hanz-marketplace --skill wait",{"tool":41,"command":42},"pnpm","pnpm dlx skills add j0hanz\u002Fj0hanz-marketplace --skill wait","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fj0hanz\u002Fj0hanz-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Ffrontend\u002Fskills\u002Fwait\u002FSKILL.md",true,[],[47,54,61,68,75,82],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M7ABP78JFYBMCXJ9GMETCYZM","unslop","Use when writing or editing prose a person will read, or when text sounds AI-generated.","https:\u002F\u002Fgithub.com\u002Fj0hanz\u002Fj0hanz-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fwriteup\u002Fskills\u002Funslop\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M7ABP52BNV7NRPNBR6PCNZWC","show-me","Use when asked to show, diagram, or walk through how code fits together or what a change does, or before explaining a multi-file flow in prose.","https:\u002F\u002Fgithub.com\u002Fj0hanz\u002Fj0hanz-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fwriteup\u002Fskills\u002Fshow-me\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M7ABP3EPN4KFB4HPJNMY31NR","pr","Use when writing or updating a pull request description, or before running `gh pr create`.","https:\u002F\u002Fgithub.com\u002Fj0hanz\u002Fj0hanz-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fwriteup\u002Fskills\u002Fpr\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M7ABP08MXTHPZYTG4HKEP7WQ","commit","Use when writing a commit message, or before running `git commit`.","https:\u002F\u002Fgithub.com\u002Fj0hanz\u002Fj0hanz-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fwriteup\u002Fskills\u002Fcommit\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7ABNV9J7DN1AFRBGDBHVBY2","write-specs","Spec a feature's observable behavior. Use when asked for requirements, when a request says what the system should do but not how, or to capture what a built system already guarantees. Not for how to build it (write-plan).","https:\u002F\u002Fgithub.com\u002Fj0hanz\u002Fj0hanz-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fworkbench\u002Fskills\u002Fwrite-specs\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7ABNPK2GVG8EB3SSEAMK4FZ","write-skills","Write, fix, or audit a skill's frontmatter, trigger description, and body. Use when a skill is asked for, never fires, or fires at the wrong moment. Not for a hook (write-hooks) or the plugin manifest and catalog.","https:\u002F\u002Fgithub.com\u002Fj0hanz\u002Fj0hanz-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fworkbench\u002Fskills\u002Fwrite-skills\u002FSKILL.md",[],[]]