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

markstream-nuxt

하는 일

이 도구는 Nuxt 3 또는 4 프로젝트에서 「markstream-vue」를 사용하도록 돕습니다. 웹사이트가 서버에서 만들어지더라도, 브라우저에서만 작동하는 코드 부분이 올바르게 실행되도록 합니다.

사용하는 경우

  • ✓Nuxt 3 또는 4에서 페이지나 컴포넌트를 만들 때.
  • ✓AI가 생성한 콘텐츠를 실시간으로(스트리밍) 표시하고 싶을 때.
  • ✓풍부한 문서나 가벼운 인터페이스를 Nuxt 프로젝트에 통합할 때.

스킬 링크

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

AI에게 요청하는 예시

“Nuxt 웹사이트의 채팅 형식으로 AI가 생성한 텍스트를 어떻게 표시할 수 있나요?”

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

작동 방식

도구는 「markstream-vue」를 Nuxt에 맞게 설정합니다. 브라우저에서 실행되어야 하는 코드를 분리하며, 이는 `<ClientOnly>`나 동적 import 같은 Nuxt 기능으로 이루어집니다.

기술 내용 (원본 SKILL.md)

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

Markstream Nuxt

Overview

Integrate markstream-vue into Nuxt while keeping hydration, browser-only peers, workers, and streaming behavior on the correct side of SSR boundaries.

When to Use

Use for Nuxt 3 or 4 pages, components, or plugins. Use markstream-vue for non-Nuxt Vue applications and markstream-install when the framework is not yet known.

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 Nuxt 3 or 4 and install only requested peers.
  2. Put browser-only peers behind <ClientOnly>, .client plugins, dynamic imports, or guarded initialization.
  3. Import markstream-vue/index.css explicitly from a client-safe shell or plugin.
  4. Start with content: mode="chat" for AI streams, docs for rich documents, and minimal for lightweight non-chat surfaces.
  5. Keep smooth streaming in auto mode for SSR; do not force true on first-screen server content.
  6. When a chat row completes, keep its mode stable, set final, disable pacing/cursor, and enable fade only if desired.
  7. Keep HTML safe and Mermaid strict. Put optional code, diagram, and worker runtimes behind client boundaries.
  8. Validate build/typecheck, hydration, and one incremental client update.

Example

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

defineProps<{ markdown: string; done: boolean }>()
</script>

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

Limitations

  • Browser-only peers cannot run during SSR.
  • Hydration depends on correct host plugin/component boundaries.
  • This skill does not configure deployment adapters.

Security & Safety Notes

Do not expose trusted HTML or loose Mermaid settings to untrusted model output. Review dependency and runtime-boundary changes.

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.

자주 묻는 질문

SSR이란 무엇인가요?

SSR(서버 사이드 렌더링)은 웹사이트를 사용자의 브라우저로 보내기 전에 서버에서 미리 조립하는 방식입니다. 성능과 SEO에 도움이 될 수 있습니다.

「하이드레이션」이란 무엇인가요?

브라우저의 자바스크립트 코드를 서버가 이미 렌더링한 HTML과 연결해, 페이지를 상호작용할 수 있게 만드는 과정입니다.

「브라우저 전용 피어」란 무엇인가요?

웹사이트가 사용자의 브라우저에서 실행될 때만 작동하는 코드 부분입니다. 서버에서는 작동하지 않습니다.

상세 정보

작성자의 원본 설명

Integrate markstream-vue into Nuxt 3 or 4 with SSR-safe client boundaries, renderer modes, explicit CSS, and browser-only optional peers.

repo: sickn33/agentic-awesome-skills

인기도

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

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬