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

markstream-migration

하는 일

이 도구는 서식 있는 텍스트(별표로 굵은 글씨를 만드는 것 같은 텍스트)를 표시하는 기존 프로그램을 Markstream이라는 새 프로그램으로 바꾸도록 돕습니다. 맞춤 부분과 보안 규칙을 포함해 모든 것이 이전과 같이 작동하도록 합니다.

사용하는 경우

  • ✓「react-markdown」이나 「markdown-it」 같은 프로그램을 교체할 때.
  • ✓서식 있는 텍스트를 표시하는 컴포넌트를 옮길 때.
  • ✓Markstream으로 텍스트를 표시하는 가장 좋은 방법을 고를 때.

스킬 링크

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

AI에게 요청하는 예시

“현재 서식 텍스트 표시 도구를 Markstream으로 바꾸고 싶습니다. 맞춤 설정과 보안은 그대로 유지해 주세요.”

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

작동 방식

도구는 현재 프로그램이 텍스트를 어떻게 표시하는지 분석하고, 중요한 부분(맞춤 설정과 보안 규칙 등)을 찾아냅니다. 그리고 같은 일을 하도록 Markstream을 설정하는 것을 돕습니다. 보이는 동작과 보안을 유지하는 데 집중합니다.

기술 내용 (원본 SKILL.md)

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

Markstream Migration

Overview

Replace an existing Markdown renderer without silently dropping transforms, custom components, URL policy, raw-HTML behavior, or streaming semantics. Read references/adoption-checklist.md first.

When to Use

Use when replacing react-markdown, markdown-it, marked, or another renderer; migrating node renderers; or choosing between Markstream content, smooth streaming, and nodes.

Workflow

Before changing dependencies or source files, inspect the existing package manager and project conventions, preview the intended edits, and obtain explicit user approval.

  1. Inventory renderer imports, call sites, plugins, HTML policy, URL transforms, allowlists, custom renderers, CSS, and tests.
  2. Classify the migration as direct, renderer-custom, plugin-heavy, or security-heavy.
  3. Install the framework package and explicit CSS. Preserve visible behavior before optional features.
  4. Map built-ins to scoped overrides; in React prefer renderer-local component maps.
  5. Use trusted custom tags only for trusted content and reserve parse transforms for irreducible token/AST requirements.
  6. Keep content with smooth streaming for ordinary token streams. Use nodes only for worker parsing, shared AST ownership, or structural transforms.
  7. Preserve safe HTML and strict Mermaid defaults; scope and document any trusted legacy exception.
  8. Run relevant builds and behavior tests. Report mappings, intentional differences, and unresolved review.

Example

// Before:
// import ReactMarkdown from 'react-markdown'
// return <ReactMarkdown>{markdown}</ReactMarkdown>

import MarkdownRender from 'markstream-react'
import 'markstream-react/index.css'

export function AssistantAnswer({
  markdown,
  isDone,
}: {
  markdown: string
  isDone: boolean
}) {
  return (
    <MarkdownRender
      content={markdown}
      final={isDone}
      fade={isDone}
      typewriter={!isDone}
      smoothStreaming={isDone ? false : 'auto'}
      htmlPolicy="safe"
    />
  )
}

Limitations

  • Markstream cannot reproduce every remark, rehype, or markdown-it plugin automatically.
  • Visual parity does not prove security or URL-policy parity.
  • Large migrations may require staged conversion.

Security & Safety Notes

Do not weaken sanitization for screenshot parity. Review dependencies, raw HTML, URL transforms, and trust boundaries explicitly.

자주 묻는 질문

Markdown 렌더러란 무엇인가요?

특정 형식(별표로 굵은 글씨를 쓰는 Markdown 같은)으로 작성된 텍스트를 화면에 보여 줄 수 있는 모습으로 바꾸는 프로그램입니다.

맞춤 렌더러란 무엇인가요?

텍스트 표시 프로그램의 맞춤 부분으로, 표준이 아닌 특정 요소를 고유한 방식으로 보여 주기 위해 만들어집니다.

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

한꺼번에 나타나는 대신, 타이핑되는 것처럼 텍스트가 화면에 조금씩 표시되는 방식입니다.

상세 정보

작성자의 원본 설명

Audit and migrate an existing Markdown renderer to Markstream while preserving custom renderers, security policy, streaming behavior, and explicit parity gaps.

repo: sickn33/agentic-awesome-skills

인기도

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

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬