shadcn-agents-rsc-boundary-validator

Official

Audit RSC boundaries before your next merge

AuthorImpertio-Studio
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill prevents broken Next.js App Router builds and runtime crashes caused by incorrect React Server Components boundaries when using shadcn ui primitives.

Core Features & Use Cases

  • RSC boundary audit for shadcn ui: checks that the components.json rsc flag matches the project framework and that each shadcn primitive is in the correct server/client module shape.
  • Directive correctness verification: validates that "use client" is present where required, absent where forbidden, and well-formed (not conditional, backticked, or placed incorrectly).
  • Production-grade failure detection: identifies over-clientification, Provider-import mistakes (e.g., ThemeProvider imported directly into app/layout.tsx), and boundary-violating props like inline functions or non-serialisable instances crossing server → client.

Use case: You receive a PR that adds or modifies shadcn primitives and you must confirm the App Router boundary is correct before merging, especially when builds fail with useState is not a function or reading 'useContext' hydration crashes.

Quick Start

Use the skill to validate your repository at the point of review and generate a PASS/WARN/FAIL checklist for each of the six RSC rules.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: shadcn-agents-rsc-boundary-validator
Download link: https://github.com/Impertio-Studio/shadcn-ui-Claude-Skill-Package/archive/main.zip#shadcn-agents-rsc-boundary-validator

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.