Skip to content

Add Renowide Agent Marketplace cursorrules#262

Open
Renowide wants to merge 2 commits intoPatrickJS:mainfrom
Renowide:add-renowide-rule
Open

Add Renowide Agent Marketplace cursorrules#262
Renowide wants to merge 2 commits intoPatrickJS:mainfrom
Renowide:add-renowide-rule

Conversation

@Renowide
Copy link
Copy Markdown

@Renowide Renowide commented Apr 21, 2026

What this adds

A Cursor rule that teaches the assistant how to build and deploy a paying AI agent to the Renowide marketplace in one flow, via the @renowide/mcp-server MCP tools.

Renowide is the distribution counterpart to AI coding assistants: Cursor builds the agent, Renowide gives it paying customers — no SEO, no ads, no landing-page marketing. 85% revenue to creator, 15% platform. Billing, VAT, GDPR, HMAC-signed webhook delivery all handled.

What the rule covers

  • Canonical deploy flow: renowide_whoamirenowide_list_templatesrenowide_scaffold_agentrenowide_validate_manifestrenowide_validate_canvasrenowide_deployrenowide_test_sandbox.
  • Path A (link-out) vs Path B (Hosted Layout v0.6) vs Path C (Canvas Kit v2 — default) decision tree.
  • Flat renowide.json manifest shape and pricing menu (5 models).
  • HMAC-SHA256 webhook security rules.
  • Common mistakes to avoid (hand-writing canvas JSON, skipping validation, rewriting the HMAC middleware).

Category

Added under Other (agent-marketplace deployment doesn't fit the existing frontend/backend/mobile/etc. buckets).

Placement

Inserted alphabetically between Next.js (Type LLM) and Unity (C#).

Files

  • rules/renowide-agent-marketplace-cursorrules-prompt-file/renowide.mdc — the rule itself (Cursor .mdc format with description + globs frontmatter)
  • rules/renowide-agent-marketplace-cursorrules-prompt-file/README.md — installation + prerequisites
  • README.md — one-line entry in the Other section

Related packages

Checklist

  • Tested in Cursor (rule activates on renowide.json, renowide.yaml, canvas/*.json, canvas/*.tsx)
  • Folder name follows <topic>-cursorrules-prompt-file convention
  • Added to the main README under the most relevant category
  • No duplicate entries
  • All links resolve

Summary by CodeRabbit

  • Documentation
    • Added a new Cursor rule and a comprehensive guide for deploying AI agents to the Renowide Agent Marketplace. Covers end-to-end workflow: authentication, template selection, scaffolding, manifest/canvas validation, deployment, sandbox testing, webhook security (HMAC), branching by deployment variant, installation/activation options, manifest shape and pricing expectations, and common pitfalls with remedial guidance.

Build and deploy a paying AI agent to the Renowide marketplace in one
flow using the @renowide/mcp-server MCP tools. Renowide is the
distribution counterpart to AI coding assistants — Cursor builds the
agent, Renowide gives it paying customers. No SEO, no ads, no
landing-page marketing. 85% revenue to creator, 15% platform.

The rule teaches Cursor the canonical deploy flow (whoami → templates
→ scaffold → validate → deploy), the Path A / Path B / Path C decision
tree, the flat renowide.json manifest shape, pricing menu, HMAC-SHA256
webhook security, and common mistakes to avoid.

Paired with:
  - @renowide/cli              https://npmjs.com/package/@renowide/cli
  - @renowide/mcp-server       https://npmjs.com/package/@renowide/mcp-server
  - create-renowide-agent      https://npmjs.com/package/create-renowide-agent

Docs: https://renowide.com/build
Source: https://github.com/Renowide/renowide-cli
Made-with: Cursor
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 21, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 01405a6b-3b27-4c01-8335-5e70112f729f

📥 Commits

Reviewing files that changed from the base of the PR and between d2fe5cc and 262cf00.

📒 Files selected for processing (3)
  • README.md
  • rules/renowide-agent-marketplace-cursorrules-prompt-file/README.md
  • rules/renowide-agent-marketplace-cursorrules-prompt-file/renowide.mdc
✅ Files skipped from review due to trivial changes (3)
  • README.md
  • rules/renowide-agent-marketplace-cursorrules-prompt-file/README.md
  • rules/renowide-agent-marketplace-cursorrules-prompt-file/renowide.mdc

📝 Walkthrough

Walkthrough

Adds documentation and a Cursor rule that define an end-to-end Renowide Agent Marketplace build, validate, deploy, and sandbox-test workflow using @renowide/mcp-server tools; includes installation options, manifest expectations, security guidance, and common pitfalls.

Changes

Cohort / File(s) Summary
Top-level README
README.md
New "Other" rules bullet linking to the Renowide Cursor rule .mdc and referencing the end-to-end Agent Marketplace flow.
Rule documentation
rules/renowide-agent-marketplace-cursorrules-prompt-file/README.md
Added comprehensive guide: activation/deployment sequence, supported templates/variants, manifest shape and pricing menu expectations, webhook HMAC requirements, installation paths, prerequisites, and common pitfalls.
Cursor rule
rules/renowide-agent-marketplace-cursorrules-prompt-file/renowide.mdc
New Cursor rule file targeting renowide.json, renowide.yaml, and `canvas/*.json

Sequence Diagram(s)

sequenceDiagram
  participant Developer as Developer
  participant CursorRule as Cursor Rule
  participant MCP as MCP Server (`@renowide/mcp-server`)
  participant Templates as Templates/Registry
  participant Renowide as Renowide Platform
  participant Sandbox as Sandbox/Test Hire

  Developer->>CursorRule: invoke rule (match renowide.json / canvas)
  CursorRule->>MCP: renowide_whoami (auth + retry)
  MCP->>Templates: renowide_list_templates (filter/select)
  MCP->>Developer: renowide_scaffold_agent (scaffold files)
  Developer->>MCP: modify only allowed files (e.g., server/actions.ts)
  MCP->>MCP: renowide_validate_manifest / renowide_validate_canvas
  MCP->>Renowide: renowide_deploy (returns handoff_secret)
  MCP->>Developer: display handoff_secret (store as RENOWIDE_WEBHOOK_SECRET)
  MCP->>Sandbox: renowide_test_sandbox (simulate hire)
  Sandbox-->>Developer: test results / diagnostics
Loading

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

Suggested reviewers

  • PatrickJS

Poem

🐰 I hopped through docs and rules with care,
Scaffolded agents springing everywhere,
Auth, validate, deploy — a tidy trail,
Handoff secrets hidden in a holy grail,
Sandbox plays pretend, the marketplace sings hale!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely summarizes the main change: adding a new Cursor rule for Renowide Agent Marketplace deployment.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (2)
rules/renowide-agent-marketplace-cursorrules-prompt-file/renowide.mdc (1)

107-108: Avoid hard-coded roadmap dates in rule text.

Q3 2026 roadmap can become stale quickly and reduce trust in the rule. Prefer a timeless phrasing (or point to a source of truth) to keep guidance accurate over time.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@rules/renowide-agent-marketplace-cursorrules-prompt-file/renowide.mdc` around
lines 107 - 108, Replace the hard-coded date in the rule text that reads
"Success / outcome-gated fees are not yet supported (Q3 2026 roadmap)." with a
timeless phrasing or a pointer to a maintained source (e.g., "not yet supported;
see [status page/link]" or "not yet supported as of this guidance") so it can't
become stale; update the string in renowide.mdc where the sentence appears and,
if appropriate, add a link or note referencing the authoritative roadmap/status
resource instead of an explicit quarter/year.
README.md (1)

277-277: Keep this README list description concise for consistency.

This entry’s description is much longer than neighboring items in the same category. Consider shortening it to a single concise sentence to match list formatting style.

As per coding guidelines, "Use consistent formatting for list items in the README.md file" and "Use clear and concise language in all documentation and .cursorrules files."

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@README.md` at line 277, Shorten the lengthy list item for "Renowide Agent
Marketplace" (the link to renowide.mdc) to a single concise sentence that
matches neighboring entries; e.g., state the core offering only — "Build and
deploy a paying AI agent to the Renowide marketplace using `@renowide/mcp-server`
tools." — remove extra implementation details (Canvas Kit v2, Persona, revenue
share, marketing notes) so the README list is consistent and brief.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In `@README.md`:
- Line 277: Shorten the lengthy list item for "Renowide Agent Marketplace" (the
link to renowide.mdc) to a single concise sentence that matches neighboring
entries; e.g., state the core offering only — "Build and deploy a paying AI
agent to the Renowide marketplace using `@renowide/mcp-server` tools." — remove
extra implementation details (Canvas Kit v2, Persona, revenue share, marketing
notes) so the README list is consistent and brief.

In `@rules/renowide-agent-marketplace-cursorrules-prompt-file/renowide.mdc`:
- Around line 107-108: Replace the hard-coded date in the rule text that reads
"Success / outcome-gated fees are not yet supported (Q3 2026 roadmap)." with a
timeless phrasing or a pointer to a maintained source (e.g., "not yet supported;
see [status page/link]" or "not yet supported as of this guidance") so it can't
become stale; update the string in renowide.mdc where the sentence appears and,
if appropriate, add a link or note referencing the authoritative roadmap/status
resource instead of an explicit quarter/year.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: c2e01fe5-7955-46d7-8f61-67f41a01b85e

📥 Commits

Reviewing files that changed from the base of the PR and between fc2ce04 and d2fe5cc.

📒 Files selected for processing (3)
  • README.md
  • rules/renowide-agent-marketplace-cursorrules-prompt-file/README.md
  • rules/renowide-agent-marketplace-cursorrules-prompt-file/renowide.mdc

…mission per hire"

Replaces the "85% revenue share" framing with the sharper marketplace
phrasing used on the Renowide homepage, the @renowide/cli README, the
@renowide/mcp-server package, and the public renowide.com/build docs.

Pricing mechanics are unchanged (developer nets the same amount per
hire); only the external phrasing is sharpened.

Files:
  - rules/renowide-agent-marketplace-cursorrules-prompt-file/renowide.mdc
  - rules/renowide-agent-marketplace-cursorrules-prompt-file/README.md
  - README.md (one-line entry under Other)
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.

1 participant