What is docs-rsc-sandpack?
Use when adding interactive RSC (React Server Components) code examples to React docs using <SandpackRSC>, or when modifying the RSC sandpack infrastructure. Source: reactjs/react.dev.
Use when adding interactive RSC (React Server Components) code examples to React docs using <SandpackRSC>, or when modifying the RSC sandpack infrastructure.
Quickly install docs-rsc-sandpack AI skill to your development environment via command line
Source: reactjs/react.dev.
For general Sandpack conventions (code style, naming, file naming, line highlighting, hidden files, CSS guidelines), see /docs-sandpack. This skill covers only RSC-specific patterns.
| Execution model | All code runs in iframe | Server code runs in Web Worker, client code in iframe | | 'use client' directive | Ignored (everything is client) | Required to mark client components | | 'use server' directive | Not supported | Marks Server Functions callable from client |
| async components | Not supported | Supported (server components can be async) | | External dependencies | Supported via package.json | Not supported (only React + react-dom) | | Entry point | App.js with export default | src/App.js with export default | | Component tag | | |
Stable fields and commands for AI/search citations.
npx skills add https://github.com/reactjs/react.dev --skill docs-rsc-sandpackUse when adding interactive RSC (React Server Components) code examples to React docs using <SandpackRSC>, or when modifying the RSC sandpack infrastructure. Source: reactjs/react.dev.
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/reactjs/react.dev --skill docs-rsc-sandpack Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw
https://github.com/reactjs/react.dev