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

markstream-svelte

하는 일

이 도구는 Svelte 5 또는 SvelteKit 프로젝트에 Markstream 컴포넌트를 추가하도록 돕습니다. 서식이 있는 콘텐츠(특수 표시가 있는 텍스트 등)를 효율적으로, 타이핑되는 것처럼 부드러운 애니메이션과 함께 표시할 수 있게 합니다.

사용하는 경우

  • ✓Svelte 5 또는 SvelteKit으로 새 프로젝트를 시작할 때.
  • ✓점진적으로 나타나는 서식 콘텐츠(스트리밍)를 보여 주고 싶을 때.
  • ✓백그라운드 처리를 위한 「workers」 같은 고급 기능이 필요할 때.

스킬 링크

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

AI에게 요청하는 예시

“기사 표시를 위해 내 Svelte 5 프로젝트에 Markstream을 통합해 주세요.”

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

작동 방식

Markstream이라는 특별한 컴포넌트를 Svelte 코드에 연결하는 방식으로 작동합니다. 이를 사용해 애니메이션과 보안 옵션을 포함해 콘텐츠가 표시되는 방식을 정의합니다.

기술 내용 (원본 SKILL.md)

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

Markstream Svelte

Overview

Integrate Markstream using Svelte 5 runes and SvelteKit-safe browser boundaries.

When to Use

Use for Svelte 5 or SvelteKit package setup, streaming state, workers, or scoped custom components. Svelte 4 is unsupported.

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 Svelte 5 and acceptance of a beta package.
  2. Install only requested peers; import package CSS after resets and KaTeX CSS only for math.
  3. Start with <MarkdownRender {content} /> and smooth streaming auto.
  4. For live chat disable fade and opt into the cursor; on completion set final, disable pacing/cursor, and enable fade only if desired.
  5. Use nodes only for worker-owned parsing or shared AST state.
  6. Use $props() and callbacks. Configure KaTeX or Mermaid workers only when requested.
  7. Prefer renderer-local customComponents; use scoped registration only when sharing is intentional.
  8. Keep browser-only workers behind SvelteKit client boundaries; validate with svelte-check, build, or e2e.

Example

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

  let { content, isDone }: { content: string; isDone: boolean } = $props()
</script>

<MarkdownRender
  {content}
  final={isDone}
  fade={isDone}
  typewriter={!isDone}
  smoothStreaming={isDone ? false : 'auto'}
  htmlPolicy="safe"
/>

Limitations

  • Svelte 4 is unsupported and the package is beta.
  • Workers and heavy peers require client-side bundler support.
  • This skill does not migrate unrelated Svelte architecture.

Security & Safety Notes

Keep safe HTML and strict Mermaid defaults. Review dependencies and never run browser-only peers during SSR.

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.

자주 묻는 질문

내 프로젝트는 Svelte 4를 쓰는데, 작동하나요?

아니요. 이 도구는 Svelte 5 또는 SvelteKit만을 위해 만들어졌으며, 베타(테스트) 단계에 있습니다.

「workers」란 무엇인가요?

메인 화면을 멈추지 않으면서 정보를 처리하는 백그라운드 작업 도우미 같은 것입니다.

인터넷의 콘텐츠를 표시하는 것은 안전한가요?

네. HTML 콘텐츠와 다이어그램을 안전하게 처리하는 보안 설정이 있지만, 그래도 검토하는 것이 좋습니다.

상세 정보

작성자의 원본 설명

Integrate the beta markstream-svelte renderer into Svelte 5 or SvelteKit with runes, explicit CSS, smooth streaming, workers, and SSR-safe boundaries.

repo: sickn33/agentic-awesome-skills

인기도

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

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬