markstream-vue2-vite
Lets your agent integrate markstream-vue2 with Vite in Vue 2 projects. It handles worker imports and CSS ordering for better compatibility.
What it does
This tool helps you use a component called 'markstream-vue2' in Vue 2 projects that use Vite. It ensures everything works correctly, including special features like charts (Mermaid) and math formulas (KaTeX).
When to use it
- ✓When your project uses Vue 2 and Vite.
- ✓If you need charts (Mermaid) or formulas (KaTeX) to work in your Vue 2 project.
- ✓To integrate the 'markstream-vue2' component safely and efficiently.
Example of what to ask your AI
“How do I set up markstream-vue2 in my Vue 2 with Vite project to display charts?”
Want more? Open the sections below.
How to use
The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.
Skill link
Ready-to-paste message
How it works
It configures your project so Vite can 'bundle' and use markstream-vue2's special features, like those for charts. It also adjusts how text is displayed to be safer and faster.
Installation
Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.
In the terminal (Claude Code, Codex, Cursor), in your project folder:
npx skills add sickn33/agentic-awesome-skills --skill markstream-vue2-viteOr download just the file:
curl -L https://raw.githubusercontent.com/sickn33/agentic-awesome-skills/main/plugins/agentic-awesome-skills-claude/skills/markstream-vue2-vite/SKILL.md -o SKILL.mdTechnical content (original SKILL.md)
Original text by the author, straight from GitHub.
Markstream Vue 2 Vite
Overview
Use Vite-native worker bundling while preserving Vue 2 compatibility and rendering safety.
When to Use
Use when the host is Vue 2 with Vite and needs bundled Mermaid or KaTeX workers. Use the generic Vue 2 skill when worker/bundler behavior is irrelevant.
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 with Vite and install only requested peers.
- Import
markstream-vue2/index.cssafter reset, Tailwind, or UnoCSS layers. - Use package worker entrypoints with Vite
?workeror?worker&inlineimports only when needed. - Add
@vue/composition-apionly for Vue 2.6 code requiring it. - Keep
contentwith smooth streaming for chat; setfinaland disable pacing/cursor for history. - Use
nodesonly for externally owned parsing. Keep HTML safe and Mermaid strict. - Validate the Vite build and worker loading path.
Example
<script>
import MarkdownRender from 'markstream-vue2'
import 'markstream-vue2/index.css'
export default {
components: { MarkdownRender },
props: { content: String, done: Boolean },
}
</script>
<template>
<MarkdownRender
:content="content"
:final="done"
:fade="done"
/>
</template>
Limitations
- Vite worker syntax is not portable to Vue CLI/Webpack 4.
- Inline workers can increase bundle size.
- Optional peers may impose additional browser requirements.
Security & Safety Notes
Review worker source, CSP, dependency changes, and bundle impact. Do not relax 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.
FAQ
What is Vite?
Vite is a modern tool for building web projects, known for its speed.
What is Vue 2?
Vue 2 is an older, but still used, version of a popular framework for creating web user interfaces.
What are 'workers'?
Workers are like small programs that run in the background to perform tasks without freezing the main interface of your website.
Details
Original description by the author
Integrate markstream-vue2 into Vue 2 plus Vite with bundled worker imports, CSS ordering, Composition API compatibility, and safe streaming defaults.
Popularity
- GitHub stars
- 48k
- Ranking position
- #3562
- License
- MIT
- Updated
- 10/15/2026
Comments
- …
More skills from this repository
00-andruia-consultant
Helps your agent start or improve AI projects. It analyzes code, suggests tools, and creates action plans in Spanish.
sickn33/agentic-awesome-skills
007
Lets your agent perform security audits and threat modeling. It's useful for protecting projects against attacks and vulnerabilities.
sickn33/agentic-awesome-skills
10-andruia-skill-smith
Helps your agent create or improve AI tools. It defines how tools work, writes documentation, and validates the structure.
sickn33/agentic-awesome-skills
20-andruia-niche-intelligence
Lets your agent create a summary about a specific industry. It's useful for understanding the context, rules, usage patterns, and risks of a project, using reliable sources.
sickn33/agentic-awesome-skills
Similar skills
angular-developer
Helps your agent create Angular code and give project structure advice. Useful for starting new projects, creating code parts, or improving performance and accessibility.
affaan-m/ECC
frontend-a11y
Helps your agent make web interfaces accessible to everyone. It ensures websites and apps work well with screen readers and keyboard navigation.
affaan-m/ECC
frontend-patterns
Has your agent apply modern patterns in frontend development. It optimizes performance, manages state, and follows best practices in React and Next.js.
affaan-m/ECC