@codihaus/claude-skills 1.6.18 → 1.6.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,6 +15,7 @@ When skills detect a tech stack (via `stack.md`), they load the relevant stack f
15
15
  | Stack | Folder | Type | Status |
16
16
  |-------|--------|------|--------|
17
17
  | React | `react/` | UI Library | Ready |
18
+ | Vue 3 | `vue/` | Progressive Framework | Ready |
18
19
  | Next.js | `nextjs/` | React + SSR Framework | Ready |
19
20
  | Nuxt.js | `nuxt/` | Vue + SSR Framework | Ready |
20
21
  | Directus | `directus/` | Backend BaaS | Ready |
@@ -637,6 +637,31 @@ if (process.env.NODE_ENV !== 'production') {
637
637
  }
638
638
  ```
639
639
 
640
+ ## Advanced RSC & Performance Patterns
641
+
642
+ **See `references/rsc-patterns.md` for comprehensive Next.js optimization guide covering**:
643
+ - Eliminating waterfalls (defer await, dependency parallelization, Promise.all)
644
+ - Server-side performance (LRU caching, serialization, React.cache, after())
645
+ - Bundle optimization (avoid barrel imports, dynamic imports, preloading)
646
+ - Data fetching strategies (auto-deduplication, SWR, caching)
647
+ - Server Actions best practices
648
+
649
+ **Critical patterns**:
650
+ - **Defer await until needed** - Don't block unused code paths
651
+ - **Start promises early** - Enable parallelization in API routes
652
+ - **Component composition** - Move async calls to components for parallel execution
653
+ - **Minimize serialization** - Only pass needed fields across RSC boundary
654
+ - **React.cache()** - Deduplicate DB queries, auth checks, heavy computations
655
+ - **after()** - Schedule non-blocking work (analytics, logging)
656
+ - **Avoid barrel imports** - Use optimizePackageImports or direct imports
657
+ - **LRU caching** - Share data across requests (especially with Fluid Compute)
658
+
659
+ **Impact metrics**:
660
+ - Eliminating waterfalls: 2-10× faster
661
+ - Avoiding barrel imports: 15-70% faster builds
662
+ - LRU caching: Eliminates redundant queries
663
+ - after() for non-blocking: 50-200ms faster responses
664
+
640
665
  ## Resources
641
666
 
642
667
  ### Official Docs
@@ -644,6 +669,11 @@ if (process.env.NODE_ENV !== 'production') {
644
669
  - App Router: https://nextjs.org/docs/app
645
670
  - Learn: https://nextjs.org/learn
646
671
 
672
+ ### Performance & Patterns
673
+ - Vercel Best Practices: https://github.com/vercel/react-best-practices
674
+ - See `references/rsc-patterns.md` - Detailed RSC & optimization guide
675
+ - See `references/performance.md` - Next.js performance optimizations
676
+
647
677
  ### Context7 Queries
648
678
 
649
679
  ```
@@ -651,4 +681,6 @@ Query: "Next.js 15 App Router data fetching"
651
681
  Query: "Next.js Server Actions best practices"
652
682
  Query: "Next.js middleware authentication"
653
683
  Query: "Next.js Server Components patterns"
684
+ Query: "Next.js RSC waterfall elimination"
685
+ Query: "Next.js bundle optimization barrel imports"
654
686
  ```