Skip to content
Editlet

Your agent writes, you merge: introducing Editlet

Nov 15, 2026, 4:00 AM · 4 min read

An open book on a mossy stone with a quill and a red wax seal, a white-stone town across a river

Editlet is a small CMS for Next.js and Astro sites. Your content stays in your repository as Markdown files, your coding agent edits it, and every change waits in a pull request until a person merges it. It is alpha, and this post says what works today and what does not.

Try it

Give your coding agent this prompt in a Next.js or Astro project:

Install Editlet in this project: add the package `editlet` with the project's package manager, then read
node_modules/editlet/skills/editlet-setup/SKILL.md and follow it.

The agent adds the package, links three skills, writes the config and a first schema, and checks the result.

One edit, from schema to merge

Here is what a single change looks like.

  1. Describe the content. One file, cms/schema.json, lists your collections and their fields. Each entry is a Markdown file with YAML frontmatter, such as cms/content/post/autumn.md. On Next.js, Editlet writes TypeScript types for your entries from the schema.
  2. Edit it. Ask your agent to "write a post about the autumn release". It reads the schema, writes the file and validates it. Or open any page of your site with ?editlet at the end of the URL. The editor opens over the real page, and you see your text change on the page as you type.
  3. Merge it. On the live site every save is a commit on an editlet/<name> branch with a pull request. A developer reviews the diff and merges it on GitHub. Your host deploys the site as usual.

The editor never merges. Your agent merges only after you approve the pull request in the conversation.

What is in the package

  • Adapters for Next.js (withEditlet and a typed reader for Server Components) and Astro (an integration and content collections).
  • The editor, served from your own site at /editlet/. It builds forms from fourteen field types, from text and images to references and page blocks.
  • A loader of 1.74 KB (brotli) on your pages. It does nothing until the URL has ?editlet.
  • Three agent skills: editlet edits content, editlet-setup installs and checks Editlet, and editlet-migrate moves existing Markdown content in.
  • A small GitHub sign-in handler that you host yourself, as a Next.js route, a Cloudflare Worker or a Node server.

There is no Editlet account and no hosted service. Editors sign in with GitHub, and GitHub decides what they may do.

What it does not do yet

We would rather you hear the limits from us than find them after a migration.

  • Content goes live with a deploy. The site reads entries at build time. A merged edit shows after the next build. On Next.js a draft render can show a branch before the merge.
  • Hundreds of entries, not millions. Every load reads all entries. That is fine for a blog, a docs site or a marketing site, not for a large catalogue.
  • Images live in the repository. Uploads stop at 8 MB, and Editlet makes no resized copies.
  • GitHub only. The live editor works with GitHub. Other Git hosts are not supported.
  • No basePath. Next.js basePath and Astro base are not supported yet.
  • Alpha. Names and options can still change before 1.0.

Who it is for

Editlet fits a team whose site already lives on GitHub: a developer who asks Claude Code to change the site, a small team where editors fix text and images without touching code, an agency with many client sites. The content is plain Markdown, so you can stop using Editlet at any time and keep every file.

What is next

Read the quick start for Next.js or for Astro. The next two posts explain the two choices behind Editlet: why the agent gets a skill and not a server and why every change is a pull request.