Skip to content

docs: simple READMEs with banner, details moved to docs/ - #212

Merged
vreshch merged 2 commits into
masterfrom
docs/readme-rewrite
Nov 22, 2026
Merged

vreshch merged 2 commits into
masterfrom
docs/readme-rewrite

Conversation

@vreshch

@vreshch vreshch commented Nov 22, 2026 •

Copy link
Copy Markdown
Member

Problem

The root README had 220 lines. Release operations, history and option lists came before what the repo is. One line was wrong: "the cli clones the old repo agentage/extension-template". cli 0.73.0 takes agentage/kit:template. The package READMEs are the npm pages, and their first lines did not say what each package is or show a short real example. The template README said both "publishes the package to npm" and "never npm", and it named a private repo.

Change

  • Root README.md goes from 220 to 88 lines. It has a banner, what the repo is, a quick start that I ran, what is in the repo (a figure and a table), how to work on it, how a change is released, three lines for agents and links.
  • The five package READMEs (the npm pages) are now short: a banner, what the package is, install, one real example from the template, and links. The detail moved unchanged into docs/extension-package.md, docs/apphost.md, docs/identity.md, docs/shell-dashboard.md and docs/widget.md. The release operations moved into docs/release.md.
  • template/README.md reads as the README of a new extension. The id stays out of tables, so prettier passes for any id length. It has no image: the URL of a new repo is unknown at create time, and the kit's URL would show the kit in every user's repo.
  • New images docs/banner.svg and docs/packages.svg, in the style of the cli banner.
  • AGENTS.md is a symlink to CLAUDE.md, at the root only, because the cli refuses a link inside template/. The pointers in CLAUDE.md follow the moved sections. template/CLAUDE.md now links agentage/examples (it linked extension-probe). One code comment in core-client.ts points to the new doc.

This PR releases nothing: the kit releases only by a v* tag. No package version moves.

How verified

  • I ran npx @agentage/cli@latest extension create my-ext --no-install, then npm ci, npm run verify and npx agentage extension check. Result: PASS my-ext 0.1.2 conforms (6 rules). check with cli 0.73.0 also passes, with one warning: the template kit range is ^0.21.
  • I ran extension create ab and extension create a-very-long-extension-id from this branch (--from agentage/kit#docs/readme-rewrite:template --yes --no-install), then npm ci and npm run verify. Both are green, and the README passes prettier.
  • Kit: npm ci, npm run build, type-check, lint and format:check are green. npx vitest run packages/identity is green. node packages/apphost/dist/cloud-main.js --check packages/apphost/fixtures/check/core exits 0.
  • The full npm run verify on this machine: 20 apphost runtime tests fail. They start child processes and open ports. The only code change is one comment line, so CI decides.
  • SVGs: rendered to PNG with rsvg-convert and inspected. The text fits each card.
  • A script checked the relative links. The external links answer 200.

Not verified

  • I did not run npm run test:e2e (widget or shell).
  • I did not run extension up, up --docker or token, because they change the local daemon or need Docker. Their text comes from --help and the old README.
  • The absolute URLs of the banner and of docs/*.md answer 404 until this PR merges. The npm pages change only at the next kit release.

Reviewer checks

Check the Template check, including the Template create jobs for a short and a long id.

Fix round

  • release.yml held message now points to docs/release.md (text only).
  • Banner and quick start use the same plain npx @agentage/cli extension create my-ext; one line says to add --no-install to only create the files. I did not run the plain form (it installs into the local daemon).
  • template/CLAUDE.md names no private repo; roles instead.
  • Template pins cli ^0.73.0 and kit ^0.22.0 (engines.agentage ^0.22), relocked with npm 10. Template verify and check pass with no update notice; all Template jobs are green.
  • packages/extension/README.md links docs/parts.md and docs/tool.md. All package README links are absolute.

https://claude.ai/code/session_01XQkodgygL4W8UcLQDwC212

@vreshch
vreshch marked this pull request as ready for review November 22, 2026 15:35
@vreshch
vreshch merged commit eae458d into master Nov 22, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant