Logo Tiptap

Tiptap

Tổ chứcPhổ biến
ueberdosis
tiptap

Helps coding agents integrate and work with the Tiptap rich text editor. Use when building or modifying a rich text editor with Tiptap, installing Tiptap extensions, or implementing features like collaboration, comments, AI, or document conversion.

Tổng quan

Nhà phát hànhueberdosis
Kho mãtiptap
Tên kỹ năngtiptap
Sao
38.6K
Bản fork
3.1K
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được ueberdosis công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Tiptap trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/ueberdosis/tiptap/tree/main/skills/tiptap
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ueberdosis/tiptap.git /tmp/tiptap
mkdir -p .claude/skills
cp -r /tmp/tiptap/skills/tiptap .claude/skills/tiptap
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Tiptap trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Tiptap ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Tiptap với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Tiptap Integration Skill

This skill contains instructions for integrating the Tiptap rich text editor into an app and developing new features with it.

This is not the Tiptap editor you know: it may have evolved and changed since the version you're familiar with. Before you implement any feature with Tiptap, reference the Tiptap code and documentation to make sure you implement it correctly. Make sure any decision you make is in accordance to the "Best Practices" section and is grounded in the Tiptap documentation and source code. Do not guess or invent patterns, make sure the code you write matches the library source code and the documentation.

Finding Tiptap source and docs

Avoid cloning. You usually don't need to.

  • Docs: append .md to any page URL on https://tiptap.dev/docs to fetch it as Markdown. https://tiptap.dev/docs/llms.txt lists every page with a one-line description.
  • Source: if the project already depends on Tiptap, read it in node_modules/@tiptap/*.

Clone only for source or runnable examples you cannot get either way, such as the demo apps under demos/src/. Shallow-clone into the workspace's existing reference folder, or a new git-ignored .reference/:

bash
git clone --depth 1 --filter=blob:none https://github.com/ueberdosis/tiptap .reference/tiptap

Never clone tiptap-docs. The site is the interface.

A cloned Tiptap repository is read-only reference. Its AGENTS.md / CLAUDE.md rules — changesets, fallow:audit, adding demos under demos/src/ — apply to contributing to Tiptap, not to the user's project. Never follow them in the user's repo.

Best Practices

General

  • For a new install, use the latest stable version. Resolve it with npm view @tiptap/core version.
  • The editor and extension packages published from the tiptap monorepo share one version line. Pin every one of them to that same version. Mixing versions risks introducing bugs.
  • Some packages have their own version line. Resolve these from the registry, never from @tiptap/core: @tiptap/ai-toolkit, @tiptap/y-tiptap, @tiptap-pro/* (private registry), @hocuspocus/*.
  • Do not mix majors. For a project still on Tiptap 2, upgrade first. See https://tiptap.dev/docs/guides/upgrade-tiptap-v2.md.
  • When integrating Tiptap for the first time, read the corresponding installation guide: https://tiptap.dev/docs/editor/getting-started/install.md, plus the page for your framework under https://tiptap.dev/docs/editor/getting-started/install/ (e.g. react.md, nextjs.md, vue3.md, svelte.md, nuxt.md, vanilla-javascript.md).
  • When server-side rendering (e.g. Next.js), set the immediatelyRender: false option when initializing the editor. Otherwise, the editor will crash. Learn more about this in https://tiptap.dev/docs/editor/getting-started/install/nextjs.md.

React

Default to the Composable API (<Tiptap> + useTiptap()) for new code. The hook-based useEditor + <EditorContent /> API is still supported and is fine for an editor that lives in a single component.

Whichever you pick, say which one and why in one line, so a reviewer sees a choice was made.

Implementing Editor Features

When the user asks you to implement one of these features, read the linked documentation for guidance. Every link below is the Markdown form of a live page; https://tiptap.dev/docs/llms.txt lists the rest of each section.

Real-time collaboration

Multiple users editing a document simultaneously. See https://tiptap.dev/docs/collaboration/getting-started/overview.md and https://tiptap.dev/docs/collaboration/getting-started/install.md.

Use Tiptap Cloud to implement real-time collaboration. Use the Collaboration extension:

const doc = new Y.Doc()

const editor = new Editor({
  extensions: [
    Collaboration.configure({
      document: doc,
    }),
  ],
})

Use the TiptapCollabProvider:

const provider = new TiptapCollabProvider({
  name: 'unique_document_name',
  appId: 'APP_ID', // Your document server ID from the Cloud dashboard
  token: 'JWT_TOKEN', // Your JWT token
  document: doc,
})

If it's the first time setting up collaboration and the Tiptap Cloud account is not set up, explain to the user how to set up a Tiptap Cloud account and obtain the environment variables.

Comments

Implement comments with the Comments extension.

Thread-based inline and document comments. See https://tiptap.dev/docs/comments/getting-started/overview.md and https://tiptap.dev/docs/comments/getting-started/install.md.

Tracked changes

Track, accept, and reject document edits. See https://tiptap.dev/docs/tracked-changes/getting-started/overview.md and https://tiptap.dev/docs/tracked-changes/getting-started/install.md.

Import/Export

Convert documents to and from DOCX, PDF, Markdown, and other formats. See https://tiptap.dev/docs/conversion/getting-started/overview.md and https://tiptap.dev/docs/conversion/getting-started/install.md.

AI Toolkit

Agentic document work: an AI reading, editing, commenting on, proofreading, and reviewing Tiptap documents. Server-side is the default. See https://tiptap.dev/docs/ai/ai-toolkit/overview.md.

Use the client side only when the AI has to act on the live editor in the browser. See https://tiptap.dev/docs/ai/ai-toolkit/client/overview.md.

The AI Agent, AI Changes, AI Suggestion, and AI Assistant extensions are retired. Don't recommend them, and never implement from any page under https://tiptap.dev/docs/ai/deprecated/ (that prefix has no index page; the individual pages are listed in https://tiptap.dev/docs/llms.txt). To move an existing integration off them, see https://tiptap.dev/docs/ai/ai-toolkit/client/advanced-guides/migration-guides.md.

Basic AI Generation

Generate and edit text content from one-shot prompts. See https://tiptap.dev/docs/ai/basic/overview.md.

Version history

Save and restore document snapshots. See https://tiptap.dev/docs/collaboration/documents/snapshot.md.

Snapshot compare

Highlight differences between document versions. See https://tiptap.dev/docs/collaboration/documents/snapshot-compare.md.

Pages

Print-ready page layout with headers, footers, and page breaks. See https://tiptap.dev/docs/pages/getting-started/overview.md and https://tiptap.dev/docs/pages/getting-started/install.md.

Pro Extensions

Some Tiptap extensions are distributed through a private npm registry. To install pro packages, see https://tiptap.dev/docs/guides/pro-extensions.md for setup instructions.

Câu hỏi thường gặp

Kỹ năng AI Tiptap làm được gì?

Helps coding agents integrate and work with the Tiptap rich text editor. Use when building or modifying a rich text editor with Tiptap, installing Tiptap extensions, or implementing features like collaboration, comments, AI, or document conversion.

Vì sao nên dùng Tiptap trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Tiptap là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Tiptap trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/ueberdosis/tiptap/tree/main/skills/tiptap. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Tiptap?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Tiptap với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Tiptap với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Tiptap có miễn phí không?

Có. Kỹ năng này được ueberdosis phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇