Skip to content

Add CometChat Chat Starter (solutions/cometchat-chat)#1468

Open
swapnil-cometchat wants to merge 1 commit intovercel:mainfrom
swapnil-cometchat:add-cometchat-chat-example
Open

Add CometChat Chat Starter (solutions/cometchat-chat)#1468
swapnil-cometchat wants to merge 1 commit intovercel:mainfrom
swapnil-cometchat:add-cometchat-chat-example

Conversation

@swapnil-cometchat
Copy link
Copy Markdown

Summary

Adds solutions/cometchat-chat/ — a blank Next.js (App Router) starter with CometChat AI-coding skills pre-installed at .agents/skills/.

The pitch: deploy or clone, open the project in any Agent-Skills-compatible IDE (Cursor / Cline / Codex / Replit Agent / Copilot / Windsurf), and ask the agent add chat to my app. The CometChat dispatcher skill walks through signup, app provisioning, and writes a working chat integration into app/. No CometChat account required up front.

Demo

Live at https://cometchat-vercel-template.vercel.app — deployed via vercel --prod from the canonical cometchat/cometchat-vercel-template repo (the source-of-truth from which this example was bundled).

Front matter

  • framework: Next.js
  • useCase: SaaS, Realtime Apps
  • css: CSS
  • relatedTemplates: slackbot (closest analog — third-party SaaS via Next.js)

What's bundled

  • Standard Next.js 16 + React 19 scaffold
  • .agents/skills/ with the 13-skill CometChat web set: dispatcher + foundation (core / components / placement) + per-framework patterns (react / nextjs / react-router / astro) + Phase B (theming / features / customization / production / troubleshooting)
  • .env.example declaring NEXT_PUBLIC_COMETCHAT_{APP_ID,REGION,AUTH_KEY}
  • .eslintrc.json extending next/core-web-vitals

Test plan

  • Verified Deploy with Vercel button (the version pointing at the canonical repo) — deploys cleanly with empty env vars, landing page renders
  • Skills package canonical at github.com/cometchat/cometchat-skills (open source, MIT)
  • Reviewer: confirm the front matter renders correctly into a Draft template in Contentful

🤖 Authored with Claude Code

A blank Next.js (App Router) example with CometChat AI-coding skills
pre-installed at .agents/skills/. Users deploy or clone, open the
project in any Agent-Skills-compatible IDE (Cursor / Cline / Codex /
Replit Agent / Copilot / Windsurf), and ask "add chat to my app" —
the CometChat dispatcher skill walks them through signup, app
provisioning, and writes a working chat integration into app/.

What's included:
  - Standard Next.js 16 + React 19 scaffold (app/, package.json, tsconfig)
  - .agents/skills/ pre-bundled with the 13-skill CometChat web set
    (dispatcher + foundation + framework patterns + Phase B)
  - .env.example with NEXT_PUBLIC_COMETCHAT_{APP_ID,REGION,AUTH_KEY}
  - .eslintrc.json (next/core-web-vitals)
  - Front matter for vercel.com/templates listing
    (useCase: SaaS + Realtime Apps, css: CSS, related: slackbot)

Demo: https://cometchat-vercel-template.vercel.app
Skills source: github.com/cometchat/cometchat-skills

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Apr 28, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
mintlify-docs-rewrite Error Error Apr 28, 2026 3:21pm

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Apr 28, 2026

@swapnil-cometchat is attempting to deploy a commit to the Vercel Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Apr 28, 2026

Deployment failed with the following error:

The `vercel.ts` schema validation failed with the following message: `rewrites[0]` missing required property `destination`

Learn More: https://vercel.com/docs/concepts/projects/project-configuration

@swapnil-cometchat
Copy link
Copy Markdown
Author

For reviewers — the failing Vercel – mintlify-docs-rewrite deploy is pre-existing, not introduced by this PR. It fails on main and on every fork PR because cdn/mintlify-docs-rewrite/vercel.ts resolves destination to undefined when MINTLIFY_DOCS_URL isn't set in the deploy environment.

This PR's solutions/cometchat-chat/ ships no vercel.ts and no rewrites config — verified by the file list and confirmed by the Vercel bot's deployment metadata, which names mintlify-docs-rewrite as the only project with nextCommitStatus: FAILED.

Once a Vercel maintainer authorizes preview deploys, the Vercel – cometchat-chat build will run on its own. Happy to address any review feedback once it's reachable.

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