[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6MFH6BF1GMF42W6GA3NF4PE":3,"skill-same:01M6MFH6BF1GMF42W6GA3NF4PE":80},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":23,"publishedAt":46,"linkOnly":47,"markdownContent":48,"markdownBody":49,"frontMatter":50,"refName":56,"commitSha":57,"skillDirectory":58,"forksCount":59,"repositoryHtmlUrl":60,"repositoryHomepageUrl":61,"ownerHtmlUrl":62,"ownerBlogUrl":63,"ownerDescription":64,"updatedAt":65,"install":66,"resources":79},"01M6MFH6BF1GMF42W6GA3NF4PE","cometchat-react-native-production",null,"Ship a CometChat React Native app safely — server-minted auth tokens instead of the Auth Key, what actually stays secret in a mobile bundle, release-build checks, and logout hygiene. Triggers: CometChat production React Native, auth token instead of auth key RN, secure CometChat RN, release build chat, is my auth key safe in the app.","hashgraph-online\u002Fawesome-codex-plugins","hashgraph-online","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F160371962?v=4","01M6CNB6NRJVNNGN14TR01Q6D3","HOL (Hashgraph Online)","01M6JT1HSKKG9V68KQAQGBA7XP",1575,"MIT","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fcometchat\u002Fcometchat-skills\u002Fskills\u002Fcometchat-react-native-production\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000009","前端开发","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],"react","cometchat","cometchat react native production","native","Production","react native","mobile","auth tokens","my","app","triggers","tokens","token","react-native","safe","uikit","ship","server","release","secure","auth","security","2026-11-10 10:12:30",false,"---\nname: cometchat-react-native-production\ndescription: \"Ship a CometChat React Native app safely — server-minted auth tokens instead of the Auth Key, what actually stays secret in a mobile bundle, release-build checks, and logout hygiene. Triggers: CometChat production React Native, auth token instead of auth key RN, secure CometChat RN, release build chat, is my auth key safe in the app.\"\nlicense: \"MIT\"\ncompatibility: \"React Native >=0.77; @cometchat\u002Fchat-uikit-react-native ^5.4.0; @cometchat\u002Fchat-sdk-react-native ^4.0.28\"\nmetadata:\n  author: \"CometChat\"\n  version: \"1.0.0\"\n  tags: \"chat cometchat react-native production security auth-token release\"\n---\n\n> **Ground truth:** `@cometchat\u002Fchat-uikit-react-native@5` + `catalogs\u002Frn-sdk-v4.json`.\n> Docs: `\u002Fui-kit\u002Freact-native\u002Freact-native-cli-integration` · `\u002Fsdk\u002Freact-native\u002Fauthentication-overview`.\n\n## Companion skills (read first)\n- `cometchat-react-native-core` — install, provider chain, init→login→render. Assumed, not repeated here.\n- `cometchat-security` — the enterprise auth model this client-side hardening plugs into: wiring your IdP \u002F SSO into the token flow (your IdP → your server → mint the CometChat auth token; CometChat is **not** an IdP), token expiry\u002Frefresh + re-login, RBAC roles + group (SBAC) scopes, and Auth Key vs auth token vs REST API Key. Load it for a security review or any SSO question.\n\n## Use this skill when\n- \"is this safe to ship\" · \"swap the auth key for a token\" · \"prepare the release build\"\n\n## Prerequisites & install\nNone beyond `core`, plus a backend endpoint you control for minting tokens.\n\n## The one rule: the Auth Key never ships\n\n`login({ uid })` uses the **Auth Key**, which can create and impersonate any user in your app. Fine on\nyour laptop; unacceptable in a shipped binary.\n\n### Nothing in a mobile app is secret\nThis is the part web developers get wrong. A React Native bundle is **not** a server. `.env` files,\n`react-native-config`, `Constants.expoConfig`, obfuscation, ProGuard — all of them end up readable in\nthe shipped app. Anyone can unzip an IPA or APK.\n\n\"Hide the Auth Key in an env var\" is not a mitigation. **Remove it.**\n\n### Production shape\n\n```tsx\nimport { CometChatUIKit } from \"@cometchat\u002Fchat-uikit-react-native\";\n\n\u002F\u002F your backend authenticates the user, then mints a short-lived CometChat\n\u002F\u002F auth token for that UID and returns it\nconst authToken: string = await fetchAuthTokenFromYourBackend();\nawait CometChatUIKit.login({ authToken });\n```\n\nThe client never sees the Auth Key. The token is per-user, short-lived and revocable.\n`UIKitSettings.authKey` is only needed for the `login({ uid })` path — a production build should not\ncarry it at all.\n\n## User creation belongs on the server\n`CometChat.createUser` needs the Auth Key, so it is a **backend** call made when your own signup\ncompletes. A client that can create users can create *any* user.\n\n## Logout hygiene\n`CometChatUIKit.logout()` on sign-out, and **unregister the push token first** (see the `push` skill)\n— otherwise the device keeps receiving the previous user's notifications. On a shared device that is\na privacy incident, not a bug.\n\n## Before you ship\n- **Test a release build**, not just debug. Some failures appear only there — most notably the\n  `react-native-gesture-handler` import-ordering crash (`bare-patterns`).\n- Build, then grep the output bundle for the Auth Key. It must not be present.\n- Verify calls and push on **real devices** — neither is provable on a simulator.\n- Check both platforms; Android and iOS diverge in native config, permissions and build failures.\n\n## Common pitfalls\n1. **Shipping the Auth Key** — env vars and obfuscation do not hide it.\n2. **Creating users client-side** — needs the Auth Key; move it to the backend.\n3. **Not unregistering push on logout** — the next user receives the previous user's messages.\n4. **Signing off from a debug build** — release-only failures exist.\n5. **Testing one platform only** — the native layer differs.\n\n## Verify it works\n- Every emitted symbol is in `catalogs\u002Frn-sdk-v4.json` \u002F `rn-v5.json`.\n- `npm run verify:fences:rn-v5` is green.\n- Grep a **release** bundle for the Auth Key — absent.\n- Sign out, then confirm the device stops receiving that user's notifications.\n","> **Ground truth:** `@cometchat\u002Fchat-uikit-react-native@5` + `catalogs\u002Frn-sdk-v4.json`.\n> Docs: `\u002Fui-kit\u002Freact-native\u002Freact-native-cli-integration` · `\u002Fsdk\u002Freact-native\u002Fauthentication-overview`.\n\n## Companion skills (read first)\n- `cometchat-react-native-core` — install, provider chain, init→login→render. Assumed, not repeated here.\n- `cometchat-security` — the enterprise auth model this client-side hardening plugs into: wiring your IdP \u002F SSO into the token flow (your IdP → your server → mint the CometChat auth token; CometChat is **not** an IdP), token expiry\u002Frefresh + re-login, RBAC roles + group (SBAC) scopes, and Auth Key vs auth token vs REST API Key. Load it for a security review or any SSO question.\n\n## Use this skill when\n- \"is this safe to ship\" · \"swap the auth key for a token\" · \"prepare the release build\"\n\n## Prerequisites & install\nNone beyond `core`, plus a backend endpoint you control for minting tokens.\n\n## The one rule: the Auth Key never ships\n\n`login({ uid })` uses the **Auth Key**, which can create and impersonate any user in your app. Fine on\nyour laptop; unacceptable in a shipped binary.\n\n### Nothing in a mobile app is secret\nThis is the part web developers get wrong. A React Native bundle is **not** a server. `.env` files,\n`react-native-config`, `Constants.expoConfig`, obfuscation, ProGuard — all of them end up readable in\nthe shipped app. Anyone can unzip an IPA or APK.\n\n\"Hide the Auth Key in an env var\" is not a mitigation. **Remove it.**\n\n### Production shape\n\n```tsx\nimport { CometChatUIKit } from \"@cometchat\u002Fchat-uikit-react-native\";\n\n\u002F\u002F your backend authenticates the user, then mints a short-lived CometChat\n\u002F\u002F auth token for that UID and returns it\nconst authToken: string = await fetchAuthTokenFromYourBackend();\nawait CometChatUIKit.login({ authToken });\n```\n\nThe client never sees the Auth Key. The token is per-user, short-lived and revocable.\n`UIKitSettings.authKey` is only needed for the `login({ uid })` path — a production build should not\ncarry it at all.\n\n## User creation belongs on the server\n`CometChat.createUser` needs the Auth Key, so it is a **backend** call made when your own signup\ncompletes. A client that can create users can create *any* user.\n\n## Logout hygiene\n`CometChatUIKit.logout()` on sign-out, and **unregister the push token first** (see the `push` skill)\n— otherwise the device keeps receiving the previous user's notifications. On a shared device that is\na privacy incident, not a bug.\n\n## Before you ship\n- **Test a release build**, not just debug. Some failures appear only there — most notably the\n  `react-native-gesture-handler` import-ordering crash (`bare-patterns`).\n- Build, then grep the output bundle for the Auth Key. It must not be present.\n- Verify calls and push on **real devices** — neither is provable on a simulator.\n- Check both platforms; Android and iOS diverge in native config, permissions and build failures.\n\n## Common pitfalls\n1. **Shipping the Auth Key** — env vars and obfuscation do not hide it.\n2. **Creating users client-side** — needs the Auth Key; move it to the backend.\n3. **Not unregistering push on logout** — the next user receives the previous user's messages.\n4. **Signing off from a debug build** — release-only failures exist.\n5. **Testing one platform only** — the native layer differs.\n\n## Verify it works\n- Every emitted symbol is in `catalogs\u002Frn-sdk-v4.json` \u002F `rn-v5.json`.\n- `npm run verify:fences:rn-v5` is green.\n- Grep a **release** bundle for the Auth Key — absent.\n- Sign out, then confirm the device stops receiving that user's notifications.\n",{"name":5,"license":15,"metadata":51,"description":7,"compatibility":55},{"tags":52,"author":53,"version":54},"chat cometchat react-native production security auth-token release","CometChat","1.0.0","React Native >=0.77; @cometchat\u002Fchat-uikit-react-native ^5.4.0; @cometchat\u002Fchat-sdk-react-native ^4.0.28","main","2b63f856ce19c2a797929cacabd9e0fc936812fa","plugins\u002Fcometchat\u002Fcometchat-skills\u002Fskills\u002Fcometchat-react-native-production",491,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins","https:\u002F\u002Fhol.org\u002Fplugins\u002Fbest-codex-plugins","https:\u002F\u002Fgithub.com\u002Fhashgraph-online","https:\u002F\u002Fhol.org","Open-source standards and developer tools for interoperable AI agents: discovery, identity, communication, payments, privacy and security.","2026-11-14 14:06:13",{"source":8,"skillName":5,"commands":67,"prompt":77,"zipAvailable":78},[68,71,74],{"tool":69,"command":70},"npx","npx skills add hashgraph-online\u002Fawesome-codex-plugins --skill cometchat-react-native-production",{"tool":72,"command":73},"bunx","bunx skills add hashgraph-online\u002Fawesome-codex-plugins --skill cometchat-react-native-production",{"tool":75,"command":76},"pnpm","pnpm dlx skills add hashgraph-online\u002Fawesome-codex-plugins --skill cometchat-react-native-production","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fcometchat\u002Fcometchat-skills\u002Fskills\u002Fcometchat-react-native-production\u002FSKILL.md",true,[],[81,90,98,106,114,122],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":85,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":89},"01M7DV332YQMGD8WTRJ9DZQXTB","worktable-review-with-annotations","Create, inspect, reply to, update, or resolve situated Worktable annotations. Use when feedback belongs to a Doc section, block, text range, or HTML Doc, or when the user asks to address existing review feedback and coordinate a requested artifact edit.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":94,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":89},"01M7DV2YGHCZVBEB1AHYB6CGHE","worktable-find-and-synthesize-context","Find, assess, and synthesize context from Worktable Docs and Records. Use when the user asks what a workspace contains, wants workspace-backed research, needs current facts reconciled across artifacts, or requests a cited synthesis without changing workspace state.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":102,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":89},"01M7DV2TQN1H11ME2SAF9MXN7V","worktable-create-or-update-docs","Create, edit, rename, or maintain narrative Worktable Docs. Use for plans, decisions, briefs, notes, research syntheses, and other durable prose when the user requests a new artifact or a safe update to an existing one.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FSKILL.md",[],[],{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":110,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":89},"01M7DV2NE452NEA8TXATKSNAJH","worktable-create-or-manage-records","Organize repeated structured information as durable Worktable Records. Use for research datasets, inventories, directories, pipelines, trackers, and other collections whose items need identity, fields, filtering, links, validation, or individual updates.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FSKILL.md",[],[],{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":118,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":89},"01M7DV2HENRBR2KSCVM064WH0Y","worktable-create-or-manage-interactive-html","Create or improve durable visual and interactive artifacts in Worktable. Use for dashboards, trackers, calculators, mini apps, slide presentations, and other requests that benefit from a polished HTML Doc.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FSKILL.md",[],[],{"skillNo":123,"name":124,"nameZh":6,"description":125,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":126,"sourceHtmlUrl":127,"categories":128,"keywords":129,"publishedAt":89},"01M7DV2CADR5R7RQFFYPNAGR9Y","worktable-collaborate-threads","Read, answer, and hand off messages through durable Worktable threads with users or other authenticated participants. Use when the user asks to check addressed messages, reply to a participant, continue a thread, request another agent's help, wait briefly for a response, or watch for comments and messages sent to the agent.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FSKILL.md",[],[]]