Chatbot Mvp Distillation Zh logo

Chatbot Mvp Distillation Zh

Community
pdsuwwz
chatbot-mvp-distillation-zh

将 chatgpt-vue3-light-mvp 项目蒸馏为可迁移到其他项目的中文架构指南。适用于设计或实现类似 ChatGPT 的 Web 对话产品,包括 SSE/fetch 流式响应、模型适配器契约、打字机渲染、Markdown/代码/KaTeX/Mermaid 渲染、推理过程展示,以及从本 Vue 3 MVP 迁移到其他项目的方案规划。

Overview

Publisherpdsuwwz
Repositorychatgpt-vue3-light-mvp
Skill namechatbot-mvp-distillation-zh
Stars
580
Forks
91
Bundled files
6
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 6 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by pdsuwwz on GitHub. Read the source before you install it.

Installation

Install the Chatbot Mvp Distillation Zh AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/pdsuwwz/chatgpt-vue3-light-mvp/tree/main/.agents/skills/chatbot-mvp-distillation-zh
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/pdsuwwz/chatgpt-vue3-light-mvp.git /tmp/chatgpt-vue3-light-mvp
mkdir -p .claude/skills
cp -r /tmp/chatgpt-vue3-light-mvp/.agents/skills/chatbot-mvp-distillation-zh .claude/skills/chatbot-mvp-distillation-zh
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Chatbot Mvp Distillation Zh in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Chatbot Mvp Distillation Zh on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Chatbot Mvp Distillation Zh is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Chatbot MVP 蒸馏 zh

使用这个 Skill,把 chatgpt-vue3-light-mvp 的工程经验迁移到其他项目,而不是机械复制当前仓库代码。

源项目是一个基于 Vue 3 + Vite + TypeScript 的单轮大模型对话 MVP。它最值得复用的经验是:

  • 将模型特有的流式协议和 UI 渲染解耦
  • 先把不同模型的增量响应归一化为文本块,再交给界面展示
  • 使用打字机缓冲区,让网络读取速度和视觉输出速度分离
  • 将 Markdown、代码高亮、数学公式、Mermaid 图表和推理块组织成独立渲染管线
  • 保留 Mock Stream,让其他项目在没有真实 API Key 时也能开发和验证界面

使用流程

  1. 先识别目标项目的前端框架、状态管理方式和 API 边界。
  2. 设计整体模块边界时,阅读 references/architecture.md。
  3. 实现 fetch/SSE/ReadableStream 流式处理时,阅读 references/streaming-sse.md。
  4. 增加模型供应商或统一响应格式时,阅读 references/model-adapters.md。
  5. 实现富文本回答渲染时,阅读 references/markdown-rendering.md。
  6. 在其他项目落地前,阅读 references/migration-checklist.md 做迁移检查。

输出要求

在其他项目使用这个 Skill 时:

  • 先描述适配后的架构,再动代码
  • 保持模型适配器和 UI 组件相互独立
  • 在实现供应商之前,先定义小而稳定的流式增量契约
  • 保留一条本地 Mock Stream 路径,方便开发和演示
  • 明确指出目标项目和当前 Vue MVP 的差异
  • 在可行时验证流式读取、停止生成、完成态、Markdown、代码块、数学公式和 Mermaid 图表

源码锚点

可以把这些文件作为源项目案例阅读:

  • src/views/chat.vue:输入、模型选择、reader 生命周期和停止生成行为
  • src/store/business/index.ts:创建 reader 的 service/store 边界
  • src/components/MarkdownPreview/transform/index.ts:SSE 与 JSON chunk 拆包
  • src/components/MarkdownPreview/models/index.ts:模型适配器和增量响应转换
  • src/components/MarkdownPreview/index.vue:打字机渲染和完成状态
  • src/components/MarkdownPreview/plugins/markdown.ts:Markdown、KaTeX、Mermaid 和推理块渲染

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Chatbot Mvp Distillation Zh AI skill do?

将 chatgpt-vue3-light-mvp 项目蒸馏为可迁移到其他项目的中文架构指南。适用于设计或实现类似 ChatGPT 的 Web 对话产品,包括 SSE/fetch 流式响应、模型适配器契约、打字机渲染、Markdown/代码/KaTeX/Mermaid 渲染、推理过程展示,以及从本 Vue 3 MVP 迁移到其他项目的方案规划。

Why use Chatbot Mvp Distillation Zh on TypingMind?

Because you install it once and use it with any model. Chatbot Mvp Distillation Zh is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Chatbot Mvp Distillation Zh in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/pdsuwwz/chatgpt-vue3-light-mvp/tree/main/.agents/skills/chatbot-mvp-distillation-zh. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Chatbot Mvp Distillation Zh?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Chatbot Mvp Distillation Zh?

As many as you like. As long as a model supports skills, you can use Chatbot Mvp Distillation Zh with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Chatbot Mvp Distillation Zh AI skill free?

Yes. It is published on GitHub by pdsuwwz under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇