markstream-vue2-cli
What it does
This tool helps use the 'markstream-vue2' library in older Vue 2 projects using Vue CLI or Webpack 4. It ensures CSS works correctly and provides alternatives for modern features that might not be compatible.
When to use it
- ✓When your Vue 2 project uses Vue CLI or Webpack 4.
- ✓If you cannot use modern features like 'package export maps' or 'Vite worker imports'.
- ✓To integrate 'markstream-vue2' without breaking your existing project.
Skill link
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/markstream-vue2-cli/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“How can I use markstream-vue2 in my Vue 2 project with Webpack 4?”
5 new skills a week. 1 minute to read.
How it works
The tool adjusts how 'markstream-vue2' is imported and configured to work with the limitations of Vue CLI and Webpack 4. It imports CSS separately and uses alternatives for features like workers.
Technical content (original SKILL.md)
Original text by the author, straight from 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.
FAQ
What are 'package export maps'?
They are a more modern way to organize and import parts of a JavaScript library. Older projects might not understand this organization.
What are 'CDN worker fallbacks'?
These are alternatives to run certain tasks (like rendering math formulas) using code downloaded from the internet (CDN) if the main method doesn't work in your environment.
Why use 'conservative code-block defaults'?
It means the tool uses safer and simpler settings for code blocks, avoiding compatibility or security issues in older environments.
Details
Original description by the author
Integrate markstream-vue2 into Vue CLI or Webpack 4 with export-map-safe CSS, CDN worker fallbacks, and conservative code-block defaults.
Popularity
- GitHub stars
- 48k
- Ranking position
- #5175
- License
- MIT
- Updated
- 10/15/2026
Comments
- …
More skills from this repository
00-andruia-consultant
48kHelps your agent start or improve AI projects. It analyzes code, suggests tools, and creates action plans in Spanish.
007
48kLets your agent perform security audits and threat modeling. It's useful for protecting projects against attacks and vulnerabilities.
10-andruia-skill-smith
48kHelps your agent create or improve AI tools. It defines how tools work, writes documentation, and validates the structure.
20-andruia-niche-intelligence
48kLets 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.
Similar skills
angular-developer
280kHelps your agent create Angular code and give project structure advice. Useful for starting new projects, creating code parts, or improving performance and accessibility.
frontend-a11y
280kHelps your agent make web interfaces accessible to everyone. It ensures websites and apps work well with screen readers and keyboard navigation.
frontend-patterns
280kHas your agent apply modern patterns in frontend development. It optimizes performance, manages state, and follows best practices in React and Next.js.