add-adapter Cursor ruleA
add-adapter from edgestorejs/edgestore is a Cursor rule: instructions the Cursor agent follows in that repo.
mdr add edgestorejs/edgestore/.cursor/rules/add-adapter.mdc@git:20260928.5b79f19Pins git:20260928.5b79f19 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- Cursor rule
- Repository
- edgestorejs/edgestore
- Path
.cursor/rules/add-adapter.mdc- Versions recorded
- 5
- Latest version
- git:20260928.5b79f19, committed Sep 28, 2026
- First version recorded
- May 11, 2025
- Size
- 17,800 bytes
- Repository stars
- 454
- License
- MIT
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
Use the following diff as base to create a new adapter. Here is the express adapter example: [index.ts](mdc:packages/server/src/adapters/express/index.ts) ``` diff --git a/docs/docs/adapters/fastify.mdx b/docs/docs/adapters/fastify.mdx new file mode 100644 index 0000000..b5d34a2 --- /dev/null +++ b/docs/docs/adapters/fastify.mdx @@ -0,0 +1,177 @@ +--- +id: fastify-adapter +title: Fastify Adapter +sidebar_label: Fastify +slug: /fastify-adapter +--- + +import TabItem from '@theme/TabItem'; +import Tabs from '@theme/Tabs'; + +# Fastify Adapter + +Some applications are built with React on the frontend (e.g. using `create-react-app` or `vite`) and have a `fastify` backend. + +You can use EdgeStore in these cases, even without using Next.js. + +## Setup + +### Install + +Let's start by installing the required packages. + +<Tabs> +<TabItem value="npm" label="npm"> + +```shell +npm install @edgestore/server @edgestore/react zod +``` + +</TabItem> +<TabItem value="pnpm" label="pnpm"> + +```shell +pnpm add @edgestore/server @edgestore/react zod +``` + +</TabItem> +<TabItem value="bun" label="bun"> + +```shell +bun add @edgestore/server @edgestore/react zod +``` + +</TabItem> …
Read the whole file at its exact version.
How to install
mdr add edgestorejs/edgestore/.cursor/rules/add-adapter.mdc@sha256:87c26281880af1d8The line at the top of this page pins the label git:20260928.5b79f19, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_tbacvbdkz27hhmx2)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between May 11, 2025 and Sep 28, 2026, about one every 126 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260928.5b79f19 latest | 2026-09-28 | 5b79f19 | 17,800 B | A | view · diff |
| git:20260927.069563d | 2026-09-27 | 069563d | 17,802 B | A | view · diff |
| git:20250531.5173ca8 | 2025-05-31 | 5173ca8 | 18,536 B | A | view · diff |
| git:20250511.913909b | 2025-05-11 | 913909b | 18,539 B | A | view · diff |
| git:20250511.b13e3b7 | 2025-05-11 | b13e3b7 | 18,482 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (17800 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
edgestorejs/edgestore · 454 stars · license MIT · pushed 2026-11-01 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_tbacvbdkz27hhmx2 GET https://markdownregistry.com/api/v1/resolve?ref=edgestorejs/edgestore/.cursor/rules/add-adapter.mdc GET https://markdownregistry.com/api/v1/blob/87c26281880af1d87a4fd23d683486ec23ec4eadc3c98d19e5544319a8a7625e
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: Cursor rules vs AGENTS.md · which agent file does what.