markstream-vue2
यह क्या करती है
यह टूल Vue 2 प्रोजेक्ट्स में 'markstream-vue2' component जोड़ने में मदद करता है। यह Vue 2 के खास version के साथ सब कुछ सही तरह चलना पक्का करता है और तकनीकी बातों को संभालता है, ताकि आपको उनकी चिंता न करनी पड़े।
कब इस्तेमाल करें
- ✓Vue 2.6 या 2.7 इस्तेमाल करते समय, जब आपको Markdown जैसा formatted text दिखाने वाला component चाहिए।
- ✓जब आप चाहते हैं कि chat की तरह text धीरे-धीरे स्क्रीन पर आए।
- ✓पुराने Vue 2 versions के साथ compatibility पक्की करने के लिए।
Skill का लिंक
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/markstream-vue2/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे Vue 2 प्रोजेक्ट में markstream-vue2 कैसे सेट करूँ?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह टूल आपका Vue 2 version जाँचता है और ज़रूरी dependencies जोड़ता है। फिर component को text दिखाने के लिए configure करता है, जिसमें टाइपिंग या धीरे-धीरे आने वाले animation के विकल्प होते हैं।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Markstream Vue 2
Overview
Handle Vue 2.6/2.7 compatibility decisions that the generic installer cannot resolve safely.
When to Use
Use for Vue 2 integration when no bundler-specific edge case dominates. Use markstream-vue2-cli for Vue CLI/Webpack 4 and markstream-vue2-vite for Vite worker imports.
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.6 or 2.7 and install
markstream-vue2. - Add
@vue/composition-apionly for Vue 2.6 code that uses Composition API patterns; Vue 2.7 has built-in support. - Import
markstream-vue2/index.cssafter resets. - Start with
<MarkdownRender :content="markdown" />and smooth streamingauto. - For live chat disable fade and opt into the cursor; on completion set
final, disable pacing/cursor, and enable fade only if desired. - Use
nodesonly when another layer owns parsing. Use scoped mappings for overrides. - Keep HTML safe and Mermaid strict; validate with the smallest build or dev command.
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"
:typewriter="!done"
/>
</template>
Limitations
- Vue 2.6 and 2.7 have different Composition API requirements.
- Legacy bundlers require the dedicated specializations.
- Optional modern peers may not support every Vue 2 toolchain.
Security & Safety Notes
Review dependency and compatibility changes. Do not relax rendering safety for untrusted content.
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.
अक्सर पूछे जाने वाले सवाल
'Composition API' क्या है?
यह Vue.js में code को व्यवस्थित करने का एक आधुनिक तरीका है। Vue 2.6 में इसके लिए शायद एक अतिरिक्त package इंस्टॉल करना पड़े; Vue 2.7 में यह पहले से built-in है।
'streaming state' का क्या मतलब है?
इसका मतलब है कि text को टुकड़े-टुकड़े करके दिखाया जा सकता है, जैसे उसे real-time में टाइप या लोड किया जा रहा हो, न कि एक साथ सब एक बार में।
क्या यह किसी भी Vue version के साथ चलेगा?
नहीं, यह टूल खास तौर पर Vue 2.6 और 2.7 के लिए है। दूसरे versions या build tools (जैसे Vite) के लिए इस टूल के अलग versions हैं।
जानकारी
लेखक का मूल विवरण
Integrate markstream-vue2 into Vue 2.6 or 2.7 with correct Composition API decisions, CSS, streaming state, optional peers, and scoped overrides.
लोकप्रियता
- GitHub स्टार
- 48k
- रैंकिंग में स्थान
- #5177
- लाइसेंस
- MIT
- अपडेट की गई
- 15/10/2026
कमेंट
- …
इस repository की और skills
00-andruia-consultant
48kआपके एजेंट को AI प्रोजेक्ट शुरू करने या उन्हें बेहतर बनाने में मदद करता है। यह code का विश्लेषण करता है, tools सुझाता है और स्पेनिश भाषा में action plan बनाता है।
007
48kआपका एजेंट security audit और threat modeling करता है। यह प्रोजेक्ट को हमलों और कमजोरियों से बचाने में काम आता है।
10-andruia-skill-smith
48kआपके एजेंट को AI tools बनाने या उन्हें बेहतर करने में मदद करता है। यह तय करता है कि tools कैसे काम करेंगे, documentation लिखता है और structure की जांच करता है।
20-andruia-niche-intelligence
48kआपका एजेंट किसी खास industry का summary बनाता है। भरोसेमंद स्रोतों की मदद से यह प्रोजेक्ट का संदर्भ, नियम, इस्तेमाल के तरीके और जोखिम समझने में मदद करता है।
मिलती-जुलती skills
angular-developer
280kआपके एजेंट को Angular code बनाने और प्रोजेक्ट स्ट्रक्चर पर सलाह देने में मदद करता है। नए प्रोजेक्ट शुरू करने, code के हिस्से बनाने, या performance और accessibility सुधारने में उपयोगी है।
frontend-a11y
280kआपके एजेंट को web interfaces को सबके लिए accessible बनाने में मदद करता है। यह सुनिश्चित करता है कि websites और apps screen readers और keyboard navigation के साथ अच्छे से काम करें।
frontend-patterns
280kआपके एजेंट को React और Next.js में frontend development के modern patterns लागू करने में मदद करता है। यह performance optimize करता है, state manage करता है और best practices फॉलो करवाता है।