Nx Import
nrwl/nx
Import, merge, or combine repositories into an Nx workspace using nx import.
How to write changesets in the Portable Text Editor monorepo.
$ npx skills add portabletext/editor --skill changesets -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install portabletext/editor changesets --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/portabletext/editor.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/changesets .claude/skills/changesets && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "changesets" agent skill from https://github.com/portabletext/editor/tree/main/.agents/skills/changesets into .claude/skills/changesets/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "changesets", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/portabletext/editor/tree/main/.agents/skills/changesetsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add portabletext/editor --skill changesets -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install portabletext/editor changesets --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/portabletext/editor.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/changesets .agents/skills/changesets && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "changesets" agent skill from https://github.com/portabletext/editor/tree/main/.agents/skills/changesets into .agents/skills/changesets/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "changesets", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add portabletext/editor --skill changesets -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install portabletext/editor changesets --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/portabletext/editor.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/changesets .cursor/skills/changesets && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "changesets" agent skill from https://github.com/portabletext/editor/tree/main/.agents/skills/changesets into .cursor/skills/changesets/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "changesets", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/portabletext/editor.git --path .agents/skills/changesets--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add portabletext/editor --skill changesets -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install portabletext/editor changesets --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/portabletext/editor.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/changesets .gemini/skills/changesets && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "changesets" agent skill from https://github.com/portabletext/editor/tree/main/.agents/skills/changesets into .gemini/skills/changesets/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "changesets", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install portabletext/editor changesetsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add portabletext/editor --skill changesets -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/portabletext/editor.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/changesets .github/skills/changesets && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "changesets" agent skill from https://github.com/portabletext/editor/tree/main/.agents/skills/changesets into .github/skills/changesets/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "changesets", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add portabletext/editor --skill changesets -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install portabletext/editor changesets --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/portabletext/editor.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/changesets .opencode/skills/changesets && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "changesets" agent skill from https://github.com/portabletext/editor/tree/main/.agents/skills/changesets into .opencode/skills/changesets/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "changesets", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
changesetsHow to write changesets in the Portable Text Editor monorepo.
Changesets is an agent skill from portabletext/editor. How to write changesets in the Portable Text Editor monorepo. Use whenever adding a .changeset/.md file or deciding whether a change needs one. Covers bump selection (patch/minor/none), the subject-mirrors-commit rule, consumer-facing prose style, and API changesets, with real exemplars from the repo history.
Its SKILL.md is about 2.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Development, covering Monorepo tooling. The repository describes itself as: The Standalone Portable Text Editor. The licence is MIT.
Read from SKILL.md and the folder at commit 60a494b. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Changesets loads about 2.1k tokens when it runs. Until then it costs about 81 tokens; SKILL.md has 873 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from portabletext/editor at commit 60a494b, republished under its MIT licence (© portabletext). 873 words, ~2,139 tokens.
.claude/skills/changesets/SKILL.md (or your agent's skills folder).get-sibling-map-fallback.md, catalog-cross-kind.md), not the ticket/PR.fix: / user-visible refactor → patch. New API → minor.plugin-typeahead-picker precedent); changesets manage it from 1.0.0 on.fix:/feat: (see the commits skill).---
'@portabletext/editor': patch
---
<commit subject, verbatim, prefix and backticks included>
<blank line>
<1–2 paragraphs for the CONSUMER: present tense, observable behavior>fix:/feat:, no scope.defineX render-prop-types and '*' catch-all entries in editor/CHANGELOG.md).event.type gain a case".// Previously threw: TypeError: ...). Input alone is not enough: the reader must see which call to look for in their own code. Run the snippet against the old and new code before committing it. When the bug depends on an action (a keystroke, a paste), the changeset names the exact steps and content.---
'@portabletext/editor': patch
---
fix(perf): resolve the `unset` selection fallback's nearest spans without a document scan
Backspacing through empty blocks, and any other edit that removes the node the selection sits in, no longer slows down with document size. Previously each such removal scanned the document from the start to find the nearest span; in large documents this made deleting empty lines feel sluggish (~267ms per backspace at 8,000 blocks, now ~20ms).
One narrow behavioral fix rides along: when the removed node was addressed by a numeric path, the fallback previously moved the selection to the document's first span; it now moves it to the actual nearest span.Why it's good: observable symptom first ("backspacing ... no longer slows down"), numbers with context, and the secondary behavioral change named explicitly, last. One phrase in it is retired: this exemplar predates the ban on "rides along" and on labels, so imitate its structure (the secondary change named, last), not its wording. Today the last paragraph reads: "Removing a node addressed by a numeric path also moves the selection to the actual nearest span instead of the document's first span."
---
'@portabletext/editor': minor
---
feat: add `editor.dom.getPointAtCoordinates`
Pass viewport coordinates (for example a pointer event's `clientX`/`clientY`) and get back where a click at those coordinates would place the caret, as an editor selection point, or `null` when the coordinates don't hit the editor's content:
```ts
const point = editor.dom.getPointAtCoordinates({
x: event.clientX,
y: event.clientY,
})
// {path: [{_key: 'b1'}, 'children', {_key: 's1'}], offset: 3}
```It's the counterpart of editor.dom.getSelectionRect: that one turns a selection into pixels, this one turns pixels back into a point. Behavior guards and actions get it on their dom argument.
Why it's good: the export is named, the example shows input AND output shape, and the
"counterpart of" framing places the API in the consumer's existing mental model.
### patch: behavior fix, consumer-observable framing
```md
---
'@portabletext/editor': patch
---
fix: resolve `getSibling` when `blockIndexMap` misses or disagrees with the tree
`getSibling` previously returned `undefined` for siblings the tree
plainly has when the anchor's path was absent from the block-index
map, and could return the wrong sibling when the map was stale. It now
verifies the mapped position against the tree and falls back to a
linear scan, matching `getNode` and `getChildren`. Paths addressing
the anchor by numeric index now resolve instead of returning
`undefined`.Why it's good: states the wrong observable outputs (undefined where a sibling exists, wrong sibling), then the new contract, and anchors it to sibling APIs the consumer already trusts ("matching getNode and getChildren").
When a major lands as a stack of PRs feeding one Version Packages release, three extra rules apply; each was learned from a real incident during the v8 stack:
remove-render-list-item changeset promised data-list-item/data-level stay; the unified-DOM changeset removes them.)main until released. (The props-shape-types PR added no changeset: remove-render-style absorbed BlockStyleRenderProps, since prop and types leaving together is one change to the consumer.)Pick<BlockStyleRenderProps, ...> consumer got a personalized migration note; nobody Picks from a callback-payload type.)updateBlock's reconcile...") — consumers don't care where it was, only what changed for them.Past changesets are consumed on release; packages/*/CHANGELOG.md is where they accumulate. The 7.x entries in editor/CHANGELOG.md are the reference set.
© portabletext, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/changesets of portabletext/editor.
Open the folder on GitHubat commit 60a494b
Changesets next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Changesets this skillportabletext/editor | 280 | — | ~2.1k | Automated safety check: Pass | MIT | |
| Nx Importnrwl/nx | 29k | 6 repos | ~3.5k | Automated safety check: Pass | MIT | |
| Nx Workspacenomcopter/react-mosaic | 4.8k | 8 repos | ~1.9k | Automated safety check: Pass | Custom licence | |
| Electron Multi-Process ArchitectureiOfficeAI/AionUi | 33k | 1 repos | ~1.8k | Automated safety check: Pass | Apache-2.0 | |
| Nx Run Tasksnomcopter/react-mosaic | 4.8k | 8 repos | ~613 | Automated safety check: Pass | Custom licence | |
| Astro Developerwithastro/astro | 63k | 1 repos | ~1.5k | Automated safety check: Pass | Custom licence |
nrwl/nx
Import, merge, or combine repositories into an Nx workspace using nx import.
nomcopter/react-mosaic
Explore and understand Nx workspaces. An agent skill from nomcopter/react-mosaic.
iOfficeAI/AionUi
Tells the agent where new code belongs in an Electron multi-process project and which APIs each process may use, with rules for new bridges, services, agents and workers.
nomcopter/react-mosaic
Helps with running tasks in an Nx workspace. An agent skill from nomcopter/react-mosaic.
withastro/astro
Comprehensive guide for developing in the Astro monorepo. An agent skill from withastro/astro.
TryGhost/Ghost
Moves a package from another TryGhost repository into Ghost as an internal workspace package while keeping its Git history, with checkpoints for the steps that need an administrator.
portabletext/editor
Write clear, concise, accessible product copy for interfaces, docs, and system messages.
portabletext/editor
How to write commit messages in the Portable Text Editor monorepo.
portabletext/editor
How the next prerelease branch for the upcoming editor major works in the Portable Text Editor monorepo.
portabletext/editor
How to backport a fix from main to a maintenance branch (editor-v6.x, editor-v7.x) in the Portable Text Editor monorepo.
portabletext/editor
How to write and review code comments in the Portable Text Editor monorepo.
portabletext/editor
Work with Portable Text, a JSON-based specification for structured block content.
Categories
How to write changesets in the Portable Text Editor monorepo. Changesets is an agent skill from portabletext/editor. How to write changesets in the Portable Text Editor monorepo.
Changesets fits situations like: adding a .changeset/.md file; deciding whether a change needs one.
Run `npx skills add portabletext/editor --skill changesets -a claude-code`. Or copy the skill folder (.agents/skills/changesets in portabletext/editor) into .claude/skills/changesets in your project. Claude Code loads it when a task matches its description.
Run `npx skills add portabletext/editor --skill changesets -a codex`. Or copy the skill folder (.agents/skills/changesets in portabletext/editor) into .agents/skills/changesets in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add portabletext/editor --skill changesets -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/changesets, .gemini/skills/changesets, .github/skills/changesets and .opencode/skills/changesets in your project.
SKILL.md names no scripts, command-line tools or credentials: Changesets is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Changesets is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.1k tokens (SKILL.md is roughly 8.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Changesets: Nx Import (nrwl/nx, 29k stars), Nx Workspace (nomcopter/react-mosaic, 4.8k stars), Electron Multi-Process Architecture (iOfficeAI/AionUi, 33k stars) and Nx Run Tasks (nomcopter/react-mosaic, 4.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
portabletext (a GitHub organization) maintains it in portabletext/editor, which has 280 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on October 6, 2026.
Source: portabletext/editor on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.