From d71d0fb833f16a04768ddd3c484479f41ee0638f Mon Sep 17 00:00:00 2001 From: "Dawid.AI" Date: Tue, 21 Jul 2026 16:02:47 +0700 Subject: [PATCH] docs: agent-optimize README + add AGENTS.md/CLAUDE.md and IDE pointer files --- .cursor/rules/cloudinary.mdc | 8 ++ .github/copilot-instructions.md | 5 + AGENTS.md | 87 +++++++++++++++ CLAUDE.md | 39 +++++++ README.md | 181 +++++++++++++++++++++----------- 5 files changed, 261 insertions(+), 59 deletions(-) create mode 100644 .cursor/rules/cloudinary.mdc create mode 100644 .github/copilot-instructions.md create mode 100644 AGENTS.md create mode 100644 CLAUDE.md diff --git a/.cursor/rules/cloudinary.mdc b/.cursor/rules/cloudinary.mdc new file mode 100644 index 00000000..c0d61fe7 --- /dev/null +++ b/.cursor/rules/cloudinary.mdc @@ -0,0 +1,8 @@ +--- +description: Cloudinary frontend-frameworks — agent guide +alwaysApply: true +--- + +Read and follow `AGENTS.md` in the repository root. It is the single +authoritative guide for this package: build/test commands, conventions, +gotchas, and when to use this SDK versus a sibling Cloudinary package. diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md new file mode 100644 index 00000000..dd451281 --- /dev/null +++ b/.github/copilot-instructions.md @@ -0,0 +1,5 @@ +# Cloudinary frontend-frameworks — instructions for AI coding agents + +Read `AGENTS.md` in the repository root and follow it. It is the single +authoritative guide for this package: build/test commands, conventions, +gotchas, and when to use this SDK versus a sibling Cloudinary package. diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 00000000..04eb5b45 --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,87 @@ +# AGENTS.md — frontend-frameworks + +## What this monorepo is (one line) +The current Cloudinary React/Angular/Vue **component** SDKs — `` / `` plus plugins — built on `@cloudinary/url-gen`. A Lerna 4 monorepo (independent versioning) publishing `@cloudinary/react`, `@cloudinary/ng` (Angular), `@cloudinary/vue`, and the shared `@cloudinary/html` layer. + +## When to use this / when NOT to use this +- **Use this when:** you're rendering media as a **React, Angular, or Vue component** and want `` / `` with plugins (`lazyload`, `responsive`, `accessibility`, `placeholder`) instead of hand-writing `` / `