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

markstream-vue

하는 일

이 도구는 Vue 3로 만든 웹사이트에 서식 있는 텍스트를 표시하도록 돕습니다. 텍스트가 타이핑되는 것처럼 나타나게 할 수 있으며, 다양한 표시 스타일과 긴 텍스트를 위한 최적화 옵션이 있습니다.

사용하는 경우

  • ✓채팅에서 타이핑되는 것처럼 보이는 텍스트를 표시하고 싶을 때.
  • ✓Vue 3 사이트에 특별한 서식이 있는 문서를 표시할 때.
  • ✓사이트가 느려지지 않도록 아주 긴 텍스트의 표시를 최적화해야 할 때.

스킬 링크

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

AI에게 요청하는 예시

“이 텍스트를 채팅에서 타이핑되는 것처럼, 안전한 서식으로 표시해 주세요:”

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

작동 방식

도구는 텍스트를 해석하고 설정에 따라 표시하는 컴포넌트를 Vue 3 코드에 삽입합니다. 텍스트가 나타나는 방식(채팅 모드, 문서 등)과 렌더링 방식(코드, 일반 텍스트)을 선택할 수 있습니다.

기술 내용 (원본 SKILL.md)

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

Markstream Vue 3

Overview

Configure the Vue 3 renderer beyond generic installation: surface modes, streaming lifecycle, code rendering, long-message virtualization, and scoped overrides.

When to Use

Use for a plain Vue 3 application after the package has been selected. Use markstream-nuxt when SSR-specific Nuxt boundaries matter.

Workflow

Inspect the existing package manager, installed package version and project conventions. A requested scoped integration already authorizes routine source/dependency edits; seek approval only for a material scope expansion or unresolved beta/alpha adoption decision.

  1. Confirm Vue 3 and not Nuxt. Install only requested peers and import markstream-vue/index.css after resets.
  2. Start with content. Use mode="chat" for AI streams, docs for rich documents, and minimal for lightweight non-chat surfaces.
  3. Choose fenced-code rendering explicitly: pre without a peer, shiki with stream-markdown, or compatibility-named monaco backed by stream-diffs.
  4. For live chat use smooth streaming auto, no fade, and an optional cursor. On completion keep the same mode, set final, and disable pacing/cursor.
  5. Use nodes only for worker parsing or structural AST ownership.
  6. For long transcripts, keep an existing outer message virtualizer in charge. Use Markstream logical height rather than mounted DOM height.
  7. Use scoped component registration and preserve safe HTML and Mermaid strict mode.
  8. Validate the smallest build/typecheck plus one incremental stream and one long-message case.

Example

<script setup lang="ts">
import MarkdownRender from 'markstream-vue'
import 'markstream-vue/index.css'

defineProps<{ content: string; isDone: boolean }>()
</script>

<template>
  <MarkdownRender
    mode="chat"
    :content="content"
    :final="isDone"
    :fade="isDone"
    :typewriter="!isDone"
    :smooth-streaming="isDone ? false : 'auto'"
    html-policy="safe"
  />
</template>

Limitations

  • Optional peers add bundle and browser-runtime cost.
  • DOM-minimal mode disables wrapper-dependent features.
  • Virtualization integration requires stable content and measurement keys.

Security & Safety Notes

Review dependency changes. Never enable trusted HTML or loose Mermaid rendering for untrusted model output.

Verify props, export paths and peer ranges against the installed package, not a mutable upstream main. Test partial and completed streams, malformed/untrusted Markdown, links and image URLs, cancellation and reduced motion. Safe HTML and strict diagrams reduce exposure but do not alone enforce URL/network privacy or application component permissions.

자주 묻는 질문

Nuxt가 필요한가요, 아니면 Vue 3만 있으면 되나요?

이 도구는 일반 Vue 3용입니다. Nuxt를 사용한다면 그 전용 버전이 있습니다.

텍스트를 더 빠르게 나타나게 하려면 어떻게 하나요?

「streaming」 옵션을 조정하면 텍스트가 표시되는 속도와 부드러움을 제어할 수 있습니다.

아무 텍스트나 표시해도 안전한가요?

`html-policy="safe"`와 `Mermaid strict mode`를 사용하도록 설정하면 안전합니다. 신뢰할 수 없는 콘텐츠는 이러한 보호 장치 없이 절대 표시하지 마세요.

상세 정보

작성자의 원본 설명

Integrate markstream-vue into plain Vue 3 with renderer modes, code and DOM choices, streaming state, virtualization, optional peers, and scoped components.

repo: sickn33/agentic-awesome-skills

인기도

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

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬