Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Collaborative editing with Yjs in Next.js v1.0.0

Use this resource to add Yjs collaborative editing to a Next.js application

New

  • 350 downloads
  • 231 likes
  • 174 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install yjs-collaborative-editing-nextjs

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent applies rules that prevent silent data loss: plain objects in Y.Map, Uint8Array transport, origin-scoped undo, cursors and where the sync loop can run on Vercel. You get collaborative editing verified against Yjs 13.6.31.

Mostly picked by

Updated November 2, 2026

Card for the “Collaborative editing with Yjs in Next.js” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • AGENTS.md: rules by category, from topology to the editor
  • references/hist-scope-undo-by-origin.md: undo scoped by origin; references/host-vercel-lacks-instance-affinity.md: Vercel and instance affinity

Good fit for

  • Two people edit the same document and one change disappears
  • You want collaboration cursors in a Next.js editor

Not for

    Tags

    • yjs
    • collaboration
    • next.js
    • real time

    About

    You say

    “Add collaborative editing to this Next.js page with Yjs and save the document.”

    Card for the “Collaborative editing with Yjs in Next.js” skill

    Skill published by pproenca under the MIT license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to add Yjs collaborative editing to a Next.js application
    3. Review and adjust the result

    Content preview

    Files

    • AGENTS.md7.1 KB
    • assets/templates/_template.md1.5 KB
    • LICENSE1.1 KB
    • metadata.json3 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • references/_sections.md2.4 KB
    • references/hist-scope-undo-by-origin.md2.7 KB
    • references/hist-snapshots-require-gc-disabled.md2.3 KB
    • references/hist-wait-for-indexeddb-sync.md2.1 KB
    • references/host-authorize-rooms-not-updates.md3 KB
    • references/host-pin-the-yjs-13-track.md1.6 KB
    • references/host-route-handlers-cannot-upgrade.md2.6 KB
    • references/host-trpc-is-not-the-sync-channel.md2.9 KB
    • references/host-vercel-lacks-instance-affinity.md2.7 KB
    • references/host-websocket-server-is-not-production.md3 KB
    • references/model-nested-types-not-plain-objects.md2.1 KB
    • references/model-seed-the-document-once.md2.1 KB
    • references/model-yarray-has-no-move.md2 KB
    • references/model-ytext-only-for-prose.md1.9 KB
    • references/pres-awareness-is-ephemeral.md3.1 KB
    • references/pres-relative-positions-for-cursors.md2.3 KB
    • references/react-keep-yjs-client-only.md2.2 KB
    • references/react-stable-doc-and-provider.md2.3 KB
    • references/react-subscribe-via-usesyncexternalstore.md2.9 KB
    • references/ui-do-not-drive-inputs-from-the-doc.md2.8 KB
    • references/ui-tiptap-collaboration-wiring.md2.9 KB
    • references/wire-base64-not-superjson.md2.3 KB
    • references/wire-compaction-needs-a-doc-roundtrip.md2.1 KB
    • references/wire-rehydrate-to-uint8array.md1.7 KB
    • references/wire-send-updates-not-state.md1.6 KB
    • SKILL.md10.5 KB

    Origin and licence

    Listed unmodified

    Author
    pproenca
    Source
    github.com/pproenca/dot-skills/tree/cf93c57cac89d6fc3e4194686000411567f5caf3/skills/.experimental/yjs-nextjs
    Licence
    MIT

    Notice

    « yjs-nextjs » (pproenca, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.