[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M73RW44HRQJTJ33V12SVS612":3,"skill-same:01M73RW44HRQJTJ33V12SVS612":51},{"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":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M73RW44HRQJTJ33V12SVS612","frontend-bundler-config",null,"lookatitude\u002Fguild","lookatitude","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F524917?v=4","01M71GJ2KGXFSJZKAZC5P1ZXXM","Miguel Pinto","01M71GJ2MH4SH9WJKP8M7XZZ0P",8,"MIT","https:\u002F\u002Fgithub.com\u002Flookatitude\u002Fguild\u002Fblob\u002Fmain\u002Fskills\u002Fspecialists\u002Ffrontend-bundler-config\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: frontend-bundler-config\ndescription: Configures the frontend build — Vite \u002F Webpack \u002F esbuild \u002F Rollup: dev server, code splitting, tree shaking, asset handling, env-var injection, production optimisation, and bundle-size budgets. Output: a config diff plus a before\u002Fafter measurement (bundle size, build time, dev-server start). Pulled by the `frontend` specialist. TRIGGER: \"write the Vite config for X\", \"code-split the X route\", \"set up tree shaking \u002F shrink the bundle for X\", \"configure the dev server \u002F HMR for X\", \"wire env variables into the build\", \"set a bundle-size budget for X\", \"why is the production build so large\". DO NOT TRIGGER for: CI\u002FCD pipelines, deploy steps, release automation (devops-ci-cd-pipeline — frontend writes the build script, devops wires the pipeline), infra \u002F CDN provisioning (devops-infrastructure-as-code), React component authoring (use `frontend-react`), state \u002F data-fetching (use `frontend-state-management`), accessibility (use `frontend-a11y`), React Native \u002F Expo \u002F EAS builds (mobile-react-native).\nwhen_to_use: The parent `frontend` specialist pulls this skill when the task requires bundler or dev-server configuration, code splitting, or bundle-size work. Also fires on explicit user request.\ntype: specialist\n---\n\n# frontend-bundler-config\n\nEvery config change ships with a measurement — bundle bytes, build seconds, or dev-server start — proving it helped.\n\n## What you do\n\nTune the frontend build against a number, not a hunch. Take a measurement first, change one thing, measure again.\n\n- Start from data: run the bundle analyzer or capture build timing before touching config.\n- Code-split at route and heavy-dependency boundaries; lazy-load what's below the fold or behind a click.\n- Make tree shaking actually work — ship ESM, keep `sideEffects` honest in `package.json`, and avoid barrel files that pull in the world.\n- Hash asset filenames for cache-busting; inline only the smallest assets.\n- Inject env vars at build time from a documented allowlist; never let a secret reach the client bundle — everything shipped is public.\n- Set a bundle-size budget and make the build fail when it's exceeded.\n\n## Output shape\n\nA config diff plus its measurement:\n\n1. **Config diff** — the Vite \u002F Webpack \u002F esbuild \u002F Rollup change.\n2. **Measurement** — before\u002Fafter bundle size, build time, or dev-server start.\n3. **Split points** — which chunks were carved out and what triggers their load.\n4. **Env-var contract** — the build-time variable allowlist (and what's deliberately excluded).\n5. **Budget** — the size budget and where it's enforced in the build.\n\n## Anti-patterns\n\n- A config change with no before\u002Fafter number — you can't tell if it helped or hurt.\n- Secrets in client-exposed env vars — anything in the bundle is readable by anyone.\n- Barrel files or CommonJS interop silently defeating tree shaking.\n- One monolithic chunk — no splitting, slow first paint, nothing cacheable in isolation.\n- Unbounded bundle growth — no budget, no alarm until users complain about load time.\n- Over-splitting into hundreds of micro-chunks — a request waterfall that's slower than one chunk.\n\n## Handoff\n\nReturn the config diff and measurement to the invoking `frontend` specialist. The CI step that runs this build and enforces the budget gate is `devops-ci-cd-pipeline` territory — frontend writes the build script, devops wires the pipeline. This skill does not dispatch.\n","# frontend-bundler-config\n\nEvery config change ships with a measurement — bundle bytes, build seconds, or dev-server start — proving it helped.\n\n## What you do\n\nTune the frontend build against a number, not a hunch. Take a measurement first, change one thing, measure again.\n\n- Start from data: run the bundle analyzer or capture build timing before touching config.\n- Code-split at route and heavy-dependency boundaries; lazy-load what's below the fold or behind a click.\n- Make tree shaking actually work — ship ESM, keep `sideEffects` honest in `package.json`, and avoid barrel files that pull in the world.\n- Hash asset filenames for cache-busting; inline only the smallest assets.\n- Inject env vars at build time from a documented allowlist; never let a secret reach the client bundle — everything shipped is public.\n- Set a bundle-size budget and make the build fail when it's exceeded.\n\n## Output shape\n\nA config diff plus its measurement:\n\n1. **Config diff** — the Vite \u002F Webpack \u002F esbuild \u002F Rollup change.\n2. **Measurement** — before\u002Fafter bundle size, build time, or dev-server start.\n3. **Split points** — which chunks were carved out and what triggers their load.\n4. **Env-var contract** — the build-time variable allowlist (and what's deliberately excluded).\n5. **Budget** — the size budget and where it's enforced in the build.\n\n## Anti-patterns\n\n- A config change with no before\u002Fafter number — you can't tell if it helped or hurt.\n- Secrets in client-exposed env vars — anything in the bundle is readable by anyone.\n- Barrel files or CommonJS interop silently defeating tree shaking.\n- One monolithic chunk — no splitting, slow first paint, nothing cacheable in isolation.\n- Unbounded bundle growth — no budget, no alarm until users complain about load time.\n- Over-splitting into hundreds of micro-chunks — a request waterfall that's slower than one chunk.\n\n## Handoff\n\nReturn the config diff and measurement to the invoking `frontend` specialist. The CI step that runs this build and enforces the budget gate is `devops-ci-cd-pipeline` territory — frontend writes the build script, devops wires the pipeline. This skill does not dispatch.\n",{},"main","2e58b0360ca51ca3c96ca8e015ef5aba5738803d","skills\u002Fspecialists\u002Ffrontend-bundler-config",0,"https:\u002F\u002Fgithub.com\u002Flookatitude\u002Fguild","https:\u002F\u002Fgithub.com\u002Flookatitude","https:\u002F\u002Flookatitude.com","2026-11-06 03:55:18",{"source":7,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add lookatitude\u002Fguild --skill frontend-bundler-config",{"tool":37,"command":38},"bunx","bunx skills add lookatitude\u002Fguild --skill frontend-bundler-config",{"tool":40,"command":41},"pnpm","pnpm dlx skills add lookatitude\u002Fguild --skill frontend-bundler-config","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flookatitude\u002Fguild\u002Fblob\u002Fmain\u002Fskills\u002Fspecialists\u002Ffrontend-bundler-config\u002FSKILL.md",true,[45],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"evals.json","REFERENCE","参考文档",680,"https:\u002F\u002Fgithub.com\u002Flookatitude\u002Fguild\u002Fblob\u002Fmain\u002Fskills\u002Fspecialists\u002Ffrontend-bundler-config\u002Fevals.json",[52,58,64,70,76,82],{"skillNo":53,"name":54,"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":55,"categories":56,"keywords":57,"publishedAt":18},"01M73RXDTR96SBKTEEE35JMWS7","technical-writer-tutorial","https:\u002F\u002Fgithub.com\u002Flookatitude\u002Fguild\u002Fblob\u002Fmain\u002Fskills\u002Fspecialists\u002Ftechnical-writer-tutorial\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"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":61,"categories":62,"keywords":63,"publishedAt":18},"01M73RX9FY2GNEZT1S2SJZH307","social-media-thread","https:\u002F\u002Fgithub.com\u002Flookatitude\u002Fguild\u002Fblob\u002Fmain\u002Fskills\u002Fspecialists\u002Fsocial-media-thread\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"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":67,"categories":68,"keywords":69,"publishedAt":18},"01M73RWY3CNA6HP52QC65XTZ5A","security-dependency-audit","https:\u002F\u002Fgithub.com\u002Flookatitude\u002Fguild\u002Fblob\u002Fmain\u002Fskills\u002Fspecialists\u002Fsecurity-dependency-audit\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"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":73,"categories":74,"keywords":75,"publishedAt":18},"01M73RWBSKQXZ13SVRGS5K1K72","marketing-launch-plan","https:\u002F\u002Fgithub.com\u002Flookatitude\u002Fguild\u002Fblob\u002Fmain\u002Fskills\u002Fspecialists\u002Fmarketing-launch-plan\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"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":79,"categories":80,"keywords":81,"publishedAt":18},"01M73RW8DJAG381R94DN6KSTEG","marketing-ab-copy-variants","https:\u002F\u002Fgithub.com\u002Flookatitude\u002Fguild\u002Fblob\u002Fmain\u002Fskills\u002Fspecialists\u002Fmarketing-ab-copy-variants\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":18},"01M73RVFMJXAHRN7JVSF8FEJA5","doc-writer-onboarding-doc","Authors onboarding documentation and contributor guides — getting-started narrative pages, CONTRIBUTING.md, developer onboarding docs, new-user setup guides, CODE_OF_CONDUCT.md, GOVERNANCE.md. Pulled by the `doc-writer` specialist. TRIGGER: \"write a getting-started guide\", \"create a CONTRIBUTING.md\", \"onboarding guide for new developers\", \"write the contributor guide\", \"new-user setup documentation\", \"developer onboarding doc\", \"write the getting started page\", \"add a CODE_OF_CONDUCT\". DO NOT TRIGGER for: project README overview (use `doc-writer-readme`), onboarding email sequences for existing SaaS users (use `copywriter-email-sequences` — copywriter owns lifecycle nurture emails), API reference docs (use `technical-writer-api-docs`), formal step-by-step tutorials with prerequisite\u002Fverify blocks (use `technical-writer-tutorial`), changelogs or release notes (use `technical-writer-release-notes`), marketing copy about onboarding (use `copywriter-long-form`).","https:\u002F\u002Fgithub.com\u002Flookatitude\u002Fguild\u002Fblob\u002Fmain\u002Fskills\u002Fspecialists\u002Fdoc-writer-onboarding-doc\u002FSKILL.md",[],[]]