Skip to content

[Docs] README and AGENTS updates: Split docs by audience (plugin authors vs framework contributors)#47

Merged
stefanoverna merged 1 commit into
masterfrom
docs/readme-dev-instructions
Jul 17, 2026
Merged

[Docs] README and AGENTS updates: Split docs by audience (plugin authors vs framework contributors)#47
stefanoverna merged 1 commit into
masterfrom
docs/readme-dev-instructions

Conversation

@roger-datocms

Copy link
Copy Markdown
Member

What

Documentation-only pass over the monorepo's READMEs and agent guides:

  • Root README — new "Building a plugin?" section steering plugin authors to the build-your-first-plugin scaffolding guide (direct installs are rarely needed), plus a "Developing" pointer to each package's contributor instructions.
  • Package READMEs (datocms-plugin-sdk, datocms-react-ui) — split into a "Using" section for plugin authors and a "Developing" section for contributors: monorepo setup (lerna bootstrap / lerna run build), the install-in-place workflow for testing changes inside a real plugin (including its per-package scope and the sdk-before-react-ui ordering), and the lockstep release flow.
  • Bug fix: the react-ui README's title and install snippets said datocms-plugin-sdk — a copy-paste from the sdk's README that's been wrong since the file was created.
  • Agent guides: renamed packages/react-ui/CLAUDE.mdAGENTS.md (the cross-tool standard) and added the missing first-time-setup steps; added a small root AGENTS.md with monorepo-wide guidance.
  • All doc links use absolute GitHub URLs, since the package READMEs are published to npm where relative links break.

Why

The old READMEs documented the packages as if they were standalone installs, with nothing about how the monorepo actually builds, how the two packages interdepend, or how to test changes against a real plugin — knowledge that otherwise has to be rediscovered by trial and error.

🤖 Generated with Claude Code

- Root README: steer plugin authors to the build-your-first-plugin
  scaffolding guide (direct installs are rarely needed) and add a
  Developing pointer to each package's instructions
- Package READMEs: separate "Using" sections for plugin authors from
  "Developing" sections with brief monorepo setup (lerna
  bootstrap/build), the install-in-place workflow (per-package scope,
  cross-package ordering), and the lockstep release flow
- Fix react-ui README title and install snippets, which referred to
  datocms-plugin-sdk instead of datocms-react-ui
- Rename packages/react-ui/CLAUDE.md to AGENTS.md (cross-tool standard)
  and add the missing first-time monorepo setup steps to it
- Add a root AGENTS.md with monorepo-wide guidance for coding agents
- Use absolute GitHub URLs throughout, since package READMEs are
  published to npm where relative links break

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@roger-datocms roger-datocms changed the title Split docs by audience: plugin authors vs contributors [Docs] README and AGENTS updates: Split docs by audience (plugin authors vs framework contributors) Jul 15, 2026
@matjack1

Copy link
Copy Markdown
Member

I'm not the best person to review this. I'll leave it to @stefanoverna for when he can

@matjack1
matjack1 requested review from stefanoverna and removed request for matjack1 July 16, 2026 08:27
@stefanoverna
stefanoverna merged commit fccb263 into master Jul 17, 2026
@stefanoverna
stefanoverna deleted the docs/readme-dev-instructions branch July 17, 2026 08:16
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.

3 participants