[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6R2BPMDYK9XKWPARY0S5MS3":3,"skill-same:01M6R2BPMDYK9XKWPARY0S5MS3":111},{"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":34,"linkOnly":35,"markdownContent":36,"markdownBody":37,"frontMatter":38,"refName":42,"commitSha":43,"skillDirectory":44,"forksCount":45,"repositoryHtmlUrl":46,"repositoryHomepageUrl":47,"ownerHtmlUrl":48,"ownerBlogUrl":49,"ownerDescription":50,"updatedAt":51,"install":52,"resources":65},"01M6R2BPMDYK9XKWPARY0S5MS3","javascript-best-practices",null,"Modern JavaScript best practices and performance optimization guidelines. Use when writing, reviewing, or refactoring JavaScript code to ensure optimal performance, maintainability, and modern patterns.","VRIL-LABS\u002Fskill-jam","VRIL-LABS","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F272046472?v=4","01M6QR9PNWM28WZYJJASER1RG2","𝗩𝗥𝗜𝗟 𝗟𝗔𝗕𝗦","01M6QR9PT6Q6JDCQ97EQBDX6E4",2,"MIT","https:\u002F\u002Fgithub.com\u002FVRIL-LABS\u002Fskill-jam\u002Fblob\u002Fmain\u002Fskills\u002Fweb-frontend\u002Fneversight-skills_feed-javascript-best-practices-1.0.2\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33],"javascript","best practices","JavaScript Best Practices","writing","performance","guidelines","code","Optimization","refactoring","performance optimization","use","patterns","maintainability","name","when","2026-11-10 10:12:30",false,"---\nname: javascript-best-practices\ndescription: Modern JavaScript best practices and performance optimization guidelines. Use when writing, reviewing, or refactoring JavaScript code to ensure optimal performance, maintainability, and modern patterns.\nlicense: MIT\nmetadata:\n  author: your-name\n  version: \"1.0.0\"\n---\n\n# JavaScript Best Practices\n\nComprehensive guide for modern JavaScript development covering performance, code quality, and best practices.\n\n## When to Apply\n\nReference these guidelines when:\n- Writing new JavaScript code\n- Reviewing code for performance or quality issues\n- Refactoring existing JavaScript code\n- Optimizing application performance\n- Ensuring code maintainability\n\n## Rule Categories by Priority\n\n| Priority | Category | Impact | Prefix |\n|----------|----------|--------|--------|\n| 1 | Performance | CRITICAL | `perf-` |\n| 2 | Async Patterns | HIGH | `async-` |\n| 3 | Error Handling | HIGH | `error-` |\n| 4 | Code Quality | HIGH | `quality-` |\n| 5 | Modern Syntax | MEDIUM | `modern-` |\n| 6 | Arrays | MEDIUM | `array-` |\n\n## Quick Reference\n\n### 1. Performance (CRITICAL)\n\n- `perf-avoid-memory-leaks` - Always cleanup event listeners, timers, intervals, subscriptions, and observers\n\n### 2. Async Patterns (HIGH)\n\n- `async-promise-chains` - Prefer async\u002Fawait over .then()\u002F.catch() chains for better readability\n\n### 3. Error Handling (HIGH)\n\n- `error-defensive-programming` - Use guard clauses and validate input at system boundaries\n- `error-explicit-validation` - Don't hide data errors with optional chaining - validate explicitly\n\n### 4. Code Quality (HIGH)\n\n- `quality-strict-equality` - Use === instead of == (except for null checks)\n- `quality-explicit-boolean-checks` - Don't rely on truthy\u002Ffalsy for non-boolean values\n- `quality-small-functions` - Keep functions focused on one task (5-15 lines ideal)\n- `quality-no-magic-numbers` - Extract numbers to named constants\n- `quality-immutability` - Prefer creating new objects\u002Farrays over mutating existing ones\n- `quality-pure-functions` - Write functions with no side effects when possible\n- `quality-naming-conventions` - Use meaningful, consistent names (camelCase, PascalCase, UPPER_SNAKE_CASE)\n- `quality-commenting` - Comments explain \"why\", not \"what\" - code should be self-documenting\n- `quality-avoid-console-log` - Use structured logging with levels in production\n\n### 5. Modern Syntax (MEDIUM)\n\n- `modern-const-let-no-var` - Never use var; prefer const, use let only when reassignment is needed\n\n### 6. Arrays (MEDIUM)\n\n- `array-mutation-safety` - Avoid in-place mutations (push, sort, reverse) on shared arrays\n\n## How to Use\n\nRead individual rule files for detailed explanations and code examples:\n\n```\nrules\u002Fperf-avoid-memory-leaks.md\nrules\u002Fasync-promise-chains.md\nrules\u002Ferror-defensive-programming.md\nrules\u002Fquality-strict-equality.md\n```\n\nEach rule file contains:\n- Brief explanation of why it matters\n- Incorrect code example with explanation\n- Correct code example with explanation\n- Additional context and references\n\n## Full Compiled Document\n\nFor the complete guide with all rules expanded: `AGENTS.md`\n","# JavaScript Best Practices\n\nComprehensive guide for modern JavaScript development covering performance, code quality, and best practices.\n\n## When to Apply\n\nReference these guidelines when:\n- Writing new JavaScript code\n- Reviewing code for performance or quality issues\n- Refactoring existing JavaScript code\n- Optimizing application performance\n- Ensuring code maintainability\n\n## Rule Categories by Priority\n\n| Priority | Category | Impact | Prefix |\n|----------|----------|--------|--------|\n| 1 | Performance | CRITICAL | `perf-` |\n| 2 | Async Patterns | HIGH | `async-` |\n| 3 | Error Handling | HIGH | `error-` |\n| 4 | Code Quality | HIGH | `quality-` |\n| 5 | Modern Syntax | MEDIUM | `modern-` |\n| 6 | Arrays | MEDIUM | `array-` |\n\n## Quick Reference\n\n### 1. Performance (CRITICAL)\n\n- `perf-avoid-memory-leaks` - Always cleanup event listeners, timers, intervals, subscriptions, and observers\n\n### 2. Async Patterns (HIGH)\n\n- `async-promise-chains` - Prefer async\u002Fawait over .then()\u002F.catch() chains for better readability\n\n### 3. Error Handling (HIGH)\n\n- `error-defensive-programming` - Use guard clauses and validate input at system boundaries\n- `error-explicit-validation` - Don't hide data errors with optional chaining - validate explicitly\n\n### 4. Code Quality (HIGH)\n\n- `quality-strict-equality` - Use === instead of == (except for null checks)\n- `quality-explicit-boolean-checks` - Don't rely on truthy\u002Ffalsy for non-boolean values\n- `quality-small-functions` - Keep functions focused on one task (5-15 lines ideal)\n- `quality-no-magic-numbers` - Extract numbers to named constants\n- `quality-immutability` - Prefer creating new objects\u002Farrays over mutating existing ones\n- `quality-pure-functions` - Write functions with no side effects when possible\n- `quality-naming-conventions` - Use meaningful, consistent names (camelCase, PascalCase, UPPER_SNAKE_CASE)\n- `quality-commenting` - Comments explain \"why\", not \"what\" - code should be self-documenting\n- `quality-avoid-console-log` - Use structured logging with levels in production\n\n### 5. Modern Syntax (MEDIUM)\n\n- `modern-const-let-no-var` - Never use var; prefer const, use let only when reassignment is needed\n\n### 6. Arrays (MEDIUM)\n\n- `array-mutation-safety` - Avoid in-place mutations (push, sort, reverse) on shared arrays\n\n## How to Use\n\nRead individual rule files for detailed explanations and code examples:\n\n```\nrules\u002Fperf-avoid-memory-leaks.md\nrules\u002Fasync-promise-chains.md\nrules\u002Ferror-defensive-programming.md\nrules\u002Fquality-strict-equality.md\n```\n\nEach rule file contains:\n- Brief explanation of why it matters\n- Incorrect code example with explanation\n- Correct code example with explanation\n- Additional context and references\n\n## Full Compiled Document\n\nFor the complete guide with all rules expanded: `AGENTS.md`\n",{"name":5,"license":15,"metadata":39,"description":7},{"author":40,"version":41},"your-name","1.0.0","main","5b00ad8b9f0787969474ff5e9ec417bb55f23827","skills\u002Fweb-frontend\u002Fneversight-skills_feed-javascript-best-practices-1.0.2",0,"https:\u002F\u002Fgithub.com\u002FVRIL-LABS\u002Fskill-jam","https:\u002F\u002Fvril.li","https:\u002F\u002Fgithub.com\u002FVRIL-LABS","vril.li","𝗥𝗲𝘀𝗲𝗮𝗿𝗰𝗵 𝗮𝗻𝗱 𝗗𝗲𝘃𝗲𝗹𝗼𝗽𝗺𝗲𝗻𝘁 𝗖𝗼𝗻𝘀𝗼𝗿𝘁𝗶𝘂𝗺","2026-08-24 09:21:38",{"source":8,"skillName":5,"commands":53,"prompt":63,"zipAvailable":64},[54,57,60],{"tool":55,"command":56},"npx","npx skills add VRIL-LABS\u002Fskill-jam --skill javascript-best-practices",{"tool":58,"command":59},"bunx","bunx skills add VRIL-LABS\u002Fskill-jam --skill javascript-best-practices",{"tool":61,"command":62},"pnpm","pnpm dlx skills add VRIL-LABS\u002Fskill-jam --skill javascript-best-practices","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FVRIL-LABS\u002Fskill-jam\u002Fblob\u002Fmain\u002Fskills\u002Fweb-frontend\u002Fneversight-skills_feed-javascript-best-practices-1.0.2\u002FSKILL.md",true,[66,72,76,80,84,88,92,96,100,104,108],{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"description_ar.txt","REFERENCE","参考文档",321,"https:\u002F\u002Fgithub.com\u002FVRIL-LABS\u002Fskill-jam\u002Fblob\u002Fmain\u002Fskills\u002Fweb-frontend\u002Fneversight-skills_feed-javascript-best-practices-1.0.2\u002Fdescription_ar.txt",{"path":73,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":74,"sourceHtmlUrl":75},"description_cn.txt",166,"https:\u002F\u002Fgithub.com\u002FVRIL-LABS\u002Fskill-jam\u002Fblob\u002Fmain\u002Fskills\u002Fweb-frontend\u002Fneversight-skills_feed-javascript-best-practices-1.0.2\u002Fdescription_cn.txt",{"path":77,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":78,"sourceHtmlUrl":79},"description_de.txt",230,"https:\u002F\u002Fgithub.com\u002FVRIL-LABS\u002Fskill-jam\u002Fblob\u002Fmain\u002Fskills\u002Fweb-frontend\u002Fneversight-skills_feed-javascript-best-practices-1.0.2\u002Fdescription_de.txt",{"path":81,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":82,"sourceHtmlUrl":83},"description_en.txt",203,"https:\u002F\u002Fgithub.com\u002FVRIL-LABS\u002Fskill-jam\u002Fblob\u002Fmain\u002Fskills\u002Fweb-frontend\u002Fneversight-skills_feed-javascript-best-practices-1.0.2\u002Fdescription_en.txt",{"path":85,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":86,"sourceHtmlUrl":87},"description_es.txt",223,"https:\u002F\u002Fgithub.com\u002FVRIL-LABS\u002Fskill-jam\u002Fblob\u002Fmain\u002Fskills\u002Fweb-frontend\u002Fneversight-skills_feed-javascript-best-practices-1.0.2\u002Fdescription_es.txt",{"path":89,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":90,"sourceHtmlUrl":91},"description_fr.txt",268,"https:\u002F\u002Fgithub.com\u002FVRIL-LABS\u002Fskill-jam\u002Fblob\u002Fmain\u002Fskills\u002Fweb-frontend\u002Fneversight-skills_feed-javascript-best-practices-1.0.2\u002Fdescription_fr.txt",{"path":93,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":94,"sourceHtmlUrl":95},"description_it.txt",246,"https:\u002F\u002Fgithub.com\u002FVRIL-LABS\u002Fskill-jam\u002Fblob\u002Fmain\u002Fskills\u002Fweb-frontend\u002Fneversight-skills_feed-javascript-best-practices-1.0.2\u002Fdescription_it.txt",{"path":97,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":98,"sourceHtmlUrl":99},"description_ja.txt",308,"https:\u002F\u002Fgithub.com\u002FVRIL-LABS\u002Fskill-jam\u002Fblob\u002Fmain\u002Fskills\u002Fweb-frontend\u002Fneversight-skills_feed-javascript-best-practices-1.0.2\u002Fdescription_ja.txt",{"path":101,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":102,"sourceHtmlUrl":103},"description_ko.txt",224,"https:\u002F\u002Fgithub.com\u002FVRIL-LABS\u002Fskill-jam\u002Fblob\u002Fmain\u002Fskills\u002Fweb-frontend\u002Fneversight-skills_feed-javascript-best-practices-1.0.2\u002Fdescription_ko.txt",{"path":105,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":106,"sourceHtmlUrl":107},"description_ru.txt",457,"https:\u002F\u002Fgithub.com\u002FVRIL-LABS\u002Fskill-jam\u002Fblob\u002Fmain\u002Fskills\u002Fweb-frontend\u002Fneversight-skills_feed-javascript-best-practices-1.0.2\u002Fdescription_ru.txt",{"path":109,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":74,"sourceHtmlUrl":110},"description_tw.txt","https:\u002F\u002Fgithub.com\u002FVRIL-LABS\u002Fskill-jam\u002Fblob\u002Fmain\u002Fskills\u002Fweb-frontend\u002Fneversight-skills_feed-javascript-best-practices-1.0.2\u002Fdescription_tw.txt",[112,136,152,189,212,236],{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":123,"publishedAt":34},"01M6R2CQRG190P09DAHMF8M5QP","three-best-practices","Three.js performance optimization and best practices guidelines. Use when writing, reviewing, or optimizing Three.js code. Triggers on tasks involving 3D scenes, WebGL\u002FWebGPU rendering, geometries, materials, textures, lighting, shaders, or TSL.","https:\u002F\u002Fgithub.com\u002FVRIL-LABS\u002Fskill-jam\u002Fblob\u002Fmain\u002Fskills\u002Fweb-frontend\u002Fneversight-skills_feed-three-best-practices-1.0.2\u002FSKILL.md",[118],{"categoryNo":119,"categoryName":120,"taxonomyType":121,"taxonomyTypeDesc":122},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[20,124,125,22,23,126,24,127,25,128,26,129,29,130,131,132,133,134,33,135],"three","three best practices","webgpu","tasks","shaders","3D","agent-skills","scenes","lighting","triggers","rendering","best practices guidelines",{"skillNo":137,"name":138,"nameZh":6,"description":139,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":140,"categories":141,"keywords":145,"publishedAt":34},"01M6R2B41BN09FYH76BAC5FT7X","css-best-practices","Guidelines for building modern, performant, and accessible CSS using MDN best practices. Use this when styling components, fixing layout shifts, or optimizing CSS performance.","https:\u002F\u002Fgithub.com\u002FVRIL-LABS\u002Fskill-jam\u002Fblob\u002Fmain\u002Fskills\u002Fweb-frontend\u002Fneversight-skills_feed-css-best-practices-1.0.3\u002FSKILL.md",[142],{"categoryNo":143,"categoryName":144,"taxonomyType":121,"taxonomyTypeDesc":122},"01JBSEEDCAT000000000000009","前端开发",[146,20,147,23,148,24,29,149,150,151,33],"css","css best practices","components","styling","layout","for",{"skillNo":153,"name":154,"nameZh":6,"description":155,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":156,"categories":157,"keywords":170,"publishedAt":34},"01M6R2A1CEF123TZCNM1XJ2XQ4","frontend-dev","Full-stack frontend development combining premium UI design, cinematic animations,\nAI-generated media assets, persuasive copywriting, and visual art. Builds complete,\nvisually striking web pages with real media, advanced motion, and compelling copy.\nUse when: building landing pages, marketing sites, product pages, dashboards,\ngenerating media assets (image\u002Fvideo\u002Faudio\u002Fmusic), writing conversion copy,\ncreating generative art, or implementing cinematic scroll animations.","https:\u002F\u002Fgithub.com\u002FVRIL-LABS\u002Fskill-jam\u002Fblob\u002Fmain\u002Fskills\u002Fweb-frontend\u002Fminimax-ai-skills-frontend-dev-1.0.1\u002FSKILL.md",[158,159,162,165],{"categoryNo":143,"categoryName":144,"taxonomyType":121,"taxonomyTypeDesc":122},{"categoryNo":160,"categoryName":161,"taxonomyType":121,"taxonomyTypeDesc":122},"01JBSEEDCAT000000000000015","视觉设计",{"categoryNo":163,"categoryName":164,"taxonomyType":121,"taxonomyTypeDesc":122},"01JBSEEDCAT000000000000016","图像与多媒体",{"categoryNo":166,"categoryName":167,"taxonomyType":168,"taxonomyTypeDesc":169},"01JBSEEDCAT000000000000032","设计师","PROFESSION","适用职业",[171,172,173,174,22,175,146,176,177,178,179,180,181,182,183,184,185,186,187,188],"frontend","dev","frontend dev","design","image","react","ui","Video","Media","Audio","Tailwind","stack","music","aida","framer motion","implementing","framer","generative",{"skillNo":190,"name":191,"nameZh":6,"description":192,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":193,"categories":194,"keywords":195,"publishedAt":34},"01M6R20VQ98KDX4J37TGE0FNHW","exa-rate-limits","Implement Exa rate limiting, backoff, and idempotency patterns.\nUse when handling rate limit errors, implementing retry logic,\nor optimizing API request throughput for Exa.\nTrigger with phrases like \"exa rate limit\", \"exa throttling\",\n\"exa 429\", \"exa retry\", \"exa backoff\".","https:\u002F\u002Fgithub.com\u002FVRIL-LABS\u002Fskill-jam\u002Fblob\u002Fmain\u002Fskills\u002Fsearch-research\u002Fjeremylongshore-claude-code-plugins-plus-skills-exa-rate-limits-1.0.0\u002FSKILL.md",[],[196,197,198,199,200,201,202,203,204,30,205,206,207,208,209,186,151,210,211,33],"exa","exa rate limits","rate","limits","throttling","api","read","write","edit","io","throughput","retry","errors","limit","rate limit","request",{"skillNo":213,"name":214,"nameZh":6,"description":215,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":216,"categories":217,"keywords":221,"publishedAt":34},"01M6R20FV0TM7ZZTZNG7JQ1A82","exa-deploy-integration","Deploy Exa integrations to Vercel, Fly.io, and Cloud Run platforms.\nUse when deploying Exa-powered applications to production,\nconfiguring platform-specific secrets, or setting up deployment pipelines.\nTrigger with phrases like \"deploy exa\", \"exa Vercel\",\n\"exa production deploy\", \"exa Cloud Run\", \"exa Fly.io\".","https:\u002F\u002Fgithub.com\u002FVRIL-LABS\u002Fskill-jam\u002Fblob\u002Fmain\u002Fskills\u002Fsearch-research\u002Fjeremylongshore-claude-code-plugins-plus-skills-exa-deploy-integration-1.0.0\u002FSKILL.md",[218],{"categoryNo":219,"categoryName":220,"taxonomyType":121,"taxonomyTypeDesc":122},"01JBSEEDCAT000000000000011","运维与部署",[222,223,196,224,225,226,227,228,229,230,202,203,204,231,232,233,205,234,235,33],"deploy","integration","exa deploy integration","deployment","run","secrets","fly","Bash","integrations","vercel","up","platform","trigger","cloud run",{"skillNo":237,"name":238,"nameZh":6,"description":239,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":240,"categories":241,"keywords":243,"publishedAt":34},"01M6R20A4AFVVEX6952MKH9HMM","exa-core-workflow-a","Execute Exa primary workflow: Core Workflow A.\nUse when implementing primary use case,\nbuilding main features, or core integration tasks.\nTrigger with phrases like \"exa main workflow\",\n\"primary task with exa\".","https:\u002F\u002Fgithub.com\u002FVRIL-LABS\u002Fskill-jam\u002Fblob\u002Fmain\u002Fskills\u002Fsearch-research\u002Fjeremylongshore-claude-code-plugins-plus-skills-exa-core-workflow-a-1.0.0\u002FSKILL.md",[242],{"categoryNo":119,"categoryName":120,"taxonomyType":121,"taxonomyTypeDesc":122},[244,245,196,246,247,127,25,229,202,203,204,29,248,42,205,234,249,186,250,33],"workflow","core","exa core workflow a","openclaw","task","with","features"]