Integrate markstream-react into a React 18+ or Next app. Use when Codex needs to add the React renderer, import CSS correctly, choose between `content` and `nodes`, keep Next client boundaries safe, c
Use this skill when the host app is React or Next and the task is to wire Markstream safely.
The 417-word prompt provides structured testing & qa guidance — covering detailed methodology and consistent output formats. Paste it into your CLAUDE.md or .cursorrules to activate.
Use this skill when the host app is React or Next and the task is to wire Markstream safely.
markstream-react plus only the requested optional peers.markstream-react/index.css from the app shell or client entry.content.content and use built-in smooth streaming first.
- smoothStreaming="auto" is the default and activates when typewriter={true} or maxLiveNodes <= 0.
- typewriter only controls the blinking cursor and defaults to false.
- fade controls node enter and streamed-text fade animations and defaults to true.
- Streaming vs recovering history: in chat UIs the same renderer starts streaming and later switches to history when final={true}.
- Streaming: smoothStreaming="auto", fade={false}, typewriter={true}. Smooth pacing handles gradual appearance; fade would flicker.
- Recovering history: smoothStreaming={false}, fade={true}, typewriter={false}. Content is already complete — pacing would slow it down, but fade gives a polished entry animation.
- Dynamic switch: smoothStreaming={isStreaming ? 'auto' : false}, fade={!isStreaming}.
- Move to nodes + final only for worker-preparsed content, shared AST stores, or custom AST control.
- Remember that htmlPolicy now defaults to safe, and Mermaid strict mode is on by default through mermaidProps.
use client, dynamic imports with ssr: false, or other client-only boundaries when browser-only peers are involved.
react-markdown, pair this skill with markstream-migration.content with built-in smooth streaming for most AI chat / token streaming surfaces.final becomes true), switch props dynamically — smoothStreaming="auto", fade={false} for streaming; smoothStreaming={false}, fade={true} for history. See docs/guide/ai-chat-streaming.md for full examples.nodes only when another layer owns parsing or AST transforms.smoothStreaming={true} for first-screen SSR content unless intentionally starting from blank; auto mode uses the mounted gate.htmlPolicy="safe" and Mermaid strict mode unless the request is preserving trusted legacy rendering.htmlPolicy="trusted" and mermaidProps={{ isStrict: false }} only on that surface and explain why.docs/guide/react-quick-start.mddocs/guide/react-installation.mddocs/guide/react-markdown-migration.mddocs/guide/component-overrides.mdMarkstream React is a free testing & qa skill for AI coding agents. Integrate markstream-react into a React 18+ or Next app. Use when Codex needs to add the React renderer, import CSS correctly, choose between `content` and `nodes`, keep Next client boundaries safe, c. It provides a specialized system prompt that configures your agent with testing & qa expertise.
Copy the system prompt below and paste it into your CLAUDE.md file or Claude Code's custom instructions to activate Markstream React.
Markstream React is compatible with Claude Code, Cursor, GitHub Copilot, Windsurf, OpenClaw, Cline, and any AI agent that supports custom system prompts or .cursorrules files.
Yes, Markstream React is completely free and open source. The full source is available on GitHub at https://github.com/Simon-He95/markstream-vue/blob/main/.agents/skills/markstream-react/SKILL.md. You only need a subscription to the AI agent you use it with.
Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.