[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EBKPHY5E5DTBMF96PZJM4W":3,"skill-same:01M7EBKPHY5E5DTBMF96PZJM4W":58},{"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":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M7EBKPHY5E5DTBMF96PZJM4W","platform-first",null,"Platform-first: when writing browser styles, layout, animation or UI behaviour (dialogs, popovers, scroll, hover, forms), use CSS and HTML before JS or a library. Also when choosing JS syntax and built-in APIs, so code uses current built-ins over outdated habits.","joaodavidsilva\u002Fskills","joaodavidsilva","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F7389336?v=4","01M7EBJ7HADRG745ZRNHB763EW","João David Silva","01M7EBJ7HYJE4BVXESTBNW1BJ1",0,"MIT","https:\u002F\u002Fgithub.com\u002Fjoaodavidsilva\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fin-progress\u002Fplatform-first\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: platform-first\ndescription: \"Platform-first: when writing browser styles, layout, animation or UI behaviour (dialogs, popovers, scroll, hover, forms), use CSS and HTML before JS or a library. Also when choosing JS syntax and built-in APIs, so code uses current built-ins over outdated habits.\"\n---\n\n**Platform-first**: the web platform (CSS, HTML, built-in JS) already does most of what agents reach for a script or a library to do. Training data is full of legacy patterns, so the first idea is often the outdated one. Pick the laziest fix that works.\n\n## Process\n\n### 1. Read the target\n\nRead the project's browser target before choosing any feature: `browserslist` (or a `baseline widely available on \u003Cdate>` query), `package.json` `engines`, `tsconfig` `target` and `lib`, framework and bundler config (for example Vite `build.target`). Server code (Node, Deno, Bun) follows `engines`, because Baseline covers browsers only.\n\nDone when the target is recorded: one line naming the source and its value. No target found: record \"none, assume Baseline Widely\".\n\n### 2. Climb the laziest-fix ladder\n\nTake the first rung that solves the problem:\n\n1. Existing repo helper\n2. Standard library\n3. Native platform feature (CSS, HTML, built-in JS)\n4. Already-installed dependency\n5. One line\n6. New code\n\nDone when you name the rung and why each rung above it does not fit.\n\n### 3. Find the platform feature\n\nOpen the reference file for the branch you are on:\n\n- Styles, layout, animation, UI behaviour (dialogs, popovers, scroll, hover, forms): [reference\u002FCSS.md](reference\u002FCSS.md)\n- JS syntax and built-in APIs, dependencies, lint rules: [reference\u002FJS.md](reference\u002FJS.md)\n\nDone when the need matches a table row, or you record \"no row\" and move to the next ladder rung.\n\n### 4. Check availability against the target\n\nA reference row gives a tier: Widely, Newly, or Limited. Tiers move, so when a row is stale or unsure, verify the feature on MDN or web.dev (Baseline badge, per-browser support) before writing code.\n\n- Available in the target: use it, no polyfill.\n- Not available in the target: ship it as progressive enhancement (`@supports`, feature detection, the row's fallback) where the unenhanced result is complete. Where it is not complete, keep the existing approach.\n\nDone when each used feature has a tier recorded against the target, plus a fallback for every feature outside it.\n\n### 5. Run the repo's checks\n\nRun the repo's lint and type-check. When it has use-baseline rules (see `reference\u002FJS.md`), run them on the changed files.\n\nDone when the checks pass and no new dependency was added for something a table row covers.\n","**Platform-first**: the web platform (CSS, HTML, built-in JS) already does most of what agents reach for a script or a library to do. Training data is full of legacy patterns, so the first idea is often the outdated one. Pick the laziest fix that works.\n\n## Process\n\n### 1. Read the target\n\nRead the project's browser target before choosing any feature: `browserslist` (or a `baseline widely available on \u003Cdate>` query), `package.json` `engines`, `tsconfig` `target` and `lib`, framework and bundler config (for example Vite `build.target`). Server code (Node, Deno, Bun) follows `engines`, because Baseline covers browsers only.\n\nDone when the target is recorded: one line naming the source and its value. No target found: record \"none, assume Baseline Widely\".\n\n### 2. Climb the laziest-fix ladder\n\nTake the first rung that solves the problem:\n\n1. Existing repo helper\n2. Standard library\n3. Native platform feature (CSS, HTML, built-in JS)\n4. Already-installed dependency\n5. One line\n6. New code\n\nDone when you name the rung and why each rung above it does not fit.\n\n### 3. Find the platform feature\n\nOpen the reference file for the branch you are on:\n\n- Styles, layout, animation, UI behaviour (dialogs, popovers, scroll, hover, forms): [reference\u002FCSS.md](reference\u002FCSS.md)\n- JS syntax and built-in APIs, dependencies, lint rules: [reference\u002FJS.md](reference\u002FJS.md)\n\nDone when the need matches a table row, or you record \"no row\" and move to the next ladder rung.\n\n### 4. Check availability against the target\n\nA reference row gives a tier: Widely, Newly, or Limited. Tiers move, so when a row is stale or unsure, verify the feature on MDN or web.dev (Baseline badge, per-browser support) before writing code.\n\n- Available in the target: use it, no polyfill.\n- Not available in the target: ship it as progressive enhancement (`@supports`, feature detection, the row's fallback) where the unenhanced result is complete. Where it is not complete, keep the existing approach.\n\nDone when each used feature has a tier recorded against the target, plus a fallback for every feature outside it.\n\n### 5. Run the repo's checks\n\nRun the repo's lint and type-check. When it has use-baseline rules (see `reference\u002FJS.md`), run them on the changed files.\n\nDone when the checks pass and no new dependency was added for something a table row covers.\n",{"name":5,"description":7},"main","43f20093cbb9c7c6c53205d079f1a6ed38e8f409","skills\u002Fin-progress\u002Fplatform-first","https:\u002F\u002Fgithub.com\u002Fjoaodavidsilva\u002Fskills","https:\u002F\u002Fgithub.com\u002Fjoaodavidsilva","2026-11-13 00:08:54",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add joaodavidsilva\u002Fskills --skill platform-first",{"tool":36,"command":37},"bunx","bunx skills add joaodavidsilva\u002Fskills --skill platform-first",{"tool":39,"command":40},"pnpm","pnpm dlx skills add joaodavidsilva\u002Fskills --skill platform-first","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjoaodavidsilva\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fin-progress\u002Fplatform-first\u002FSKILL.md",true,[44,50,54],{"path":45,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":48,"sourceHtmlUrl":49},"agents\u002Fopenai.yaml","REFERENCE","参考文档",125,"https:\u002F\u002Fgithub.com\u002Fjoaodavidsilva\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fin-progress\u002Fplatform-first\u002Fagents\u002Fopenai.yaml",{"path":51,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":52,"sourceHtmlUrl":53},"reference\u002FCSS.md",6535,"https:\u002F\u002Fgithub.com\u002Fjoaodavidsilva\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fin-progress\u002Fplatform-first\u002Freference\u002FCSS.md",{"path":55,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":56,"sourceHtmlUrl":57},"reference\u002FJS.md",5968,"https:\u002F\u002Fgithub.com\u002Fjoaodavidsilva\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fin-progress\u002Fplatform-first\u002Freference\u002FJS.md",[59,66,73,80,87,94],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M7EBP8DHWNBT1JDGBE3F1C4E","wait-what","Stop. That last message did not land: re-pitch it.","https:\u002F\u002Fgithub.com\u002Fjoaodavidsilva\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fthinking\u002Fwait-what\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M7EBP6K4KE65Y6SHNXF6DZR9","to-questionnaire","Turn a decision you can't fully answer into a questionnaire for someone else to fill in.","https:\u002F\u002Fgithub.com\u002Fjoaodavidsilva\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fthinking\u002Fto-questionnaire\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7EBP4SF3TXCPYD5VCFHFYB9","teach","Teach the user a new skill or concept, within this workspace.","https:\u002F\u002Fgithub.com\u002Fjoaodavidsilva\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fthinking\u002Fteach\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7EBP2HG07RF956W8SEK006K","research","Investigate a question against high-trust primary sources and capture the findings as a Markdown file in the repo. Use when the user wants a topic researched, docs or API facts gathered, or reading legwork delegated to a background agent.","https:\u002F\u002Fgithub.com\u002Fjoaodavidsilva\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fthinking\u002Fresearch\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M7EBNYSRH90G1HJDSJS5KD41","prototype","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.","https:\u002F\u002Fgithub.com\u002Fjoaodavidsilva\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fthinking\u002Fprototype\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":19},"01M7EBNWZY0J8K21XPS21RFGNF","grilling","Grill the user relentlessly about a plan, decision, or idea. Use when the user wants to stress-test their thinking, or uses any 'grill' trigger phrases.","https:\u002F\u002Fgithub.com\u002Fjoaodavidsilva\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fthinking\u002Fgrilling\u002FSKILL.md",[],[]]