[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EPTZY0A0SH3C4YKXRAA8VN":3,"skill-same:01M7EPTZY0A0SH3C4YKXRAA8VN":249},{"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":36,"commitSha":37,"skillDirectory":38,"forksCount":39,"repositoryHtmlUrl":40,"repositoryHomepageUrl":6,"ownerHtmlUrl":41,"ownerBlogUrl":42,"ownerDescription":6,"updatedAt":43,"install":44,"resources":57},"01M7EPTZY0A0SH3C4YKXRAA8VN","react-best-practices",null,"Comprehensive React and Next.js performance optimization guide with 40+ rules for eliminating waterfalls, optimizing bundles, and improving rendering. Use when optimizing React apps, reviewing performance, or refactoring components.","TanNhatCMS\u002Fjarvis","TanNhatCMS","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F113796420?v=4","01M753MV17KG5CD3152G3WQEQY","KietNT","01M7EKEDYVYQ6PWVJJMZ911VMX",0,"MIT","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-imp-react-best-practices\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: react-best-practices\ndescription: Comprehensive React and Next.js performance optimization guide with 40+ rules for eliminating waterfalls, optimizing bundles, and improving rendering. Use when optimizing React apps, reviewing performance, or refactoring components.\nversion: 1.0.0\nauthor: Vercel Engineering\nlicense: MIT\ntags: [React, Next.js, Performance, Optimization, Best Practices, Bundle Size, Rendering, Server Components]\ndependencies: []\n---\n\n# React Best Practices - Performance Optimization\n\nComprehensive performance optimization guide for React and Next.js applications with 40+ rules organized by impact level. Designed to help developers eliminate performance bottlenecks and follow best practices.\n\n## When to use this skill\n\n**Use React Best Practices when:**\n- Optimizing React or Next.js application performance\n- Reviewing code for performance improvements\n- Refactoring existing components for better performance\n- Implementing new features with performance in mind\n- Debugging slow rendering or loading issues\n- Reducing bundle size\n- Eliminating request waterfalls\n\n**Key areas covered:**\n- **Eliminating Waterfalls** (CRITICAL): Prevent sequential async operations\n- **Bundle Size Optimization** (CRITICAL): Reduce initial JavaScript payload\n- **Server-Side Performance** (HIGH): Optimize RSC and data fetching\n- **Client-Side Data Fetching** (MEDIUM-HIGH): Implement efficient caching\n- **Re-render Optimization** (MEDIUM): Minimize unnecessary re-renders\n- **Rendering Performance** (MEDIUM): Optimize browser rendering\n- **JavaScript Performance** (LOW-MEDIUM): Micro-optimizations for hot paths\n- **Advanced Patterns** (LOW): Specialized techniques for edge cases\n\n## Quick reference\n\n### Critical priorities\n\n1. **Defer await until needed** - Move awaits into branches where they're used\n2. **Use Promise.all()** - Parallelize independent async operations\n3. **Avoid barrel imports** - Import directly from source files\n4. **Dynamic imports** - Lazy-load heavy components\n5. **Strategic Suspense** - Stream content while showing layout\n\n### Common patterns\n\n**Parallel data fetching:**\n```typescript\nconst [user, posts, comments] = await Promise.all([\n  fetchUser(),\n  fetchPosts(),\n  fetchComments()\n])\n```\n\n**Direct imports:**\n```tsx\n\u002F\u002F ❌ Loads entire library\nimport { Check } from 'lucide-react'\n\n\u002F\u002F ✅ Loads only what you need\nimport Check from 'lucide-react\u002Fdist\u002Fesm\u002Ficons\u002Fcheck'\n```\n\n**Dynamic components:**\n```tsx\nimport dynamic from 'next\u002Fdynamic'\n\nconst MonacoEditor = dynamic(\n  () => import('.\u002Fmonaco-editor'),\n  { ssr: false }\n)\n```\n\n## Using the guidelines\n\nThe complete performance guidelines are available in the references folder:\n\n- **react-performance-guidelines.md**: Complete guide with all 40+ rules, code examples, and impact analysis\n\nEach rule includes:\n- Incorrect\u002Fcorrect code comparisons\n- Specific impact metrics\n- When to apply the optimization\n- Real-world examples\n\n## Categories overview\n\n### 1. Eliminating Waterfalls (CRITICAL)\nWaterfalls are the #1 performance killer. Each sequential await adds full network latency.\n- Defer await until needed\n- Dependency-based parallelization\n- Prevent waterfall chains in API routes\n- Promise.all() for independent operations\n- Strategic Suspense boundaries\n\n### 2. Bundle Size Optimization (CRITICAL)\nReducing initial bundle size improves Time to Interactive and Largest Contentful Paint.\n- Avoid barrel file imports\n- Conditional module loading\n- Defer non-critical third-party libraries\n- Dynamic imports for heavy components\n- Preload based on user intent\n\n### 3. Server-Side Performance (HIGH)\nOptimize server-side rendering and data fetching.\n- Cross-request LRU caching\n- Minimize serialization at RSC boundaries\n- Parallel data fetching with component composition\n- Per-request deduplication with React.cache()\n\n### 4. Client-Side Data Fetching (MEDIUM-HIGH)\nAutomatic deduplication and efficient data fetching patterns.\n- Deduplicate global event listeners\n- Use SWR for automatic deduplication\n\n### 5. Re-render Optimization (MEDIUM)\nReduce unnecessary re-renders to minimize wasted computation.\n- Defer state reads to usage point\n- Extract to memoized components\n- Narrow effect dependencies\n- Subscribe to derived state\n- Use lazy state initialization\n- Use transitions for non-urgent updates\n\n### 6. Rendering Performance (MEDIUM)\nOptimize the browser rendering process.\n- Animate SVG wrapper instead of SVG element\n- CSS content-visibility for long lists\n- Hoist static JSX elements\n- Optimize SVG precision\n- Prevent hydration mismatch without flickering\n- Use Activity component for show\u002Fhide\n- Use explicit conditional rendering\n\n### 7. JavaScript Performance (LOW-MEDIUM)\nMicro-optimizations for hot paths.\n- Batch DOM CSS changes\n- Build index maps for repeated lookups\n- Cache property access in loops\n- Cache repeated function calls\n- Cache storage API calls\n- Combine multiple array iterations\n- Early length check for array comparisons\n- Early return from functions\n- Hoist RegExp creation\n- Use loop for min\u002Fmax instead of sort\n- Use Set\u002FMap for O(1) lookups\n- Use toSorted() instead of sort()\n\n### 8. Advanced Patterns (LOW)\nSpecialized techniques for edge cases.\n- Store event handlers in refs\n- useLatest for stable callback refs\n\n## Implementation approach\n\nWhen optimizing a React application:\n\n1. **Profile first**: Use React DevTools Profiler and browser performance tools to identify bottlenecks\n2. **Focus on critical paths**: Start with eliminating waterfalls and reducing bundle size\n3. **Measure impact**: Verify improvements with metrics (LCP, TTI, FID)\n4. **Apply incrementally**: Don't over-optimize prematurely\n5. **Test thoroughly**: Ensure optimizations don't break functionality\n\n## Key metrics to track\n\n- **Time to Interactive (TTI)**: When page becomes fully interactive\n- **Largest Contentful Paint (LCP)**: When main content is visible\n- **First Input Delay (FID)**: Responsiveness to user interactions\n- **Cumulative Layout Shift (CLS)**: Visual stability\n- **Bundle size**: Initial JavaScript payload\n- **Server response time**: TTFB for server-rendered content\n\n## Common pitfalls to avoid\n\n❌ **Don't:**\n- Use barrel imports from large libraries\n- Block parallel operations with sequential awaits\n- Re-render entire trees when only part needs updating\n- Load analytics\u002Ftracking in the critical path\n- Mutate arrays with .sort() instead of .toSorted()\n- Create RegExp or heavy objects inside render\n\n✅ **Do:**\n- Import directly from source files\n- Use Promise.all() for independent operations\n- Memoize expensive components\n- Lazy-load non-critical code\n- Use immutable array methods\n- Hoist static objects outside components\n\n## Resources\n\n- [React Documentation](https:\u002F\u002Freact.dev)\n- [Next.js Documentation](https:\u002F\u002Fnextjs.org)\n- [SWR Documentation](https:\u002F\u002Fswr.vercel.app)\n- [Vercel Bundle Optimization](https:\u002F\u002Fvercel.com\u002Fblog\u002Fhow-we-optimized-package-imports-in-next-js)\n- [Vercel Dashboard Performance](https:\u002F\u002Fvercel.com\u002Fblog\u002Fhow-we-made-the-vercel-dashboard-twice-as-fast)\n- [better-all Library](https:\u002F\u002Fgithub.com\u002Fshuding\u002Fbetter-all)\n- [node-lru-cache](https:\u002F\u002Fgithub.com\u002Fisaacs\u002Fnode-lru-cache)\n\n## Version history\n\n**v0.1.0** (January 2026)\n- Initial release from Vercel Engineering\n- 40+ performance rules across 8 categories\n- Comprehensive code examples and impact analysis\n","# React Best Practices - Performance Optimization\n\nComprehensive performance optimization guide for React and Next.js applications with 40+ rules organized by impact level. Designed to help developers eliminate performance bottlenecks and follow best practices.\n\n## When to use this skill\n\n**Use React Best Practices when:**\n- Optimizing React or Next.js application performance\n- Reviewing code for performance improvements\n- Refactoring existing components for better performance\n- Implementing new features with performance in mind\n- Debugging slow rendering or loading issues\n- Reducing bundle size\n- Eliminating request waterfalls\n\n**Key areas covered:**\n- **Eliminating Waterfalls** (CRITICAL): Prevent sequential async operations\n- **Bundle Size Optimization** (CRITICAL): Reduce initial JavaScript payload\n- **Server-Side Performance** (HIGH): Optimize RSC and data fetching\n- **Client-Side Data Fetching** (MEDIUM-HIGH): Implement efficient caching\n- **Re-render Optimization** (MEDIUM): Minimize unnecessary re-renders\n- **Rendering Performance** (MEDIUM): Optimize browser rendering\n- **JavaScript Performance** (LOW-MEDIUM): Micro-optimizations for hot paths\n- **Advanced Patterns** (LOW): Specialized techniques for edge cases\n\n## Quick reference\n\n### Critical priorities\n\n1. **Defer await until needed** - Move awaits into branches where they're used\n2. **Use Promise.all()** - Parallelize independent async operations\n3. **Avoid barrel imports** - Import directly from source files\n4. **Dynamic imports** - Lazy-load heavy components\n5. **Strategic Suspense** - Stream content while showing layout\n\n### Common patterns\n\n**Parallel data fetching:**\n```typescript\nconst [user, posts, comments] = await Promise.all([\n  fetchUser(),\n  fetchPosts(),\n  fetchComments()\n])\n```\n\n**Direct imports:**\n```tsx\n\u002F\u002F ❌ Loads entire library\nimport { Check } from 'lucide-react'\n\n\u002F\u002F ✅ Loads only what you need\nimport Check from 'lucide-react\u002Fdist\u002Fesm\u002Ficons\u002Fcheck'\n```\n\n**Dynamic components:**\n```tsx\nimport dynamic from 'next\u002Fdynamic'\n\nconst MonacoEditor = dynamic(\n  () => import('.\u002Fmonaco-editor'),\n  { ssr: false }\n)\n```\n\n## Using the guidelines\n\nThe complete performance guidelines are available in the references folder:\n\n- **react-performance-guidelines.md**: Complete guide with all 40+ rules, code examples, and impact analysis\n\nEach rule includes:\n- Incorrect\u002Fcorrect code comparisons\n- Specific impact metrics\n- When to apply the optimization\n- Real-world examples\n\n## Categories overview\n\n### 1. Eliminating Waterfalls (CRITICAL)\nWaterfalls are the #1 performance killer. Each sequential await adds full network latency.\n- Defer await until needed\n- Dependency-based parallelization\n- Prevent waterfall chains in API routes\n- Promise.all() for independent operations\n- Strategic Suspense boundaries\n\n### 2. Bundle Size Optimization (CRITICAL)\nReducing initial bundle size improves Time to Interactive and Largest Contentful Paint.\n- Avoid barrel file imports\n- Conditional module loading\n- Defer non-critical third-party libraries\n- Dynamic imports for heavy components\n- Preload based on user intent\n\n### 3. Server-Side Performance (HIGH)\nOptimize server-side rendering and data fetching.\n- Cross-request LRU caching\n- Minimize serialization at RSC boundaries\n- Parallel data fetching with component composition\n- Per-request deduplication with React.cache()\n\n### 4. Client-Side Data Fetching (MEDIUM-HIGH)\nAutomatic deduplication and efficient data fetching patterns.\n- Deduplicate global event listeners\n- Use SWR for automatic deduplication\n\n### 5. Re-render Optimization (MEDIUM)\nReduce unnecessary re-renders to minimize wasted computation.\n- Defer state reads to usage point\n- Extract to memoized components\n- Narrow effect dependencies\n- Subscribe to derived state\n- Use lazy state initialization\n- Use transitions for non-urgent updates\n\n### 6. Rendering Performance (MEDIUM)\nOptimize the browser rendering process.\n- Animate SVG wrapper instead of SVG element\n- CSS content-visibility for long lists\n- Hoist static JSX elements\n- Optimize SVG precision\n- Prevent hydration mismatch without flickering\n- Use Activity component for show\u002Fhide\n- Use explicit conditional rendering\n\n### 7. JavaScript Performance (LOW-MEDIUM)\nMicro-optimizations for hot paths.\n- Batch DOM CSS changes\n- Build index maps for repeated lookups\n- Cache property access in loops\n- Cache repeated function calls\n- Cache storage API calls\n- Combine multiple array iterations\n- Early length check for array comparisons\n- Early return from functions\n- Hoist RegExp creation\n- Use loop for min\u002Fmax instead of sort\n- Use Set\u002FMap for O(1) lookups\n- Use toSorted() instead of sort()\n\n### 8. Advanced Patterns (LOW)\nSpecialized techniques for edge cases.\n- Store event handlers in refs\n- useLatest for stable callback refs\n\n## Implementation approach\n\nWhen optimizing a React application:\n\n1. **Profile first**: Use React DevTools Profiler and browser performance tools to identify bottlenecks\n2. **Focus on critical paths**: Start with eliminating waterfalls and reducing bundle size\n3. **Measure impact**: Verify improvements with metrics (LCP, TTI, FID)\n4. **Apply incrementally**: Don't over-optimize prematurely\n5. **Test thoroughly**: Ensure optimizations don't break functionality\n\n## Key metrics to track\n\n- **Time to Interactive (TTI)**: When page becomes fully interactive\n- **Largest Contentful Paint (LCP)**: When main content is visible\n- **First Input Delay (FID)**: Responsiveness to user interactions\n- **Cumulative Layout Shift (CLS)**: Visual stability\n- **Bundle size**: Initial JavaScript payload\n- **Server response time**: TTFB for server-rendered content\n\n## Common pitfalls to avoid\n\n❌ **Don't:**\n- Use barrel imports from large libraries\n- Block parallel operations with sequential awaits\n- Re-render entire trees when only part needs updating\n- Load analytics\u002Ftracking in the critical path\n- Mutate arrays with .sort() instead of .toSorted()\n- Create RegExp or heavy objects inside render\n\n✅ **Do:**\n- Import directly from source files\n- Use Promise.all() for independent operations\n- Memoize expensive components\n- Lazy-load non-critical code\n- Use immutable array methods\n- Hoist static objects outside components\n\n## Resources\n\n- [React Documentation](https:\u002F\u002Freact.dev)\n- [Next.js Documentation](https:\u002F\u002Fnextjs.org)\n- [SWR Documentation](https:\u002F\u002Fswr.vercel.app)\n- [Vercel Bundle Optimization](https:\u002F\u002Fvercel.com\u002Fblog\u002Fhow-we-optimized-package-imports-in-next-js)\n- [Vercel Dashboard Performance](https:\u002F\u002Fvercel.com\u002Fblog\u002Fhow-we-made-the-vercel-dashboard-twice-as-fast)\n- [better-all Library](https:\u002F\u002Fgithub.com\u002Fshuding\u002Fbetter-all)\n- [node-lru-cache](https:\u002F\u002Fgithub.com\u002Fisaacs\u002Fnode-lru-cache)\n\n## Version history\n\n**v0.1.0** (January 2026)\n- Initial release from Vercel Engineering\n- 40+ performance rules across 8 categories\n- Comprehensive code examples and impact analysis\n",{"name":5,"tags":24,"author":33,"license":15,"version":34,"description":7,"dependencies":35},[25,26,27,28,29,30,31,32],"React","Next.js","Performance","Optimization","Best Practices","Bundle Size","Rendering","Server Components","Vercel Engineering","1.0.0",[],"main","af388a77c2fe5e0b4fd879cca4300a0ffa9a6579","skills\u002Fams-imp-react-best-practices",1,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis","https:\u002F\u002Fgithub.com\u002FTanNhatCMS","https:\u002F\u002Fmrkiet.name.vn","2026-11-07 14:23:08",{"source":8,"skillName":5,"commands":45,"prompt":55,"zipAvailable":56},[46,49,52],{"tool":47,"command":48},"npx","npx skills add TanNhatCMS\u002Fjarvis --skill react-best-practices",{"tool":50,"command":51},"bunx","bunx skills add TanNhatCMS\u002Fjarvis --skill react-best-practices",{"tool":53,"command":54},"pnpm","pnpm dlx skills add TanNhatCMS\u002Fjarvis --skill react-best-practices","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-imp-react-best-practices\u002FSKILL.md",true,[58,64,68,72,76,80,84,88,92,96,100,104,108,112,116,120,124,128,134,138,142,146,150,154,158,162,166,170,174,177,181,185,189,193,197,201,205,209,213,217,221,225,229,233,237,241,245],{"path":59,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":62,"sourceHtmlUrl":63},"references\u002Freact-performance-guidelines.md","REFERENCE","参考文档",46890,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-imp-react-best-practices\u002Freferences\u002Freact-performance-guidelines.md",{"path":65,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":66,"sourceHtmlUrl":67},"references\u002Frules\u002F_sections.md",1538,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-imp-react-best-practices\u002Freferences\u002Frules\u002F_sections.md",{"path":69,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":70,"sourceHtmlUrl":71},"references\u002Frules\u002F_template.md",631,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-imp-react-best-practices\u002Freferences\u002Frules\u002F_template.md",{"path":73,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":74,"sourceHtmlUrl":75},"references\u002Frules\u002Fadvanced-event-handler-refs.md",960,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-imp-react-best-practices\u002Freferences\u002Frules\u002Fadvanced-event-handler-refs.md",{"path":77,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":78,"sourceHtmlUrl":79},"references\u002Frules\u002Fadvanced-use-latest.md",1191,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-imp-react-best-practices\u002Freferences\u002Frules\u002Fadvanced-use-latest.md",{"path":81,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":82,"sourceHtmlUrl":83},"references\u002Frules\u002Fasync-api-routes.md",1125,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-imp-react-best-practices\u002Freferences\u002Frules\u002Fasync-api-routes.md",{"path":85,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":86,"sourceHtmlUrl":87},"references\u002Frules\u002Fasync-defer-await.md",2028,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-imp-react-best-practices\u002Freferences\u002Frules\u002Fasync-defer-await.md",{"path":89,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":90,"sourceHtmlUrl":91},"references\u002Frules\u002Fasync-dependencies.md",942,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-imp-react-best-practices\u002Freferences\u002Frules\u002Fasync-dependencies.md",{"path":93,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":94,"sourceHtmlUrl":95},"references\u002Frules\u002Fasync-parallel.md",654,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-imp-react-best-practices\u002Freferences\u002Frules\u002Fasync-parallel.md",{"path":97,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":98,"sourceHtmlUrl":99},"references\u002Frules\u002Fasync-suspense-boundaries.md",1610,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-imp-react-best-practices\u002Freferences\u002Frules\u002Fasync-suspense-boundaries.md",{"path":101,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":102,"sourceHtmlUrl":103},"references\u002Frules\u002Fbundle-barrel-imports.md",2370,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-imp-react-best-practices\u002Freferences\u002Frules\u002Fbundle-barrel-imports.md",{"path":105,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":106,"sourceHtmlUrl":107},"references\u002Frules\u002Fbundle-conditional.md",870,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-imp-react-best-practices\u002Freferences\u002Frules\u002Fbundle-conditional.md",{"path":109,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":110,"sourceHtmlUrl":111},"references\u002Frules\u002Fbundle-defer-third-party.md",922,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-imp-react-best-practices\u002Freferences\u002Frules\u002Fbundle-defer-third-party.md",{"path":113,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":114,"sourceHtmlUrl":115},"references\u002Frules\u002Fbundle-dynamic-imports.md",791,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-imp-react-best-practices\u002Freferences\u002Frules\u002Fbundle-dynamic-imports.md",{"path":117,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":118,"sourceHtmlUrl":119},"references\u002Frules\u002Fbundle-preload.md",1151,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-imp-react-best-practices\u002Freferences\u002Frules\u002Fbundle-preload.md",{"path":121,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":122,"sourceHtmlUrl":123},"references\u002Frules\u002Fclient-event-listeners.md",1976,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-imp-react-best-practices\u002Freferences\u002Frules\u002Fclient-event-listeners.md",{"path":125,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":126,"sourceHtmlUrl":127},"references\u002Frules\u002Fclient-swr-dedup.md",1159,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-imp-react-best-practices\u002Freferences\u002Frules\u002Fclient-swr-dedup.md",{"path":129,"resourceType":130,"resourceTypeDesc":131,"sizeBytes":132,"sourceHtmlUrl":133},"references\u002Frules\u002Fdownload_rules.sh","SCRIPT","脚本",3353,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-imp-react-best-practices\u002Freferences\u002Frules\u002Fdownload_rules.sh",{"path":135,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":136,"sourceHtmlUrl":137},"references\u002Frules\u002Fjs-batch-dom-css.md",1902,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-imp-react-best-practices\u002Freferences\u002Frules\u002Fjs-batch-dom-css.md",{"path":139,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":140,"sourceHtmlUrl":141},"references\u002Frules\u002Fjs-cache-function-results.md",1954,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-imp-react-best-practices\u002Freferences\u002Frules\u002Fjs-cache-function-results.md",{"path":143,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":144,"sourceHtmlUrl":145},"references\u002Frules\u002Fjs-cache-property-access.md",532,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-imp-react-best-practices\u002Freferences\u002Frules\u002Fjs-cache-property-access.md",{"path":147,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":148,"sourceHtmlUrl":149},"references\u002Frules\u002Fjs-cache-storage.md",1617,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-imp-react-best-practices\u002Freferences\u002Frules\u002Fjs-cache-storage.md",{"path":151,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":152,"sourceHtmlUrl":153},"references\u002Frules\u002Fjs-combine-iterations.md",753,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-imp-react-best-practices\u002Freferences\u002Frules\u002Fjs-combine-iterations.md",{"path":155,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":156,"sourceHtmlUrl":157},"references\u002Frules\u002Fjs-early-exit.md",1133,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-imp-react-best-practices\u002Freferences\u002Frules\u002Fjs-early-exit.md",{"path":159,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":160,"sourceHtmlUrl":161},"references\u002Frules\u002Fjs-hoist-regexp.md",994,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-imp-react-best-practices\u002Freferences\u002Frules\u002Fjs-hoist-regexp.md",{"path":163,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":164,"sourceHtmlUrl":165},"references\u002Frules\u002Fjs-index-maps.md",837,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-imp-react-best-practices\u002Freferences\u002Frules\u002Fjs-index-maps.md",{"path":167,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":168,"sourceHtmlUrl":169},"references\u002Frules\u002Fjs-length-check-first.md",1745,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-imp-react-best-practices\u002Freferences\u002Frules\u002Fjs-length-check-first.md",{"path":171,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":172,"sourceHtmlUrl":173},"references\u002Frules\u002Fjs-min-max-loop.md",2105,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-imp-react-best-practices\u002Freferences\u002Frules\u002Fjs-min-max-loop.md",{"path":175,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":144,"sourceHtmlUrl":176},"references\u002Frules\u002Fjs-set-map-lookups.md","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-imp-react-best-practices\u002Freferences\u002Frules\u002Fjs-set-map-lookups.md",{"path":178,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":179,"sourceHtmlUrl":180},"references\u002Frules\u002Fjs-tosorted-immutable.md",1755,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-imp-react-best-practices\u002Freferences\u002Frules\u002Fjs-tosorted-immutable.md",{"path":182,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":183,"sourceHtmlUrl":184},"references\u002Frules\u002Frendering-activity.md",564,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-imp-react-best-practices\u002Freferences\u002Frules\u002Frendering-activity.md",{"path":186,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":187,"sourceHtmlUrl":188},"references\u002Frules\u002Frendering-animate-svg-wrapper.md",1188,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-imp-react-best-practices\u002Freferences\u002Frules\u002Frendering-animate-svg-wrapper.md",{"path":190,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":191,"sourceHtmlUrl":192},"references\u002Frules\u002Frendering-conditional-render.md",983,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-imp-react-best-practices\u002Freferences\u002Frules\u002Frendering-conditional-render.md",{"path":194,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":195,"sourceHtmlUrl":196},"references\u002Frules\u002Frendering-content-visibility.md",822,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-imp-react-best-practices\u002Freferences\u002Frules\u002Frendering-content-visibility.md",{"path":198,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":199,"sourceHtmlUrl":200},"references\u002Frules\u002Frendering-hoist-jsx.md",819,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-imp-react-best-practices\u002Freferences\u002Frules\u002Frendering-hoist-jsx.md",{"path":202,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":203,"sourceHtmlUrl":204},"references\u002Frules\u002Frendering-hydration-no-flicker.md",2308,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-imp-react-best-practices\u002Freferences\u002Frules\u002Frendering-hydration-no-flicker.md",{"path":206,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":207,"sourceHtmlUrl":208},"references\u002Frules\u002Frendering-svg-precision.md",591,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-imp-react-best-practices\u002Freferences\u002Frules\u002Frendering-svg-precision.md",{"path":210,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":211,"sourceHtmlUrl":212},"references\u002Frules\u002Frerender-defer-reads.md",973,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-imp-react-best-practices\u002Freferences\u002Frules\u002Frerender-defer-reads.md",{"path":214,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":215,"sourceHtmlUrl":216},"references\u002Frules\u002Frerender-dependencies.md",827,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-imp-react-best-practices\u002Freferences\u002Frules\u002Frerender-dependencies.md",{"path":218,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":219,"sourceHtmlUrl":220},"references\u002Frules\u002Frerender-derived-state.md",724,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-imp-react-best-practices\u002Freferences\u002Frules\u002Frerender-derived-state.md",{"path":222,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":223,"sourceHtmlUrl":224},"references\u002Frules\u002Frerender-lazy-state-init.md",2016,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-imp-react-best-practices\u002Freferences\u002Frules\u002Frerender-lazy-state-init.md",{"path":226,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":227,"sourceHtmlUrl":228},"references\u002Frules\u002Frerender-memo.md",935,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-imp-react-best-practices\u002Freferences\u002Frules\u002Frerender-memo.md",{"path":230,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":231,"sourceHtmlUrl":232},"references\u002Frules\u002Frerender-transitions.md",1055,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-imp-react-best-practices\u002Freferences\u002Frules\u002Frerender-transitions.md",{"path":234,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":235,"sourceHtmlUrl":236},"references\u002Frules\u002Fserver-cache-lru.md",1011,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-imp-react-best-practices\u002Freferences\u002Frules\u002Fserver-cache-lru.md",{"path":238,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":239,"sourceHtmlUrl":240},"references\u002Frules\u002Fserver-cache-react.md",679,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-imp-react-best-practices\u002Freferences\u002Frules\u002Fserver-cache-react.md",{"path":242,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":243,"sourceHtmlUrl":244},"references\u002Frules\u002Fserver-parallel-fetching.md",1511,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-imp-react-best-practices\u002Freferences\u002Frules\u002Fserver-parallel-fetching.md",{"path":246,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":247,"sourceHtmlUrl":248},"references\u002Frules\u002Fserver-serialization.md",826,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-imp-react-best-practices\u002Freferences\u002Frules\u002Fserver-serialization.md",[250,257,265,272,279,286],{"skillNo":251,"name":252,"nameZh":6,"description":253,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":254,"categories":255,"keywords":256,"publishedAt":19},"01M7EWYJR0J8DARY7E59Z6Y9MV","web-scrape","Turn web pages into LLM-ready markdown via the Firecrawl API (renders JS, anti-bot handling). Use when browser_open\u002Ffetch fails on JS-heavy pages, or when you need clean markdown\u002Fstructured extraction from a site. Requires FIRECRAWL_API_KEY.","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fweb-scrape\u002FSKILL.md",[],[],{"skillNo":258,"name":259,"nameZh":6,"description":260,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":261,"sourceHtmlUrl":262,"categories":263,"keywords":264,"publishedAt":19},"01M7EWYBN5P6F2AJG3FR24T9BP","design-taste-frontend","tasteskill v2, the anti-slop frontend skill. Art direction for websites, distilled from a study of 247 curated gallery sites (One Page Love, Awwwards Sites of the Day). Deals researched directions (idea, composition, type, palette, photographs, section blueprints) from a library, enforces a strict no-slop house style with a real-browser inspector, and runs a look-and-fix loop on screenshots. Use this whenever you build, design, redesign, restyle, polish or review a landing page, marketing site, portfolio, product page, one-pager, hero or any public-facing web page, in any stack (HTML\u002FCSS, React, Next.js, Vue, Svelte, Astro, Tailwind) — also when the user says a page looks generic, templated, \"AI-made\", sloppy, or asks to make it look designed, premium, award-level or less like every other site. Not for dashboards or app screens.","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Ftaste-design\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Ftaste-design\u002FSKILL.md",[],[],{"skillNo":266,"name":267,"nameZh":6,"description":268,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":269,"categories":270,"keywords":271,"publishedAt":19},"01M7EWY8FQFNQ2GB7NZZWGSSDX","test-driven-development","Use when implementing any feature or bugfix, before writing implementation code","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-tdd\u002FSKILL.md",[],[],{"skillNo":273,"name":274,"nameZh":6,"description":275,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":276,"categories":277,"keywords":278,"publishedAt":19},"01M7EWY5SHBFRH1HDHVWM9K7TV","systematic-debugging","Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-debugging\u002FSKILL.md",[],[],{"skillNo":280,"name":281,"nameZh":6,"description":282,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":283,"categories":284,"keywords":285,"publishedAt":19},"01M7EWY3NM0Z0JAKS7HDZ24K66","requesting-code-review","Use when completing tasks, implementing major features, or before merging to verify work meets requirements","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-code-review\u002FSKILL.md",[],[],{"skillNo":287,"name":288,"nameZh":6,"description":289,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":290,"categories":291,"keywords":292,"publishedAt":19},"01M7EWY0WRMWX4M9ZFY0WKC593","brainstorming","You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-brainstorming\u002FSKILL.md",[],[]]