markstream-vue2-cli
Helps your agent integrate markstream-vue2 into Vue CLI or Webpack projects. Ensures CSS works correctly and provides fallbacks for loading.
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.
Example of what to ask your AI
“How can I use markstream-vue2 in my Vue 2 project with Webpack 4?”
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
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.
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-cliOr download just the file:
curl -L https://raw.githubusercontent.com/sickn33/agentic-awesome-skills/main/plugins/agentic-awesome-skills-claude/skills/markstream-vue2-cli/SKILL.md -o SKILL.mdTechnical 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
- #3561
- 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