markstream-vue2
できること
このツールは、Vue 2のプロジェクトに「markstream-vue2」コンポーネントを組み込むためのものです。使用しているVue 2のバージョンに合わせて正しく動作するようにし、技術的な細かい部分はツールが処理するので、心配する必要はありません。
使う場面
- ✓Vue 2.6または2.7を使っていて、Markdownなどの整形されたテキストを表示するコンポーネントが必要なとき。
- ✓チャットのように、テキストを少しずつ画面に表示したいとき。
- ✓古いVue 2のバージョンとの互換性を確保したいとき。
スキルのリンク
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/markstream-vue2/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“Vue 2プロジェクトにmarkstream-vue2を設定するにはどうすればよいですか?”
毎週5つの新しいスキル。1分で読めます。
仕組み
このツールはVue 2のバージョンを確認し、必要な依存関係を追加します。テキストを表示するようコンポーネントを設定し、タイプされているように見せる表示や、少しずつ現れるアニメーションのオプションも用意します。
技術的な内容(元の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でコードを整理するための、より新しい方法です。Vue 2.6では追加のパッケージをインストールする必要がある場合がありますが、Vue 2.7では標準で対応しています。
「ストリーミング状態」とはどういう意味ですか?
テキストを一度にすべて表示するのではなく、タイプされているように、またはリアルタイムで読み込まれているように、少しずつ表示できる状態のことです。
どのVueのバージョンでも使えますか?
いいえ、このツールはVue 2.6と2.7専用です。他のバージョンやViteなどのビルドツールを使う場合は、それぞれ別のバージョンのツールがあります。
詳細
作者による元の説明
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
- 更新日
- 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エージェントが Web インターフェースを誰にとっても使いやすくするよう支援します。スクリーンリーダーやキーボード操作に対応し、サイトやアプリが適切に動作するようにします。
frontend-patterns
280kエージェントがフロントエンド開発の最新パターンを適用できるようにします。React と Next.js において、パフォーマンスの最適化、状態管理、ベストプラクティスの遵守を行います。