Agent skill

zero-bundle-size-rsc

Minimizing client bundles through aggressive use of Server Components and streaming protocols.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/zero-bundle-size-rsc

SKILL.md

Zero-Bundle-Size React Server Components

Summary

Minimizing client bundles through aggressive use of Server Components and streaming protocols.

Key Capabilities

  • Partition application graphs into Server/Client subtrees.
  • Eliminate data-fetching libraries from client bundles.
  • Serialize complex data structures across the network boundary.

PhD-Level Challenges

  • Formalize the serialization constraints of Server Components.
  • Analyze the bandwidth vs. CPU trade-off of RSC payloads.
  • Implement a dynamic import strategy for polymorphic server components.

Acceptance Criteria

  • Show a reduction in initial JS execute time.
  • Demonstrate zero client-side JS for static subtrees.
  • Provide a report on payload size reduction.

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results