From 36668c4d8fa018d4b1af9d952e3c10d72d0e4b58 Mon Sep 17 00:00:00 2001 From: Ivo Date: Thu, 25 Jun 2026 22:50:28 +0200 Subject: [PATCH] docs(elements): point README to the unlayer-elements skill Add a short "Using with AI agents" section after Quick Start with the `npx skills add unlayer/unlayer-skills` command, so users building these templates with Claude/Cursor know the official skill exists. Co-Authored-By: Claude Opus 4.8 (1M context) --- packages/react/README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/packages/react/README.md b/packages/react/README.md index 95ef400..5b05462 100644 --- a/packages/react/README.md +++ b/packages/react/README.md @@ -47,6 +47,16 @@ function WelcomeEmail() { } ``` +## Using with AI agents (Claude, Cursor, etc.) + +Assembling these templates in code is something AI coding agents do well. The official **`unlayer-elements`** skill teaches them the strict structure, the canonical prop shapes, the image-sizing model, and the patterns that make generated emails actually look good: + +```bash +npx skills add unlayer/unlayer-skills +``` + +This installs the `unlayer-elements` skill (alongside the other Unlayer skills). Your agent then knows how to build emails, pages, and documents with these components and render them via `renderToHtml` / `renderToJson`. See [unlayer/unlayer-skills](https://github.com/unlayer/unlayer-skills). + ## Critical Rules These props have non-obvious shapes that **must** be followed exactly: