/trtc-ai-setup:trtc-chat-iosfrom trtc-ai-setup
iOS TUIChatKit coding skill for integrating and modifying the imperative UIKit kit (TUIChatKit) and declarative SwiftUI kit (TUIChatKit_Swift). Helps locate owners and call chains, fix bugs, extend configs, and change message/input/conversation/contact/group/theme/navigation code in Swift or Objective-C hosts.
Ships in trtc-ai-setup. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
TUIChatKit_Swift(ChatPage 为 SwiftUI View)是声明式,转到 声明式入口;TUIChatKit(ChatPage 为 UIViewController)是命令式,用下文。SwiftUI 宿主承载命令式页面仍属命令式。trtc/SKILL.md 完成本轮 guard 与 iOS Chat 路由;未放行则交回根入口,复用本轮前台入口结果,不重新采集 Prompt。单独安装:根不存在则直接工作,不循环寻找依赖,也不另建上报通道。trtc-chat-ios、product 为 chat、framework 为 ios;已执行则不重复。收到隐私展示标记后按 Root 首次可见消息边界先展示并结束当前回合等待用户回复,不能接着交接、业务提问或调用业务工具;同意或拒绝后按 Root 恢复原任务;不等整套任务结束,不交给 Stop,已展示不重复。未同意时不上传体验数据,拒绝或模糊回复沿用 Root 的处理。trtc-chat/docs/SKILL.md,最终归因使用该实际 owner。product=chat, platform=ios, active_domain_skill=trtc-chat-ios,保留 SDKAppID 与其他任务状态。任务进行中为 active,明确暂停为 paused,完成已确认范围且交代验证结果后为 completed。纯查询不新建集成 session。| 用户目标 | 首次读取 |
|---|---|
| 修改组件源码、修内部 bug、新增公开配置/内部功能 | 源码任务索引,再读命中的模块指南 |
| 首次接入、登录、页面导航、Call 依赖选择 | 应用接入 |
集成时获取源码:默认从 GitHub(不可用时 CNB)克隆到客户项目,:path 本地依赖 TUIChatKit | 应用接入 的“获取 TUIKit iOS 源码” |
| 登录参数从哪来、客户端 SecretKey 调试 | 应用接入 的“登录” |
| UserSig生成/编码、70003/60010/6032、首次收发 | 凭据与账号 |
| 参数不存在、Pod文件布局/依赖组合与指南不同 | 版本与能力 |
| 用现有公开开关/扩展定制 App | 应用定制 |
| 不知道故障在哪,或构建/登录失败 | 排障分流,定位后切对应源码模块 |
| 只问功能能力/跨层归属 | 能力边界 |
| 准备真实测试账号、好友、群消息 | 测试数据 |
| 安装、打包、接入 npm 集合 | 维护与集合接入 |
首次源码任务的目标读取集合为“本入口 + 任务索引 + 1 个主模块指南 + 该任务 2~4 个首读文件”。这是减少无效读取的策略,不是禁止跨模块分析的硬上限。相关指南不自动全部加载;只有调用方实际读取的文本才进入上下文,最终行为取决于宿主和模型。
不要递归读取所有 Markdown、所有源码、Pods、构建产物或历史会话。不要无条件读取 API 大表、全部模块指南、模板和测试清单。需要架构/通用变更步骤时索引提供第二跳。源码已读且未变化时复用上下文。
.codebuddy 或整片工作目录。#if DEBUG 内客户端生成 UserSig,只让客户在一处源码填 SDKAppID、SecretKey,不先问鉴权方式;其余参数自动准备。按应用接入“登录”执行(三次风险提示、交付以“必须完成:请在源码填入 SDKAppID 和 SecretKey”开头);生产仍推荐服务端签发。.swiftinterface,不声称改了其实现;即使找到另一份源码,也需先核对版本和编译引用。基线:以发布版为准——命令式 TUIChatKit 9.1.7825、声明式 TUIChatKit_Swift 9.1.7821,任务组织参考 Android Skill 1.1.2。不承诺其他版本/模型自动达到同样速度或正确率。
references/app/customization.md (opens in a new tab)references/app/demo-data.md (opens in a new tab)references/app/integration.md (opens in a new tab)references/examples/ChatIntegration.swift (opens in a new tab)references/examples/CustomMessage.swift (opens in a new tab)references/examples/DebugSignature.swift (opens in a new tab)references/maintenance/suite-integration.md (opens in a new tab)references/shared/api-map.md (opens in a new tab)references/shared/boundaries.md (opens in a new tab)references/shared/constraints.md (opens in a new tab)references/shared/credentials.md (opens in a new tab)references/shared/kit-selection.md (opens in a new tab)references/shared/troubleshooting.md (opens in a new tab)references/shared/versions.md (opens in a new tab)references/source/architecture.md (opens in a new tab)references/source/index.md (opens in a new tab)references/source/lessons.md (opens in a new tab)references/source/modules/contacts.md (opens in a new tab)references/source/modules/conversations.md (opens in a new tab)references/source/modules/input.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub tencent-rtc/agent-skills --plugin trtc-ai-setup14 skills in this plugin
/trtcUse for TRTC/Tencent RTC requests to integrate, build, troubleshoot, compare, price, migrate, or query SDK/API/docs. Also trigger when the request omits “TRTC” but concerns audio/video, chat, calls, meetings, live, voice rooms, offline push, or AI. Route by product/platform/intent. Products: Chat/IM/TUIKit, Conference/TUIRoom/TUIRoomKit/RoomKit, Call/TUICallKit, Live/TUILiveKit, RTC Engine, TIMPush, and Conversational AI on Web/Android/iOS/HarmonyOS/Flutter/Electron. Signals: UserSig, REST API, Webhook, SDK names, errors 6206/6208/70001, or 接入、集成、搭建、音视频、视频会议、语音房、直播、 通话、群聊、实时翻译、口语陪练、AI客服、智能客服、对话式AI、离线推送、计费、套餐、错误码. TIMPush: 腾讯云 push/离线推送、registerPush、800006、APNs/FCM; route to trtc-push. SDK logs: /sdk-log、SDK 日志排障、客户端日志、日志分析、黑屏、无声、掉线; use manual log workflow.
/ai-oral-coach-skillBuild an AI English speaking coach powered by Tencent Cloud TRTC Conversational AI (voice-first).
Agent-driven — users never touch a terminal. Two paths:
Path A Quick Start — 3-screen SPA (scenario practice + sentence correction + reply suggestions + 4-dimension report)
Path B Integrate — backend inbound API + integration code, no UI generated
/trtc-ai-realtime-interpreterBuild real-time AI interpretation powered by Tencent Cloud TRTC Conversational AI (voice-first).
Designed for beginners — no coding experience required. Plain-language guidance throughout.
Two paths available:
Quick Start —— Ready-to-use Vue3 meeting room with real-time AI interpreter (for first-timers who want to see results fast)
Integrate into My System —— Add TRTC-based real-time interpretation backend capabilities to your existing project (no UI generated)
The Coding Agent drives the entire process in the chat window. Users never touch a terminal or run scripts manually.
/trtc-ai-customer-service-skillBuild AI customer service powered by Tencent Cloud TRTC Conversational AI (voice-first).
Designed for beginners — no coding experience required. Plain-language guidance throughout.
Two paths available:
Quick Start —— Ready-to-use voice agent UI + ticket dashboard (for first-timers who want to see results fast)
Integrate into My System —— Add TRTC Conversational AI backend capabilities to your existing project (no UI generated)
The Coding Agent drives the entire process in the chat window. Users never touch a terminal or run scripts manually.
/trtc-callGuides users through integrating TRTC Call (TUICallKit) into a Flutter app, a native iOS (Swift, CocoaPods) app, or a native Android (Kotlin / Java, Gradle) app — 1v1 audio/video call, group call, or embedding a call button into an existing IM chat page. Use when the user wants to add real-time calling to a Flutter, native iOS or native Android app — "接入通话", "1v1 音视频", "视频通话", "语音通话", "TUICallKit", "拨号", "呼叫", "来电", "客服外呼", "IM 聊天页加通话按钮", "integrate call", "add calling", "video call", "voice call", "ringing", "callkit".
/trtc-chatInternal Chat (IM) integration domain skill — enter ONLY via skills/trtc/SKILL.md after product=chat routing. Not a standalone dispatcher entry. Handles Vue 3 Web full/direct chat integration (Path A/B/C/D).
Other plugins' skills for the same job