markstream-vue2-cli
하는 일
이 도구는 Vue CLI 또는 Webpack 4를 쓰는 오래된 Vue 2 프로젝트에서 「markstream-vue2」 라이브러리를 사용하도록 돕습니다. CSS가 올바르게 작동하도록 하고, 호환되지 않을 수 있는 최신 기능에 대한 대안을 제공합니다.
사용하는 경우
- ✓Vue 2 프로젝트가 Vue CLI나 Webpack 4를 사용할 때.
- ✓「package export maps」나 「Vite worker imports」 같은 최신 기능을 쓸 수 없을 때.
- ✓기존 프로젝트를 망가뜨리지 않고 「markstream-vue2」를 통합하고 싶을 때.
스킬 링크
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/markstream-vue2-cli/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“Webpack 4를 쓰는 Vue 2 프로젝트에서 markstream-vue2를 어떻게 사용할 수 있나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
도구는 Vue CLI와 Webpack 4의 제약에 맞게 「markstream-vue2」를 가져오고 설정하는 방식을 조정합니다. CSS는 따로 가져오며, worker 같은 기능에는 대체 방법을 사용합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Markstream Vue 2 CLI
Overview
Handle Vue CLI and Webpack 4 constraints that differ materially from modern Vue 2/Vite setup.
When to Use
Use when Vue 2 runs on Vue CLI or Webpack 4 and package export maps or Vite worker imports are unavailable.
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.
- Confirm Vue 2 plus Vue CLI/Webpack 4.
- Install
markstream-vue2and only requested peers. - Import
markstream-vue2/dist/index.css, because legacy tooling may not understand the CSS export map. - Avoid
?workerimports. Use Markstream CDN worker helpers for KaTeX or Mermaid only when needed. - Prefer
stream-markdowncode blocks over fragile Monaco worker wiring. - Keep
contentwith smooth streaming for chat; setfinaland disable pacing/cursor for completed history. - Keep HTML safe and Mermaid strict; validate the actual legacy build.
Example
<script>
import MarkdownRender from 'markstream-vue2'
// Legacy Webpack may not resolve the package CSS export map.
import 'markstream-vue2/dist/index.css'
export default {
components: { MarkdownRender },
data: () => ({ content: '# Answer', done: false }),
}
</script>
<template>
<MarkdownRender
:content="content"
:final="done"
:fade="false"
/>
</template>
Limitations
- CDN workers require network access and compatible content-security policy.
- Monaco-style worker setups are intentionally not covered.
- Vue 2.6 may also require
@vue/composition-api.
Security & Safety Notes
Do not introduce CDN workers without reviewing CSP, network policy, and dependency trust. Preserve safe rendering defaults.
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.
Vue 2 is end-of-life; preserve a requested legacy integration and document its maintenance/support decision rather than silently upgrading the whole application. Prefer reviewed locally bundled workers over mutable CDN code where feasible.
자주 묻는 질문
「package export maps」란 무엇인가요?
JavaScript 라이브러리의 부분을 정리하고 가져오는 더 현대적인 방식입니다. 오래된 프로젝트는 이 구조를 이해하지 못할 수 있습니다.
「CDN worker fallbacks」란 무엇인가요?
기본 방법이 환경에서 작동하지 않을 때, 인터넷(CDN)에서 내려받은 코드를 사용해 특정 작업(예: 수학 공식 렌더링)을 실행하는 대안입니다.
「보수적인 코드 블록 기본값」을 쓰는 이유는 무엇인가요?
도구가 코드 블록에 더 안전하고 단순한 설정을 사용해, 오래된 환경에서 호환성이나 보안 문제를 피한다는 뜻입니다.
상세 정보
작성자의 원본 설명
Integrate markstream-vue2 into Vue CLI or Webpack 4 with export-map-safe CSS, CDN worker fallbacks, and conservative code-block defaults.
인기도
- GitHub 스타
- 48k
- 순위
- #5175
- 라이선스
- MIT
- 업데이트
- 2026. 10. 15.
댓글
- …
이 저장소의 다른 스킬
00-andruia-consultant
48k에이전트가 AI 프로젝트를 시작하거나 개선할 수 있도록 코드를 분석하고 스페인어로 실행 계획을 세워 줍니다.
007
48k에이전트가 보안 감사와 위협 모델링을 수행해 공격과 취약점으로부터 프로젝트를 보호하도록 돕습니다.
10-andruia-skill-smith
48k에이전트가 AI 도구의 작동 방식을 정의하고 문서를 쓰며 구조를 검증하도록 돕습니다.
20-andruia-niche-intelligence
48k에이전트가 신뢰할 수 있는 자료를 바탕으로 특정 산업의 맥락, 규칙, 사용 패턴, 위험을 정리한 요약을 만들도록 돕습니다.
비슷한 스킬
angular-developer
280k에이전트가 Angular 코드를 만들고 프로젝트 구조를 조언하도록 돕습니다. 새 프로젝트 시작, 코드 부분 생성, 성능과 접근성 개선에 유용합니다.
frontend-a11y
280k모든 사람이 웹 인터페이스를 쓸 수 있도록 에이전트를 돕습니다. 웹사이트와 앱이 화면 읽기 프로그램과 키보드 탐색에서 잘 작동하도록 합니다.
frontend-patterns
280k프론트엔드 개발의 현대적인 패턴을 적용하도록 에이전트를 돕습니다. React와 Next.js에서 성능을 최적화하고, 상태를 관리하며, 모범 사례를 따릅니다.