markstream-react
Integrate the beta markstream-react package into a React 18+ or Next app.
Skill by Simon-He95
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/simon-he95-markstream-react
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents, frontend, backend, writing, frontend-development
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/markstream-react
What's inside
- Skill name
markstream-react- Description
- 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` or `htmlComponents`, use parser transforms, or prepare a repo for `react-markdown` migration.
- License
- MIT
- Instructions
- 57 lines in SKILL.md · view on GitHub
Files (2)
- SKILL.md
- openai.yaml · agents/
SKILL.md (first lines)
# 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.
- Use `markstream-react` for the normal client renderer.
- Use `markstream-react/next` for the Next-specific component surface.
- Use `markstream-react/server` for server rendering without client hooks.
5. Start with `content`.
- For streaming or high-frequency AI output, keep `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}`. This is a conservative visual/performance choice, not an API incompatibility. This adapter has not adopted Vue 3's bounded append fades, so verify its animation behavior before enabling both.
- 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`.
6. Respect SSR boundaries in Next.
- Prefer `use client`, dynamic imports with `ssr: false`, or other client-only boundaries when browser-only peers are involved.
7. Use renderer-local components before custom parser work.
- `streamingComponents` receives parser-backed `NodeComponentProps`, supports incomplete custom tags, and automatically contributes its keys to the effective `customHtmlTags` list.
- `htmlComponents` receives sanitized HTML attributes plus `children`; it does not receive the parser node/loading contract.
- Prefer `defineStreamingComponents(...)` and `defineHtmlComponents(...)` for typed maps.
- Keep scoped `setCustomComponents` for built-in node overrides or shared compatibility registration.
- Use `parseOptions` transforms only when migration requires token or AST changes.
8. Validate with the smallest useful dev, build, or typecheck command.
## Default Decisions
- Renderer wiring first, migration cleanup second.
- If the repo already uses `react-markdown`, pair this skill with `markstream-migration`.
- Prefer `content` with built-in smooth streaming for most AI chat / token streaming surfaces.
- Streaming vs recovering history: when a chat message transitions from streaming to history (e.g. `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.
- Move to `nodes` only when another layer owns parsing or AST transforms.
- Prefer renderer-local custom-tag maps over global registry mutation.
- Prefer the smallest client-only boundary that solves the SSR issue.
- Avoid `smoothStreaming={true}` for first-screen SSR content unless intentionally starting from blank; auto mode uses the mounted gate.
- Keep `htmlPolicy="safe"` and Mermaid strict mode unless the request is preserving trusted legacy rendering.
- If a trusted surface needs older behavior, use `htmlPolicy="trusted"` and `mermaidProps={{ isStrict: false }}` only on that surface and explain why.
## Useful Doc Targets
- `docs/guide/react-quick-start.md`
- `docs/guide/react-installation.md`
- `docs/guide/react-components.md`
- `docs/guide/react-next-ssr.md`
- `docs/guide/react-markdown-migration.md`
- `docs/guide/component-overrides.md`From Simon-He95/markstream-vue, MIT.
More from Simon-He95/markstream-vue
- 0.842score
markstream-custom-components
Simon-He95
Override built-in Markstream node renderers and add trusted custom tags across Vue, React, Svelte, and Angular.
SkillAFreshness: A★ 3KClaude Code +9 - 0.842score
markstream-install
Simon-He95
Install and wire markstream-vue, markstream-react, markstream-vue2, markstream-angular, or markstream-svelte into an existing repository.
SkillAFreshness: A★ 3KClaude Code +9 - 0.842score
markstream-migration
Simon-He95
Audit and migrate existing Markdown rendering to Markstream, or upgrade a markstream-vue 1.x integration to 2.x.
SkillAFreshness: A★ 3KClaude Code +9 - 0.837score
markstream-angular
Simon-He95
Integrate the alpha markstream-angular package into an Angular 20+ app.
SkillAFreshness: A★ 3KClaude Code +9 - 0.837score
markstream-nuxt
Simon-He95
Integrate markstream-vue into a Nuxt 3 or Nuxt 4 app.
SkillAFreshness: A★ 3KClaude Code +9 - 0.837score
markstream-vue2-vite
Simon-He95
Integrate markstream-vue2 into a Vue 2 plus Vite app.
SkillAFreshness: A★ 3KClaude Code +9 - 0.837score
markstream-vue2-cli
Simon-He95
Integrate markstream-vue2 into a Vue 2 Vue CLI or Webpack 4 app.
SkillAFreshness: A★ 3KClaude Code +9 - 0.837score
markstream-vue2
Simon-He95
Integrate markstream-vue2 into a Vue 2.6 or 2.7 app.
SkillAFreshness: A★ 3KClaude Code +9 - 0.837score
markstream-vue
Simon-He95
Integrate markstream-vue into a Vue 3 app.
SkillAFreshness: A★ 3KClaude Code +9 - 0.837score
markstream-svelte
Simon-He95
Integrate the beta markstream-svelte package in Svelte 5 or SvelteKit apps.
SkillAFreshness: A★ 3KClaude Code +9 - 0.620score
AGENTS.md · Simon-He95/markstream-vue
Simon-He95
AGENTS.md from Simon-He95/markstream-vue: 43 lines covering Project Structure & Module Organization, Build, Test, and Development Commands, Coding Style &…
TemplateAFreshness: A★ 3KCodex +5
Compare and alternatives
Signals
- Stars
- 3,033
- Forks
- 188
- Open issues
- 1
- Last commit (this folder)
- Sep 9, 2026 (1 month ago)
- Last release
- Oct 18, 2026 (9 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/Simon-He95/markstream-vue
- Website
- markstream.simonhe.me
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Simon-He95
- 0.842score
markstream-install
Simon-He95
Install and wire markstream-vue, markstream-react, markstream-vue2, markstream-angular, or markstream-svelte into an existing repository.
SkillAFreshness: A★ 3KClaude Code +9 - 0.842score
markstream-migration
Simon-He95
Audit and migrate existing Markdown rendering to Markstream, or upgrade a markstream-vue 1.x integration to 2.x.
SkillAFreshness: A★ 3KClaude Code +9 - 0.842score
markstream-custom-components
Simon-He95
Override built-in Markstream node renderers and add trusted custom tags across Vue, React, Svelte, and Angular.
SkillAFreshness: A★ 3KClaude Code +9 - 0.837score
markstream-nuxt
Simon-He95
Integrate markstream-vue into a Nuxt 3 or Nuxt 4 app.
SkillAFreshness: A★ 3KClaude Code +9 - 0.837score
markstream-vue2-vite
Simon-He95
Integrate markstream-vue2 into a Vue 2 plus Vite app.
SkillAFreshness: A★ 3KClaude Code +9 - 0.837score
markstream-vue2-cli
Simon-He95
Integrate markstream-vue2 into a Vue 2 Vue CLI or Webpack 4 app.
SkillAFreshness: A★ 3KClaude Code +9
Cite this page
markstream-react skill. Agent Mart. https://agentmart.dev/skills/simon-he95-markstream-react (last updated 2026-10-24)