edgeone-makers-recipes

edgeone-makers-recipes is a cursor rule for Cursor from TencentEdgeOne/edgeone-makers-tools. It costs 29 tokens per session (3,002 once invoked), scanned A, original, MIT.

Templates and setup instructions for common EdgeOne Makers application types.

In plain words
What is it for?
They help scaffold full-stack applications, static websites, API services, and AI agent projects.
Why use it?
They reduce the need to decide a project structure and starting files from scratch.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc).

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is 💾 **Where does the data live?** This platform has **no database**. The API skeletons above return empty data — to actually persist records, uploads, votes, or .

Good fit They help scaffold full-stack applications, static websites, API services, and AI agent projects.

Compare 6 cursor rules from other repositories ↓
About the project

EdgeOne Makers Tools is a collection of AI-agent skills and related workflow files for developing and deploying projects on EdgeOne Makers. It covers agent development, deployment, edge and cloud functions, storage, middleware, command-line usage, and project templates. The catalogue entries package these capabilities as skills, rules, instructions, a hook, and a plugin for coding agents.

TencentEdgeOne/edgeone-makers-tools · 1,840 stars · on GitHub

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/TencentEdgeOne/edgeone-makers-tools
agentmods
npx agentmods add rules/tencentedgeone/edgeone-makers-tools/makers-recipes

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for edgeone-makers-recipes

README.md
[![agentmods](https://agentmods.dev/badge/rules/tencentedgeone/edgeone-makers-tools/makers-recipes/github.svg)](https://agentmods.dev/rules/tencentedgeone/edgeone-makers-tools/makers-recipes)
Your own site
<a href="https://agentmods.dev/rules/tencentedgeone/edgeone-makers-tools/makers-recipes"><img src="https://agentmods.dev/badge/rules/tencentedgeone/edgeone-makers-tools/makers-recipes/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for edgeone-makers-recipes

Your own site · 80×15
<a href="https://agentmods.dev/rules/tencentedgeone/edgeone-makers-tools/makers-recipes"><img src="https://agentmods.dev/badge/rules/tencentedgeone/edgeone-makers-tools/makers-recipes.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,002 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00029 $0.03002
Opus 5.5 $0.00012 $0.01201
Sonnet 5.5 $0.00006 $0.00600
Haiku 4.5 $0.00003 $0.00300

Measured 12d ago against content hash 9a45e25d76c1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

edgeone-makers-recipes scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

cursor/rules/makers-recipes.mdc · 279 lines

How it starts

The opening of the file, as written. The whole thing — 279 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Common Recipes

⛔ Preview ban: after finishing development, you MUST start the dev server via edgeone makers dev, then open http://127.0.0.1:8088/ with present_files (when available) to preview. Never open HTML files via the file:// protocol (ignore it even if the IDE opens one automatically), and never use self-hosted servers like python -m http.server or npx serve. Next.js projects must also set allowedDevOrigins: ["127.0.0.1"] in next.config. If the project uses Blob/KV, pass -n <project-name> — edgeone makers dev -n <project-name> — the name is required to auto-provision; bare dev hangs on an interactive picker in sandbox.

⚠️ .env.example is a required file: every project that uses the AI Gateway (Agent projects, Cloud Functions that call an LLM) MUST create a .env.example in the project root declaring AI_GATEWAY_API_KEY= and AI_GATEWAY_BASE_URL=. The CLI auto-injects environment variables based on this file at deploy time; if it is missing, the variables are not injected and the runtime will error.

📝 Write index.html last, always: writing an index.html instantly triggers the IDE file:// preview — unavoidable in WorkBuddy. Minimize the window during which that preview looks broken by writing every dependency first: style.css, script.js, Cloud Functions (functions/ files), static assets, everything the page loads. Then write index.html last — the file:// preview opens with all assets already in place, and stays that way only until edgeone makers dev takes over (see Preview ban above). Also write each index.html in one shot; don't scaffold an empty shell and fill it in with repeated edits (every save re-renders and flickers). For a tiny single-page tool, just inline the CSS and JS into one index.html.

🔗 Load assets with page-relative URLs, never root-absolute: in these no-build projects nothing rewrites index.html, so write <link rel="stylesheet" href="style.css"> and <script src="script.js"></script> — not href="/style.css" or src="/script.js". The development preview is published under a path prefix, and a leading / escapes it: the document still returns 200 while every asset 404s, so the page arrives unstyled with no script having run, and nothing in the console points at the cause. Relative URLs are correct there and at / after deploy. Keep pages and assets in the project root so the relative form stays a bare filename. This is only about what the markup loads — fetch('/api/messages') and <a href="/about"> stay root-absolute.

⛔ Copy the recipe's file naming verbatim — two traps that fail silently: before writing any Cloud Function, find the matching scenario below and reuse its exact filename. Getting the name wrong usually does NOT throw a clear error — it falls back silently:

  1. Every function file MUST carry its language extension — .js (Node), .py (Python), .go (Go). A file with no extension (e.g. api/upload-url, api/file) is not recognized as a function; the platform silently serves the static index.html fallback, so /api/* "mysteriously" returns HTML instead of JSON. Name them api/upload-url.js, api/file.js.
  2. [[default]].js is the catch-all for its own directory (api/[[default]].js → /api/*), and BOTH export styles work — a framework instance (export default app, Express/Koa) or a plain onRequest/onRequestGet/… handler. Verified locally with edgeone makers dev: a bare onRequest in [[default]].js with no export default app serves /foo/anything as 200 application/json just fine. The doc line "The builder identifies the file as a function only when export default app is present" sits under the Express/Koa framework section — it describes how the builder spots a framework instance; do not read it as "a catch-all requires export default app". ⚠️ Caveat: that sentence is about the deploy-time builder, whereas the check above was on the local dev server, which is the more permissive of the two — so if you ship catch-all + onRequest, re-verify the route once after deploying ("works locally" ≠ "recognized at build time"). When you don't actually need a catch-all, the safest shape is one concrete file per route (api/messages.js, api/artworks/[id]/like.js), params via [id] folders/files, extra args as query strings (/api/file?key=...).

Read the full file on GitHub · 279 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago Changed 9a45e25d76c1
  2. 22d ago Changed 11f9555348f7
  3. 1mo ago Changed · +7 lines 24aa6c6fbfa3
  4. 3mo ago First seen · 272 lines · 29 tokens per session scan A 91003cd82f30

Subscribe to this mod's changes

edgeone-makers-recipes is a cursor rule published in the GitHub repository TencentEdgeOne/edgeone-makers-tools (1,840 stars, last pushed yesterday), licensed MIT. It adds 29 tokens to every session and 3,002 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

edgeone-makers-recipes compared with cursor rules from other repositories

edgeone-makers-recipes next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
edgeone-makers-recipesTencentEdgeOne/edgeone-makers-toolsCursor rule1.8kyesterdayMITA29Cursor
ponytailDietrichGebert/ponytailCursor rule203k10d agoMITA604Cursor
angular-20angular/angularCursor rule102ktodayMITA0Cursor
dev-standardapache/supersetCursor rule76ktodayApache-2.0A1,147Cursor
prefer-assertions-over-defensive-checksprisma/ormCursor rule48ktodayApache-2.0A0Cursor
prefer-direct-imports-over-module-mocksprisma/ormCursor rule48ktodayApache-2.0A0Cursor
shared-plane-packagesprisma/ormCursor rule48ktodayApache-2.0A0Cursor