본문으로 건너뛰기
Skillpedia
웹사이트 및 UI (프런트엔드)48k · #5169

markstream-install

하는 일

이 도구는 프로그래밍 프로젝트에 Markstream이라는 컴포넌트를 설치하고 설정하도록 돕습니다. 웹사이트가 채팅 인터페이스처럼 서식 있는 텍스트(예: Markdown)를 동적으로 표시할 수 있게 해 줍니다.

사용하는 경우

  • ✓실시간으로 입력되는 글을 보여 주는 채팅을 추가할 때.
  • ✓Vue, React, Svelte 또는 Angular 프로젝트에 Markstream을 설치할 때.
  • ✓텍스트 표시 문제나 서버 호환성 문제를 해결할 때.

스킬 링크

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/markstream-install/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/markstream-install/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“내 프로젝트에 React용 Markstream을 설치해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

도구는 프로젝트가 사용하는 기술(React나 Vue 등)을 확인하고, 맞는 버전의 Markstream을 설치한 뒤 스타일을 설정합니다. 텍스트가 조각조각 도착하더라도 올바르게 보이도록 합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Markstream Install

Overview

Integrate the correct Markstream streaming Markdown renderer into an existing frontend application. This skill selects the framework package, installs only requested optional peers, preserves safe HTML and Mermaid defaults, and handles CSS, streaming state, and SSR boundaries.

Read references/scenarios.md before selecting packages or optional peers.

When to Use

Use this skill when the user asks to:

  • add streaming Markdown rendering to an AI chat or document interface;
  • install Markstream in Vue, Nuxt, React, Next.js, Svelte, Angular, or Vue 2;
  • repair missing Markstream styles, an incorrect framework package, or an SSR failure;
  • replace another Markdown renderer with Markstream;
  • choose between static content, built-in smooth streaming, or externally parsed AST input.

How It Works

1. Inspect the host application

Before changing dependencies, inspect:

  • the framework and version in package.json;
  • the existing package-manager lockfile;
  • whether the application uses SSR;
  • reset, Tailwind, UnoCSS, or design-system styles;
  • required optional features such as highlighted code, Monaco, Mermaid, D2, or KaTeX.

Do not select markstream-vue merely because the source repository has Vue in its name. Choose the framework-specific package from the scenario table.

2. Install the smallest dependency set

Before installing or changing source files, preview the exact dependency and code changes and obtain explicit user approval. Do not switch package managers or replace an existing renderer implicitly.

Install exactly one framework package and preserve the repository's package manager. Add optional peers only when the requested UI uses their feature.

Examples:

npm install markstream-vue
npm install markstream-react
npm install markstream-svelte
npm install markstream-angular
npm install markstream-vue2

For Vue 2.6, also install and register @vue/composition-api. Vue 2.7 has a built-in Composition API and must not install that plugin.

3. Wire styles in the correct order

Import application resets before Markstream styles. Import package CSS explicitly instead of relying on component imports to inject it.

For Tailwind or UnoCSS, put the matching package stylesheet in a component layer:

@import 'markstream-vue/index.css' layer(components);

When math rendering is enabled, also import:

@import 'katex/dist/katex.min.css';

Vue CLI 4 and other Webpack 4-based Vue 2 projects do not understand package export maps. Use the published file path in those projects:

import 'markstream-vue2/dist/index.css'

4. Add the smallest working renderer

Prefer content for static documents and most streaming chat interfaces. Markstream's built-in smooth streaming can pace irregular token delivery without requiring the host application to maintain an AST.

Use nodes plus final only when a worker, shared AST store, custom transform, or another application layer already owns parsing.

5. Handle framework boundaries

  • In Nuxt, keep browser-only optional peers behind client boundaries.
  • In Next.js, use root markstream-react inside a 'use client' component for live SSE or WebSocket streams.
  • Use markstream-react/next for SSR-first HTML with hydration and markstream-react/server for server-only rendering.
  • Use markstream-svelte only with Svelte 5.
  • Confirm the host meets the current markstream-angular version requirement.
  • In Vue 3, use mode="chat" for AI chat, mode="docs" for rich documents, and mode="minimal" for lightweight non-chat surfaces.

6. Preserve safe defaults

HTML policy defaults to safe, and Mermaid uses strict mode. Do not broaden either setting unless the user explicitly identifies a trusted legacy surface that requires it. Scope any exception to that surface.

7. Validate

Run the smallest relevant build, typecheck, or test command. Confirm:

  1. the selected package matches the framework;
  2. only requested optional peers were added;
  3. styles load after resets;
  4. SSR pages do not evaluate browser-only peers on the server;
  5. static content and at least one incremental update render correctly.

Report the selected package, added peers, CSS location, streaming input choice, and validation command.

Examples

Vue 3 streaming chat

<MarkdownRender
  mode="chat"
  :content="markdown"

…
자주 묻는 질문

Markdown이란 무엇인가요?

별표 같은 특수 기호를 사용해 텍스트에 서식을 주는 간단한 방법입니다. 문서와 채팅에서 널리 쓰입니다.

「스트리밍」은 무엇을 뜻하나요?

내용이 한꺼번에 나타나지 않고 조금씩 전송되어 표시되는 것입니다. 동영상이 보는 동안 조금씩 로드되는 모습을 떠올려 보세요.

「선택적 피어(optional peers)」란 무엇인가요?

Markstream이 사용할 수 있는 추가 기능들입니다. 예를 들어 코드 강조나 다이어그램 기능이 있습니다. 도구는 실제로 필요한 것만 설치합니다.

상세 정보

작성자의 원본 설명

Install and configure Markstream streaming Markdown renderers for Vue, React, Svelte, Angular, Nuxt, Next.js, and Vue 2 applications.

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#5169
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬