Skip to content
Agent Orchestration
Skill

/tiptap-dev

Tiptap and ProseMirror work in VMark's WYSIWYG editor - custom nodes, marks and extensions, input and paste rules, the commands API, node views, selection handling and node traversal, and when to drop to raw ProseMirror. Use when changing editor commands, plugins or extensions.

From plugin
vmark
92210 skills6 agents7 commands1 MCP

Claude Code

$ npx -y skills add xiaolai/vmark --skill tiptap-dev --agent claude-code

SKILL.md

tiptap-dev.SKILL.md
name: tiptap-dev
description: Tiptap and ProseMirror work in VMark's WYSIWYG editor - custom nodes, marks and extensions, input and paste rules, the commands API, node views, selection handling and node traversal, and when to drop to raw ProseMirror. Use when changing editor commands, plugins or extensions.

Tiptap Development (VMark)

VMark's WYSIWYG editor is Tiptap on ProseMirror. This skill covers both the general Tiptap API and where VMark uses Tiptap versus raw ProseMirror.

Tiptap API or ProseMirror?

**Prefer the Tiptap API for:** format commands (bold, italic, underline…), block type changes, list operations, table operations through the table extension, content insertion and replacement, and state queries (`isActive`, `getAttributes`). Use `editor.commands.x()` for one operation and `editor.chain().focus().x().run()` when focus is needed or operations chain.

**Use ProseMirror directly for:**

  • The markdown conversion layer (`src/utils/markdownPipeline/` —

`mdastToProseMirror.ts` and the `mdast*Converters.ts` family)

  • Multi-cursor selection subclassing (`src/plugins/shared/MultiSelection.ts`)
  • Custom node views, low-level transactions, schema-level operations

**Respect block boundaries.** Never flatten with `doc.textContent` when a position or block matters; resolve the position and use the `$pos` helpers (`$pos.parent`, `$pos.before(depth)`, `$pos.after(depth)`). `references/vmark-patterns.md` has the `$pos` reference.

VMark examples to copy from: `src/plugins/toolbarActions/wysiwygAdapter*.ts` (block, list, code-block and CJK operations), `src/plugins/editorPlugins.tiptap.ts` (state checks), `src/components/Editor/TiptapEditor.tsx` (content setup). Plugins must not import app stores (`lint:store-coupling`; rule 00).

When to Use This Skill

  • Creating custom nodes, marks, or extensions for Tiptap
  • Implementing input rules or paste rules
  • Working with the Tiptap commands API
  • Building React integrations with useEditor
  • Extending existing extensions
  • Creating custom node views
  • Understanding the schema and content model

Reference Files

| File | Description | |------|-------------| | `references/extensions.md` | Extension types (Node, Mark, Extension), creation patterns | | `references/commands-and-api.md` | Commands API, editor API, chaining | | `references/input-paste-rules.md` | Input rules and paste rules | | `references/react-integration.md` | React-specific hooks and components | | `references/schema.md` | Schema properties, content patterns | | `references/examples.md` | Complete working examples | | `references/vmark-patterns.md` | Commands, state queries, `$pos` traversal and transactions, as VMark uses them |

Quick Reference

Extension Types

// Functionality extension (no schema)
Extension.create({ name: 'myExtension', addKeyboardShortcuts() { ... } })

// Node extension (block content)
Node.create({ name: 'myNode', group: 'block', content: 'inline*' })

// Mark extension (inline formatting)
Mark.create({ name: 'myMark', parseHTML() { ... }, renderHTML() { ... } })

Command Chaining

editor.chain().focus().toggleBold().run()
editor.can().chain().focus().toggleBold().run() // dry run

React Integration

const editor = useEditor({
  extensions: [StarterKit],
  content: '<p>Hello</p>',
  immediatelyRender: false, // for SSR
})

Core Concepts

1. **Headless Architecture**: Tiptap provides logic, you control rendering 2. **Extension-Based**: Everything is an extension (nodes, marks, functionality) 3. **ProseMirror Foundation**: Built on ProseMirror, full access to its APIs 4. **Schema-Driven**: Content model defined by node/mark schemas 5. **Command Pattern**: All operations via chainable commands

Read more
@xiaolai
Ships withvmark

The Plain-Text Workspace Where Humans and AI Collaborate Free. Local-first. Format-aware. VMark is the plain-text workspace where humans and AI collaborate.

92210 skills6 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
922
Star history of xiaolai/vmark on GitHub, a chart by star-history.com

Other skills on vmark.

css-design-tdd

css-design-tdd

Test-driven CSS design system modifications. Run checks before/after CSS changes to verify token usage, variable definitions,…

@xiaolai@xiaolaiInstall Skill
mcp-dev

mcp-dev

Build or change VMark's MCP integration - the server/mcp sidecar's tools and schemas, the Rust bridge, the frontend bridge…

@xiaolai@xiaolaiInstall Skill
plan-audit

plan-audit

Audit or verify an implementation against a plan (dev-docs/plans/* or .claude/tdd-guardian/*). Audit mode inspects for gaps,…

@xiaolai@xiaolaiInstall Skill
planning

planning

Create comprehensive implementation plans and write them to plan files. Use when the user asks for a plan, comprehensive plan,…

@xiaolai@xiaolaiInstall Skill
react-app-dev

react-app-dev

Implement or modify VMark React UI with project conventions (Zustand selectors, Tailwind v4, shadcn/ui). Use for components,…

@xiaolai@xiaolaiInstall Skill
rust-tauri-backend

rust-tauri-backend

Implement or modify VMark's Rust/Tauri v2 backend and its frontend bridge - Tauri commands, invoke/emit/listen IPC, menu items…

@xiaolai@xiaolaiInstall Skill

More skills from other plugins.

1password

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

openclaw7d395k
@steipete@steipeteInstall Skill
jira-tickets

jira-tickets

Read and update Jira tickets through Orca's saved Jira connections. Use when a task comes from Jira or the user asks for Jira…

orca5d128k
@stablyai@stablyaiInstall Skill
agentmail

agentmail

Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…

paperclip6d114k
@paperclipai@paperclipaiInstall Skill
adr-create

adr-create

Create a new Architecture Decision Record with sequential numbering and AgentDB registration

@ruvnet@ruvnetInstall Skill

Questions about tiptap-dev.

Which coding agents can use tiptap-dev?
tiptap-dev installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.