Add real-time chat — messaging, calls, AI agents — to any React, Next.js, React Router, Astro, Expo, or bare React Native project via the Cursor agent.
This repo is the source for the CometChat plugin on the Cursor Marketplace. Cursor users install the plugin, ask the agent add chat to my app, and watch a working chat integration get written into their project.
In Cursor:
- Open Marketplace → search CometChat → install.
- In the Cursor agent, ask:
add chat to my app - Answer 4–5 setup questions (account, app name, region, intent, placement).
- The agent writes the integration into your project.
See plugins/cometchat/README.md for the full install + usage docs that the marketplace listing surfaces.
.cursor-plugin/
└── marketplace.json Cursor Marketplace entry — owner, plugin list
plugins/
└── cometchat/
├── .cursor-plugin/plugin.json Plugin manifest (name, version, license, keywords)
├── README.md User-facing install + usage docs
├── assets/logo.png 148×148 CometChat logo
└── skills/ 13 pre-bundled skills
├── cometchat/ Dispatcher — detects framework, writes code
├── cometchat-core/ Init / login / provider / env vars
├── cometchat-components/ 60+ component catalog
├── cometchat-placement/ Where to put chat (route, modal, drawer, widget)
├── cometchat-react-patterns/ Vite + CRA patterns
├── cometchat-nextjs-patterns/ App Router + Pages Router
├── cometchat-react-router-patterns/ v6 + v7
├── cometchat-astro-patterns/ React islands
├── cometchat-theming/ Theme presets + brand colors
├── cometchat-features/ 40+ features (calls, polls, AI, etc.)
├── cometchat-customization/ Custom views, formatters, builders
├── cometchat-production/ Server-minted auth, user management
└── cometchat-troubleshooting/ Diagnostics, drift, doctor
scripts/
└── validate-template.mjs Cursor's submission validator (passes)
docs/
└── add-a-plugin.md Multi-plugin layout reference (from cursor/plugin-template)
The plugins/cometchat/skills/ directory is a snapshot from the canonical source-of-truth: github.com/cometchat/cometchat-skills. When skills change there, this repo is re-bundled and republished.
- Submission checklist:
-
.cursor-plugin/marketplace.jsonhas unique kebab-casename(cometchat) -
plugins/cometchat/.cursor-plugin/plugin.jsonvalid (kebab-case name, displayName, author, description, keywords, MIT license, version3.1.0) -
marketplace.json→plugins[].sourceresolves to./plugins/cometchat/ - Logo committed at
plugins/cometchat/assets/logo.png, referenced via relative path inplugin.json -
node scripts/validate-template.mjspasses (only optional warnings about hooks/mcp.json which we don't ship) - All SKILL.md files have valid frontmatter (verified by the canonical repo's harness — 156 tests passing)
-
MIT. See LICENSE once added by the canonical skills repo's release flow, or refer to the per-skill MIT declarations in each SKILL.md frontmatter.
- Skills source-of-truth: github.com/cometchat/cometchat-skills
- UI Kit: @cometchat/chat-uikit-react
- Docs: cometchat.com/docs
- Other marketplace listings: Replit Templates, Vercel Templates, Anthropic plugin marketplace (manifest in source repo), skills.sh
