[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7C9KXJXPVS2SSHFT0SDWB57":3,"skill-same:01M7C9KXJXPVS2SSHFT0SDWB57":50},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"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":13,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":6,"ownerDescription":28,"updatedAt":29,"install":30,"resources":43},"01M7C9KXJXPVS2SSHFT0SDWB57","principle-mobile-native",null,"NickDabizaz\u002Fskills","NickDabizaz","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F94162428?v=4","01M7C9GBYFDJ5SPS3HTM528ATS","Nick","01M7C9GBZ2NQ6YYQN9TJB9E1ZG",0,"MIT","https:\u002F\u002Fgithub.com\u002FNickDabizaz\u002Fskills\u002Fblob\u002Fmaster\u002Fskills\u002Fprinciple-mobile-native\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: principle-mobile-native\ndescription: Make a web app feel native on a phone: the small CSS and meta fixes around hover, tap, viewport height, input zoom, scroll, safe areas, and status bar. Use when a web app is built for or reviewed on mobile, or when something feels wrong on a phone.\n---\n\n# Mobile Native\n\nMost \"janky on mobile\" reports are not animation problems. They are a tap delay, a gray flash, or a hover state that will not let go. Most of these are one line. Emulation does not reproduce them; test on real hardware.\n\n## Symptom to fix\n\n| Problem | Fix |\n| --- | --- |\n| Hover state stuck after tap | Wrap in `@media (hover: hover) and (pointer: fine)` |\n| Gray or blue flash on tap | `-webkit-tap-highlight-color: transparent` |\n| Wrong layout height | `100dvh` for an app shell, `100svh` for a hero |\n| Page zooms into an input | Inputs at 16px minimum; fix the cause, never disable zoom |\n| Tap feels laggy | Feedback on pointer-down plus `touch-action: manipulation` |\n| Pull-to-refresh hijacks scroll | `overscroll-behavior: none` on `html, body`, `contain` on inner scrollers |\n| Content stops at the notch | `viewport-fit=cover` plus `env(safe-area-inset-*)` |\n| Long-press selects control text | `user-select: none` on controls, never on body content |\n| Carousel scrolls the wrong way | `touch-action: pan-y` (or `pan-x`) on the gesture surface |\n| Status bar color wrong | One `theme-color` per `prefers-color-scheme` |\n| Wrong on a phone but right in Chrome | Test on real hardware |\n\n## Rules\n\n- **Media queries over device sniffing.** `(hover)`, `(pointer)`, `env()`, `dvh` tell you what the device can do. Never branch on user agent or screen width to guess touch.\n- **Touch and mouse are not exclusive.** Write for both at once; gate by capability.\n- **Never disable zoom.** `user-scalable=no` and `maximum-scale=1` are accessibility failures.\n- **Feedback on press, not release.** Native controls respond the instant a finger lands. Use `:active`, or `pointerdown`, not `click`.\n\n## Baseline\n\n```css\nhtml {\n  -webkit-tap-highlight-color: transparent;\n  -webkit-text-size-adjust: 100%;\n  overscroll-behavior: none;\n}\ninput, textarea, select { font-size: 16px; }\nbutton, a, [role=\"button\"] {\n  touch-action: manipulation;\n  user-select: none;\n}\n@media (hover: hover) and (pointer: fine) {\n  \u002F* all :hover rules live here *\u002F\n}\n```\n","# Mobile Native\n\nMost \"janky on mobile\" reports are not animation problems. They are a tap delay, a gray flash, or a hover state that will not let go. Most of these are one line. Emulation does not reproduce them; test on real hardware.\n\n## Symptom to fix\n\n| Problem | Fix |\n| --- | --- |\n| Hover state stuck after tap | Wrap in `@media (hover: hover) and (pointer: fine)` |\n| Gray or blue flash on tap | `-webkit-tap-highlight-color: transparent` |\n| Wrong layout height | `100dvh` for an app shell, `100svh` for a hero |\n| Page zooms into an input | Inputs at 16px minimum; fix the cause, never disable zoom |\n| Tap feels laggy | Feedback on pointer-down plus `touch-action: manipulation` |\n| Pull-to-refresh hijacks scroll | `overscroll-behavior: none` on `html, body`, `contain` on inner scrollers |\n| Content stops at the notch | `viewport-fit=cover` plus `env(safe-area-inset-*)` |\n| Long-press selects control text | `user-select: none` on controls, never on body content |\n| Carousel scrolls the wrong way | `touch-action: pan-y` (or `pan-x`) on the gesture surface |\n| Status bar color wrong | One `theme-color` per `prefers-color-scheme` |\n| Wrong on a phone but right in Chrome | Test on real hardware |\n\n## Rules\n\n- **Media queries over device sniffing.** `(hover)`, `(pointer)`, `env()`, `dvh` tell you what the device can do. Never branch on user agent or screen width to guess touch.\n- **Touch and mouse are not exclusive.** Write for both at once; gate by capability.\n- **Never disable zoom.** `user-scalable=no` and `maximum-scale=1` are accessibility failures.\n- **Feedback on press, not release.** Native controls respond the instant a finger lands. Use `:active`, or `pointerdown`, not `click`.\n\n## Baseline\n\n```css\nhtml {\n  -webkit-tap-highlight-color: transparent;\n  -webkit-text-size-adjust: 100%;\n  overscroll-behavior: none;\n}\ninput, textarea, select { font-size: 16px; }\nbutton, a, [role=\"button\"] {\n  touch-action: manipulation;\n  user-select: none;\n}\n@media (hover: hover) and (pointer: fine) {\n  \u002F* all :hover rules live here *\u002F\n}\n```\n",{},"master","51ae6656d3d7922a9936dbec1141eabbaebd95ba","skills\u002Fprinciple-mobile-native","https:\u002F\u002Fgithub.com\u002FNickDabizaz\u002Fskills","https:\u002F\u002Fgithub.com\u002FNickDabizaz","Software Engineer","2026-10-11 18:38:24",{"source":7,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add NickDabizaz\u002Fskills --skill principle-mobile-native",{"tool":36,"command":37},"bunx","bunx skills add NickDabizaz\u002Fskills --skill principle-mobile-native",{"tool":39,"command":40},"pnpm","pnpm dlx skills add NickDabizaz\u002Fskills --skill principle-mobile-native","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FNickDabizaz\u002Fskills\u002Fblob\u002Fmaster\u002Fskills\u002Fprinciple-mobile-native\u002FSKILL.md",true,[44],{"path":45,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":48,"sourceHtmlUrl":49},"agents\u002Fopenai.yaml","REFERENCE","参考文档",214,"https:\u002F\u002Fgithub.com\u002FNickDabizaz\u002Fskills\u002Fblob\u002Fmaster\u002Fskills\u002Fprinciple-mobile-native\u002Fagents\u002Fopenai.yaml",[51,58,65,72,79,86],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":18},"01M7C9R9N4GN60KJVQQ31WPST7","writing-for-agents","Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.","https:\u002F\u002Fgithub.com\u002FNickDabizaz\u002Fskills\u002Fblob\u002Fmaster\u002Fskills\u002Fwriting-for-agents\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":18},"01M7C9R63ZKDQXGV52K28SPDN2","wizard","Generate an interactive bash wizard that walks a human through steps only they can perform. Use when provisioning infrastructure, setting up credentials or CI secrets, walking an unfamiliar third-party dashboard, or running a one-off migration or cutover. Don't invoke this for steps the agent can perform itself.","https:\u002F\u002Fgithub.com\u002FNickDabizaz\u002Fskills\u002Fblob\u002Fmaster\u002Fskills\u002Fwizard\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":18},"01M7C9R12DH4ME1R65C2Y2MDJY","why","Use for 'why does X work this way', 'why we picked Y', design rationale, regressions, postmortems, or data-backed thresholds. Discovers available MCPs and queries each evidence category (source control, issue tracker, long-form docs, real-time chat, infrastructure observability, error tracking, product analytics warehouse) in parallel, then returns a cited read on decisions and tradeoffs. Use how for runtime behavior.","https:\u002F\u002Fgithub.com\u002FNickDabizaz\u002Fskills\u002Fblob\u002Fmaster\u002Fskills\u002Fwhy\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":18},"01M7C9QY62QQB3EBC8RSPMD8QF","wayfinder","Plan a huge chunk of work (more than one agent session can hold) as a shared map of decision tickets on your issue tracker, and resolve them one at a time until the way to the destination is clear.","https:\u002F\u002Fgithub.com\u002FNickDabizaz\u002Fskills\u002Fblob\u002Fmaster\u002Fskills\u002Fwayfinder\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":18},"01M7C9QW7VA5BEN6DFK2ZBKPEK","unslop","Cut AI tells from any writing. Must always apply.","https:\u002F\u002Fgithub.com\u002FNickDabizaz\u002Fskills\u002Fblob\u002Fmaster\u002Fskills\u002Funslop\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":18},"01M7C9QPDH4FGSMFTFN3P9BQ2M","triage","Move issues and external PRs through a state machine of triage roles, categorise, verify, grill if needed, and write agent-ready briefs.","https:\u002F\u002Fgithub.com\u002FNickDabizaz\u002Fskills\u002Fblob\u002Fmaster\u002Fskills\u002Ftriage\u002FSKILL.md",[],[]]