Markstream react

From Simon-He95/markstream-vue · View interactive version

Markstream react is an AI agent skill from the GitHub repository Simon-He95/markstream-vue. Integrate the beta markstream-react package into a React 18+ or Next app. Use when Codex needs to add the React renderer, choose the root, `next`, or `server` entrypoint, import CSS correctly, choose between `content` and `nodes`, keep client boundaries safe, add renderer-local `streamingComponents`

How to use this skill

Skill file

Markstream React

Use this skill when the host app is React or Next and the task is to wire Markstream safely.

Workflow

  1. Confirm the repo is React 18+ or a compatible Next host and accepts a beta renderer API.
  2. Install markstream-react plus only the requested optional peers.
  3. Import markstream-react/index.css from the app shell or client entry.
  4. Choose the entrypoint that matches the rendering boundary.
  1. Start with content.
  1. Respect SSR boundaries in Next.
  1. Use renderer-local components before custom parser work.
  1. Validate with the smallest useful dev, build, or typecheck command.

Default Decisions

Useful Doc Targets

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.