Repository navigation
docs(ENG-58026): lead the docs with Agent Skills, then MCP, then CLI; Build with AI on every SDK and UI Kit page; skill.md for agents - #639
Open
raj-dubey1 wants to merge 21 commits into
Conversation
The installer (npx @cometchat/skills add --ide) sets up 12 agents directly.
Agents that read the open Agent Skills format can install the same pack
with the skills CLI (`npx skills add cometchat/cometchat-skills -a <agent>`),
so the skills work with 30+ agents.
- UI Kit pages (16): "Works with 30+ AI coding agents, including Claude
Code, Cursor, Codex, GitHub Copilot, Windsurf, Cline, and Kiro", linked
to /agent-skills#supported-agents. "VS Code Copilot" becomes "GitHub
Copilot" (--ide copilot).
- React v6 overview: the "Supported IDEs" card becomes "Supported agents"
and links to the full list.
- /agent-skills:
- Say 30+ in the description and the Supported agents section.
- Add an MCP server column to the installer table, matching the
installer's MCP_TARGETS.
- Add "More agents through the skills CLI": the install command, a table
of 22 agents with their -a values, a link to the CLI's full agent list,
and a note that this route leaves out the shared files and the MCP
connection.
- Rename the MCP server cometchat-docs -> cometchat and bring the
uninstall note in line with the table.
…tall hero Move the AI-Driven Development tab (Agent Skills, MCP, CLI, migration, Lovable, design system) out of the hidden Home product into its own visible product, and add an install hero with npx @cometchat/skills add to the top of the homepage. No URLs change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XbguTv7Jh9vHjqQxoJdn8U
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XbguTv7Jh9vHjqQxoJdn8U
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
Contributor
Author
Review: docs#639 @ 43b4953, round 1Mechanical verdict: approve. No introduced findings. All 6 acceptance criteria of ENG-57969 are met. An agent doesn't approve, so a human reviewer needs to approve and merge.
The hero copy was checked against Pre-existing (not touched by this PR, doesn't block):
Reviewed by OpenCode (cometchat-reviewer, Sonnet 5.5) and checked by Claude. |
The Agent Skills promotion in ENG-58026 reuses /agent-skills#supported-agents, which #637 adds. Merged rather than cherry-picked so a5b458e stays the same commit when #637 lands. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XbguTv7Jh9vHjqQxoJdn8U
The hero now shows the two steps (install the skills, ask your agent), a no-terminal fallback that points agents at /docs/skill.md, and the MCP URL. A new section lists six copyable prompts, each a capability of the @cometchat/skills 5.x pack. The AI-Driven Development cards are reordered Skills, MCP, CLI. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XbguTv7Jh9vHjqQxoJdn8U
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XbguTv7Jh9vHjqQxoJdn8U
Shared snippet snippets/ai/build-with-ai.mdx (install the skills, ask the agent) on the overview and getting-started pages of React v7, Angular v5, React Native v5, iOS v5, Android v6 and Flutter v6. Replaces the iOS and React Native "Integrate with AI Coding Agents" sections, which described v4 skills behaviour (iteration menu, theme presets, CLI signup, Secrets.swift) that skills v5 no longer has. The AI Skills accordion rows now link to /agent-skills. Also adds build-with-ai-mcp.mdx for SDK pages that have no skill. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XbguTv7Jh9vHjqQxoJdn8U
…etup pages JavaScript, React Native, iOS, Android and Flutter Calls SDK pages now show the headless calls skills install (npx @cometchat/skills add --family <platform>-calls, per cometchat-skills peers.yaml) and the prompt "add voice and video calling to my app". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XbguTv7Jh9vHjqQxoJdn8U
Android Chat SDK v5 overview and setup show the headless SDK skill (--family android-sdk). The JavaScript, React Native and iOS Chat SDK v4 and Flutter Chat SDK v5 pages have no skill in cometchat-skills (peers.yaml), so they use build-with-ai-mcp.mdx: connect the CometChat MCP, with a pointer to the UI Kit skills. Older SDK versions are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XbguTv7Jh9vHjqQxoJdn8U
React v6, Angular v4, Android v5 and Flutter v5 pages described v4-era skills behaviour (iteration menu, theme presets, CLI signup, the old cometchat.com/docs/mcp URL) and implied the skills build those versions. The skills build only the current kit and route "upgrade" requests to cometchat-<family>-migration, so these pages now use snippets/ai/build-with-ai-upgrade.mdx: install the skills, ask the agent to upgrade, or start a new app on the current version. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XbguTv7Jh9vHjqQxoJdn8U
Both heroes now say what to install and what to ask ("add chat to my app",
"add voice and video calling to my app") and link to /agent-skills; the
Calling page had no AI CTA. The heroes use a minimum height instead of a
fixed one, so the stacked mobile layout no longer clips the title and
image.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XbguTv7Jh9vHjqQxoJdn8U
Replaces Mintlify's auto-generated /skill.md with one that tells an agent to install the CometChat Agent Skills (per platform, with the --family cases), connect the CometChat MCP server, or read llms.txt and the .md pages. It keeps the useful facts from the generated file (credentials, auth key vs auth token, REST base URL, test users), each checked against the docs, @cometchat/skills 5.2.0 and the MCP server. Validated with skills-ref (agentskills.io spec). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XbguTv7Jh9vHjqQxoJdn8U
…s 5.2.0 Agent Skills: credentials are fetched through the CometChat MCP server, not the CLI; list the migrate-from, cross-platform and enterprise skills; add production/testing/troubleshooting to React and iOS; document `remove`, `detect`, `info` and `doctor` instead of "no uninstall command"; add an MCP sign-in troubleshooting row; update verified versions from the 5.2.0 README; add a "paste skill.md to your agent" tip. MCP: point to the skills, doctor and skill.md. CLI: lead with the skills installer, add `remove`, and stop saying the skills run the credentials CLI. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XbguTv7Jh9vHjqQxoJdn8U
…ide for other agents Review round 2 (#639): without --ide, `npx @cometchat/skills add` installs the skills and wires the MCP for Claude Code only (@cometchat/skills 5.2.0 bin/cometchat-skills.mjs cmdAdd defaults --ide to claude), but the homepage, the Build with AI snippets and the Chat and Calling heroes read as if it set up Cursor, Copilot, Codex and the rest. - Homepage hero: installs for Claude Code; other agents add --ide <agent> (e.g. --ide cursor, --ide all). The MCP line says the installer connects it for each agent it installs for. - build-with-ai / build-with-ai-upgrade snippets: same, with --ide examples. - chat-call / calls heroes: one sentence on --ide. - "30+ more" after five named agents overstated the count (34 in all); now "the 30+ supported agents". - build-with-ai-mcp comment: React Native's UI Kit family does ship a headless Chat SDK skill, as a UI Kit companion, not a family for an SDK-only app. - In raw <code>, --ide is a JSX string so Mintlify doesn't turn -- into an em dash. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XbguTv7Jh9vHjqQxoJdn8U
…st at the skills CLI Review round 3 (#639): "another of the 30+ supported agents? Add --ide" was wrong for the 22 agents installed through the skills CLI (`npx @cometchat/skills add --ide opencode` exits 2), and "connects it for each agent it installs the skills for" overstated MCP wiring (Replit is manual, Aider unsupported, Windsurf/Cline only if installed). - Homepage: --ide for Cursor, GitHub Copilot, Codex or Replit; the rest of the 30+ link to /agent-skills#supported-agents. The MCP line says it connects for Claude Code and most --ide agents, linking the same table. - Snippets and the Chat/Calling heroes say the same. - skill.md: agents outside the --ide list install with `npx skills add cometchat/cometchat-skills -a <agent>` and connect the MCP in step 2. skills-ref validate: Valid skill. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XbguTv7Jh9vHjqQxoJdn8U
calls.mdx, chat-call.mdx and notifications.mdx declared the docs home as their canonical, so crawlers treated the Calling, Chat and Notifications landing pages as duplicates of /docs. Remove the override; Mintlify then emits a self-canonical on www, as it does for every other page. index.mdx and ai-agents.mdx used the non-www host, which 301s; point them at www. Docs audit 2026-11-26, item 12. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XbguTv7Jh9vHjqQxoJdn8U
…ions, pricing - Say that llms.txt lists the main pages and links per-product indexes (where the SDK and UI Kit pages are), instead of "every page". - Warn that an unknown path returns the docs home with 200, not 404, and how to tell (# Home heading). - Explain version segments, and that /sdk/android/<page> is v4 while the current Android Chat SDK is under /sdk/android/v5/. - Point plan and price questions at cometchat.com/pricing.md. Docs audit 2026-11-26, items 13, 15 and 19. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XbguTv7Jh9vHjqQxoJdn8U
… overview fundamentals/overview.mdx mentions pricing but linked nothing. Add cometchat.com/pricing for people and cometchat.com/pricing.md for AI agents (both 200). Docs audit 2026-11-26, item 19: this is the in-repo half; the llms.txt half is not possible here because Mintlify generates llms.txt. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XbguTv7Jh9vHjqQxoJdn8U
errors.404.redirect was true, so every wrong /docs path 308'd to the home page and returned 200. Link checkers and crawlers saw dead links as live, and an agent that fetched a wrong .md path read the home page as the answer. Set it to false and give the 404 page a short message that points to search, the docs home and llms.txt. skill.md now says a wrong path returns 404, and that an older cached response may still be the home page. Docs audit 2026-11-26, item 15 and P0 item 5 (decision 10, made by Raj). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XbguTv7Jh9vHjqQxoJdn8U
…issing page docs.json redirected /sdk/flutter/group-kick-member, a real page in the nav, to /sdk/flutter/group-kick-ban-members, which doesn't exist. The old home-page redirect for 404s hid this; with real 404s the sidebar link showed "Page not found". Remove the redirect so the page is served. Docs audit 2026-11-26, item 16; found in review round 7 by requesting all 351 redirect targets on the preview (the only one that 404s). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XbguTv7Jh9vHjqQxoJdn8U
- campaigns.mdx: the Android UI Kit card pointed to /ui-kit/android/v6/campaigns, which does not exist. Android UI Kit v6 is served at /ui-kit/android/, so the page is /ui-kit/android/campaigns. - sdk/android/ai-chatbots-overview.mdx: linked /ai-chatbots, which has no page. It now links /ai-chatbots/overview, an existing redirect to the legacy AI Chatbots overview. Both old paths silently landed on the docs home (200) while errors.404.redirect was true; this PR sets it to false, so they would have shown a 404. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XbguTv7Jh9vHjqQxoJdn8U
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
This PR makes CometChat's AI tooling the first thing a developer, or their coding agent, sees in the docs. The order everywhere is Agent Skills (
npx @cometchat/skills add), then the MCP server, then the CLI.It covers two tickets and builds on #637:
5dcfc267so the pages agree on it.Every command, flag,
--family/--idevalue and MCP tool name below was checked against@cometchat/skills5.2.0 (npmlatest, from the package tarball and the cometchat-skills source).Homepage and navigation
index.mdx):--ide <agent>. The rest of the 30+ supported agents link to the Supported agents table, since 22 of them install through the skills CLI.cometchat.com/docs/skill.md" line.One shared "Build with AI" block
Three snippets in
snippets/ai/provide the block, so the wording is in one place:build-with-ai.mdx--family, the prompt to ask, how to target another agent with--ide, and links to Agent Skills and MCPbuild-with-ai-mcp.mdxbuild-with-ai-upgrade.mdxWhere the block appears
--family <platform>-calls, "add voice and video calling to my app"--family android-sdkchat-call.mdx,calls.mdxminHeight, so it no longer clips on narrow screensThe AI Skills row in each UI Kit's feature table now links to /agent-skills.
skill.mdfor agentsThe new root
skill.mdreplaces Mintlify's auto-generated/docs/skill.md, which never mentioned the skills or the MCP. It uses agentskills.io frontmatter and passesskills-ref validatewith exit 0. Its sections:doctor.Step 1 also covers agents outside the
--idelist, which install withnpx skills add cometchat/cometchat-skills -a <agent>and then connect the MCP in step 2.3. Read the docs directly:
llms.txtand its per-product indexes, the.mdpage URLs, a warning that a wrong path returns the docs home with 200 instead of 404, how version paths work (the Android Chat SDK's v4 sits at/sdk/android/, v5 at/sdk/android/v5/), andcometchat.com/pricing.mdfor plan and price questions.It ends with a facts table and a finish checklist. Mintlify can take up to 24 hours to serve it after deploy. cometchat-team/docs-mcp#74 serves the same file as the MCP resource
cometchat://skills/cometchat.Agent Skills, MCP and CLI pages
These pages now match skills 5.2.0:
remove,detect,infoanddoctorare documented.skill.mdline.No URLs change, so no redirects are needed.
Docs audit fixes (2026-11-26 audit)
Checked against the docs audit. This PR fixes #12, #15, #16 (one redirect) and the in-repo half of #19, and works around #13 for agents only:
Canonicals (audit Feature/api docs #12).
calls.mdx,chat-call.mdxandnotifications.mdxdeclaredhttps://cometchat.com/docsas their canonical, telling crawlers the Calling, Chat and Notifications landing pages are duplicates of the docs home. The override is removed, so Mintlify emits a self-canonical onwwwas it does for every other page (checked live on/agent-skillsand/ui-kit/react/overview).index.mdxandai-agents.mdxnow use thewwwhost, whichcometchat.com/docs301s to.Pricing link (audit docs/ios-highlight-api-key-info #19, in-repo half: fixed).
fundamentals/overview.mdxnow linkscometchat.com/pricingand its Markdown twincometchat.com/pricing.md. The audit also asks for the link inllms.txt, but Mintlify generates that file, so it can't be added from this repo without replacing the generated index.Real 404s (audit updates url from /reference/ to /rest-api/ #15 and P0 palm-theme #5: fixed, decision feature/content update #10 made by Raj).
docs.jsonhaderrors.404.redirect: true, so every wrong/docspath redirected to the home page and returned 200. Link checkers and crawlers saw dead links as live, and an agent fetching a wrong.mdpath read the home page as the answer. It is nowfalse, with a "Page not found" title and a short message pointing to search, the docs home andllms.txt. Checked on the preview:.mdpath both return 404 ("Page not found")..mdtwins still return 200.docs.jsonstill work: 5 of 5 sampled resolve, including external legacy ones.With real 404s, one redirect that used to be hidden became visible:
/sdk/flutter/group-kick-member, a real page in the nav, redirected to/sdk/flutter/group-kick-ban-members, which doesn't exist.93b1bbf7removes that redirect (audit dummy commit #16), and the page now loads on the preview. Review round 7 requested all 351 internal redirect targets on the preview, and this was the only one that returned 404.Two more pre-existing dead links, in files this PR otherwise doesn't touch, would also have turned into 404s.
018740bdfixes them. Both old paths return the docs home on live today, and both new ones return 200:campaigns.mdx: the Android UI Kit card pointed to/ui-kit/android/v6/campaigns. v6 is served at/ui-kit/android/, so it now points to/ui-kit/android/campaigns.sdk/android/ai-chatbots-overview.mdx: linked/ai-chatbots, which has no page. It now links/ai-chatbots/overview, an existing redirect to the legacy AI Chatbots overview.Once this is live, inbound links to dead pages will show a 404 instead of the home page. The audit flags this as a deliberate change with SEO effects.
skill.mdnow says a wrong path returns 404, and that an older cached response may still be the home page.Agent workaround in
skill.mdfor audit Feature/content fixes #13 (not fixed). The Android Chat SDK still serves v4 at/sdk/android/with no banner.skill.mdpoints agents to/sdk/android/v5/. Fixing it for readers is audit decision almond-theme #8 (legacy-page banners). The commitd6d47454names this item, but it doesn't close it.Every URL and claim added to
skill.mdwas checked withcurlagainst the live site.Checks (b4cb5ce; link checks and
skills-refre-run on d6d4745)docs.jsonmint broken-linksmint validatemain(9f7b82a) gives the same exit 1 and warning, so this PR doesn't cause itdocs-linkcheck --base origin/mainresult: PASS(re-run on d6d4745), see belowmint dev--family js-calls), Android Chat SDK v5 (--family android-sdk), iOS Chat SDK (MCP variant), Angular v4 (upgrade variant), Agent Skills tipskills-ref validate skill.mddocs-linkcheckreports two things, neither a broken link:snippets/ai/*.mdxaren't in the nav, which is expected for snippets because they're includes, not pages. Until 2026-11-26 the tool counted any new.mdxoutsidedocs.jsonas BROKEN. It postdates every earlier snippet andllms-*.mdxindex (for example Docs/react v7 feature guides #446, docs: per-product LLM docs indexes for all products + global directory #532 and docs(flutter): offline support for Flutter SDK 5.1.0 #593), and run on their commits today it failed them too. It now exemptssnippets/andllms-*.mdx; a real page missing from the nav still fails, which was checked with a control commit.maintoo. No heading was renamed. The only removed sections are "Integrate with AI Coding Agents" on iOS and RN, and nothing links to that anchor.Review
2f96581c:npx @cometchat/skills addset up Cursor, Copilot, Codex and others. It installs for Claude Code unless--ideis passed (bin/cometchat-skills.mjscmdAdddefaults toclaude). They now say so and show--ide.--ideis written as a JSX string inside raw<code>, because Mintlify otherwise turns--into an em dash. Checked inmint dev.eeaf2a89:--ide" was wrong for 22 of them. Those install through the skills CLI, and--ide opencodeexits 2.--ideis now tied to the installer's agents; the rest link to Supported agents.skill.mdnow gives the skills-CLI command too.--ideagents, and links the table: Replit is manual, Aider has no MCP, and Windsurf/Cline only if installed.eeaf2a89: approve, with the contract complete, no open blocker or major, and gates green.eeaf2a89..d6d47454, the audit fixes): no findings.d6d47454..9de1fc56, the pricing link on the overview page): no findings.docs-linkcheckPASS, both links 200. Mechanical verdict at9de1fc56: approve.9de1fc56..3674e7e3, the 404 change): approve. Its one note was the pre-existing Flutter redirect to a missing page, fixed in93b1bbf7.3674e7e3..93b1bbf7): no findings. Mechanical verdict at93b1bbf7: approve.docs-linkcheckpasses (exit 0) now that the tool exempts snippets. Mechanical verdict atd6d47454: approve.93b1bbf7(not recorded as a round): confirmed the approve verdict and raised one minor non-blocking note. Two pre-existing dead links would hard-404 once 404s are real. They are fixed in018740bd, anddocs-linkcheck --base origin/mainstill passes (exit 0, the same 6 WARNs).Tickets: ENG-57969, ENG-58026. Includes #637.
🤖 Generated with Claude Code
https://claude.ai/code/session_01XbguTv7Jh9vHjqQxoJdn8U