@tencent-rtc/trtc-agent-skills 0.1.6 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +1 -1
- package/CLAUDE.md +1 -1
- package/CODEBUDDY.md +1 -1
- package/README.md +6 -73
- package/README.zh.md +6 -69
- package/bin/cli.js +9 -7
- package/package.json +1 -1
- package/skills/trtc/SKILL.md +55 -4
- package/skills/trtc-ai-oral-coach/README.ja.md +131 -0
- package/skills/trtc-ai-oral-coach/README.md +132 -0
- package/skills/trtc-ai-oral-coach/README.zh-CN.md +131 -0
- package/skills/trtc-ai-oral-coach/SKILL.md +395 -0
- package/skills/trtc-ai-oral-coach/auto_adapters/integration_templates/custom-learning-kb-sample.md +88 -0
- package/skills/trtc-ai-oral-coach/auto_adapters/integration_templates/generic-integration.md +104 -0
- package/skills/trtc-ai-oral-coach/auto_adapters/manifest.yaml +27 -0
- package/skills/trtc-ai-oral-coach/auto_adapters/python/README.md +49 -0
- package/skills/trtc-ai-oral-coach/auto_adapters/python/coach_client.py.tpl +185 -0
- package/skills/trtc-ai-oral-coach/auto_adapters/web/README.md +46 -0
- package/skills/trtc-ai-oral-coach/auto_adapters/web/oral-coach-client.js.tpl +210 -0
- package/skills/trtc-ai-oral-coach/capabilities/ability-report/manifest.yaml +52 -0
- package/skills/trtc-ai-oral-coach/capabilities/ability-report/src/__init__.py +2 -0
- package/skills/trtc-ai-oral-coach/capabilities/ability-report/src/adapters/__init__.py +2 -0
- package/skills/trtc-ai-oral-coach/capabilities/ability-report/src/adapters/default.py +177 -0
- package/skills/trtc-ai-oral-coach/capabilities/ability-report/src/handler.py +29 -0
- package/skills/trtc-ai-oral-coach/capabilities/ability-report/src/router.py +23 -0
- package/skills/trtc-ai-oral-coach/capabilities/conversation-core/.env.example +59 -0
- package/skills/trtc-ai-oral-coach/capabilities/conversation-core/manifest.yaml +46 -0
- package/skills/trtc-ai-oral-coach/capabilities/conversation-core/requirements.txt +6 -0
- package/skills/trtc-ai-oral-coach/capabilities/conversation-core/src/TLSSigAPIv2.py +275 -0
- package/skills/trtc-ai-oral-coach/capabilities/conversation-core/src/__init__.py +2 -0
- package/skills/trtc-ai-oral-coach/capabilities/conversation-core/src/_capability_loader.py +227 -0
- package/skills/trtc-ai-oral-coach/capabilities/conversation-core/src/agent.py +197 -0
- package/skills/trtc-ai-oral-coach/capabilities/conversation-core/src/config.py +149 -0
- package/skills/trtc-ai-oral-coach/capabilities/conversation-core/src/core/__init__.py +2 -0
- package/skills/trtc-ai-oral-coach/capabilities/conversation-core/src/core/report_llm.py +129 -0
- package/skills/trtc-ai-oral-coach/capabilities/conversation-core/src/health.py +36 -0
- package/skills/trtc-ai-oral-coach/capabilities/conversation-core/src/server.py +205 -0
- package/skills/trtc-ai-oral-coach/capabilities/conversation-core/src/trtc_client.py +86 -0
- package/skills/trtc-ai-oral-coach/capabilities/conversation-core/src/usersig.py +33 -0
- package/skills/trtc-ai-oral-coach/capabilities/custom-learning-kb/manifest.yaml +65 -0
- package/skills/trtc-ai-oral-coach/capabilities/custom-learning-kb/src/__init__.py +2 -0
- package/skills/trtc-ai-oral-coach/capabilities/custom-learning-kb/src/adapters/__init__.py +2 -0
- package/skills/trtc-ai-oral-coach/capabilities/custom-learning-kb/src/adapters/clients.py +126 -0
- package/skills/trtc-ai-oral-coach/capabilities/custom-learning-kb/src/ports.py +46 -0
- package/skills/trtc-ai-oral-coach/capabilities/custom-learning-kb/src/router.py +27 -0
- package/skills/trtc-ai-oral-coach/capabilities/quick-correct/manifest.yaml +48 -0
- package/skills/trtc-ai-oral-coach/capabilities/quick-correct/src/__init__.py +2 -0
- package/skills/trtc-ai-oral-coach/capabilities/quick-correct/src/adapters/__init__.py +2 -0
- package/skills/trtc-ai-oral-coach/capabilities/quick-correct/src/adapters/default.py +106 -0
- package/skills/trtc-ai-oral-coach/capabilities/quick-correct/src/handler.py +33 -0
- package/skills/trtc-ai-oral-coach/capabilities/quick-correct/src/router.py +23 -0
- package/skills/trtc-ai-oral-coach/capabilities/reply-suggestion/manifest.yaml +49 -0
- package/skills/trtc-ai-oral-coach/capabilities/reply-suggestion/src/__init__.py +2 -0
- package/skills/trtc-ai-oral-coach/capabilities/reply-suggestion/src/adapters/__init__.py +2 -0
- package/skills/trtc-ai-oral-coach/capabilities/reply-suggestion/src/adapters/default.py +86 -0
- package/skills/trtc-ai-oral-coach/capabilities/reply-suggestion/src/handler.py +29 -0
- package/skills/trtc-ai-oral-coach/capabilities/reply-suggestion/src/router.py +23 -0
- package/skills/trtc-ai-oral-coach/capabilities/scenario-roleplay/data/practice-scenarios.json +500 -0
- package/skills/trtc-ai-oral-coach/capabilities/scenario-roleplay/manifest.yaml +54 -0
- package/skills/trtc-ai-oral-coach/capabilities/scenario-roleplay/src/__init__.py +2 -0
- package/skills/trtc-ai-oral-coach/capabilities/scenario-roleplay/src/adapters/__init__.py +2 -0
- package/skills/trtc-ai-oral-coach/capabilities/scenario-roleplay/src/adapters/default.py +113 -0
- package/skills/trtc-ai-oral-coach/capabilities/scenario-roleplay/src/compose.py +143 -0
- package/skills/trtc-ai-oral-coach/capabilities/scenario-roleplay/src/defaults.py +140 -0
- package/skills/trtc-ai-oral-coach/capabilities/scenario-roleplay/src/handler.py +29 -0
- package/skills/trtc-ai-oral-coach/capabilities/scenario-roleplay/src/router.py +22 -0
- package/skills/trtc-ai-oral-coach/capabilities/scenario-roleplay/src/scenario_source.py +179 -0
- package/skills/trtc-ai-oral-coach/references/design-specs.md +36 -0
- package/skills/trtc-ai-oral-coach/references/evaluator-port.md +75 -0
- package/skills/trtc-ai-oral-coach/scenarios/speaking-coach/recipe.yaml +86 -0
- package/skills/trtc-ai-oral-coach/scenarios/speaking-coach/ui/avatars/friend.png +0 -0
- package/skills/trtc-ai-oral-coach/scenarios/speaking-coach/ui/avatars/listener.png +0 -0
- package/skills/trtc-ai-oral-coach/scenarios/speaking-coach/ui/avatars/local.png +0 -0
- package/skills/trtc-ai-oral-coach/scenarios/speaking-coach/ui/coach.html +1986 -0
- package/skills/trtc-ai-oral-coach/scenarios/speaking-coach/ui/i18n.js +323 -0
- package/skills/trtc-ai-oral-coach/scenarios/speaking-coach/ui/practice-scenarios.json +500 -0
- package/skills/trtc-ai-oral-coach/scenarios/speaking-coach/ui/tokens.css +100 -0
- package/skills/trtc-ai-oral-coach/scripts/add-capability.py +256 -0
- package/skills/trtc-ai-oral-coach/scripts/verify-credentials.py +96 -0
- package/skills/trtc-ai-oral-coach/start.sh +59 -0
- package/skills/trtc-ai-oral-coach/triggers.yaml +32 -0
- package/skills/trtc-ai-service/README.ja.md +15 -32
- package/skills/trtc-ai-service/README.md +15 -32
- package/skills/trtc-ai-service/README.zh-CN.md +15 -32
- package/skills/trtc-ai-service/SKILL.md +188 -120
package/AGENTS.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Reply in the user's language.
|
|
4
4
|
|
|
5
|
-
TRTC products covered: Conference, Chat, Call, Live, RTC Engine, and Conversational AI (AI customer service / 智能客服 / voice agent scenarios).
|
|
5
|
+
TRTC products covered: Conference, Chat, Call, Live, RTC Engine, and Conversational AI (AI customer service / 智能客服 / voice agent / AI oral coach / 口语陪练 / speaking coach scenarios).
|
|
6
6
|
|
|
7
7
|
For any TRTC-related request, read and follow `skills/trtc/SKILL.md` first.
|
|
8
8
|
This file is an installed host bootstrap. The actual TRTC skill lives under
|
package/CLAUDE.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Reply in the user's language.
|
|
4
4
|
|
|
5
|
-
TRTC products covered: Conference, Chat, Call, Live, RTC Engine, and Conversational AI (AI customer service / 智能客服 / voice agent scenarios).
|
|
5
|
+
TRTC products covered: Conference, Chat, Call, Live, RTC Engine, and Conversational AI (AI customer service / 智能客服 / voice agent / AI oral coach / 口语陪练 / speaking coach scenarios).
|
|
6
6
|
|
|
7
7
|
For any TRTC-related request, read and follow `skills/trtc/SKILL.md` first.
|
|
8
8
|
This file is an installed host bootstrap. The actual TRTC skill lives under
|
package/CODEBUDDY.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Reply in the user's language.
|
|
4
4
|
|
|
5
|
-
TRTC products covered: Conference, Chat, Call, Live, RTC Engine, and Conversational AI (AI customer service / 智能客服 / voice agent scenarios).
|
|
5
|
+
TRTC products covered: Conference, Chat, Call, Live, RTC Engine, and Conversational AI (AI customer service / 智能客服 / voice agent / AI oral coach / 口语陪练 / speaking coach scenarios).
|
|
6
6
|
|
|
7
7
|
For any TRTC-related request, read and follow `skills/trtc/SKILL.md` first.
|
|
8
8
|
This file is an installed host bootstrap. The actual TRTC skill lives under
|
package/README.md
CHANGED
|
@@ -18,56 +18,7 @@ You can use it to build scenarios like video conferencing, live streaming rooms,
|
|
|
18
18
|
|
|
19
19
|
## Installation
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
```bash
|
|
24
|
-
# Step 1 — add the TRTC plugin marketplace
|
|
25
|
-
/plugin marketplace add Tencent-RTC/agent-skills
|
|
26
|
-
|
|
27
|
-
# Step 2 — install the plugin
|
|
28
|
-
/plugin install trtc-agent-skills@trtc-marketplace
|
|
29
|
-
|
|
30
|
-
# Step 3 — activate without restarting
|
|
31
|
-
/reload-plugins
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
**Cursor**
|
|
35
|
-
|
|
36
|
-
Clone the repo into Cursor's local plugin directory:
|
|
37
|
-
|
|
38
|
-
```bash
|
|
39
|
-
git clone https://github.com/Tencent-RTC/agent-skills.git ~/.cursor/plugins/local/trtc-agent-skills
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
Then press **`Cmd+Shift+P`** (Mac) / **`Ctrl+Shift+P`** (Windows/Linux) → `Reload Window` (or restart Cursor).
|
|
43
|
-
|
|
44
|
-
**Codex CLI**
|
|
45
|
-
|
|
46
|
-
```bash
|
|
47
|
-
# Step 1 — add the TRTC plugin marketplace
|
|
48
|
-
codex plugin marketplace add Tencent-RTC/agent-skills
|
|
49
|
-
|
|
50
|
-
# Step 2 — open the plugin browser inside Codex CLI:
|
|
51
|
-
/plugins
|
|
52
|
-
# Select the "TRTC Agent Skills" tab → select trtc-agent-skills → press Enter to install
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
**CodeBuddy CLI**
|
|
56
|
-
|
|
57
|
-
```bash
|
|
58
|
-
# Step 1 — add the TRTC plugin marketplace
|
|
59
|
-
/plugin marketplace add Tencent-RTC/agent-skills
|
|
60
|
-
|
|
61
|
-
# Step 2 — install the plugin
|
|
62
|
-
/plugin install trtc-agent-skills@trtc-marketplace
|
|
63
|
-
|
|
64
|
-
# Step 3 — activate without restarting
|
|
65
|
-
/reload-plugins
|
|
66
|
-
```
|
|
67
|
-
|
|
68
|
-
### Install via npx (any IDE, no plugin marketplace required)
|
|
69
|
-
|
|
70
|
-
If your IDE doesn't have a plugin marketplace, or you'd rather pin the install to a specific project, use the npx installer. Run it inside your project directory:
|
|
21
|
+
Use the npx installer. Run it inside your project directory:
|
|
71
22
|
|
|
72
23
|
```bash
|
|
73
24
|
# Default — auto-detect installed IDEs (~/.{claude,cursor,codebuddy,codex}/)
|
|
@@ -84,25 +35,6 @@ npx -y @tencent-rtc/trtc-agent-skills@latest add --ide cursor
|
|
|
84
35
|
npx -y @tencent-rtc/trtc-agent-skills@latest add --clean
|
|
85
36
|
```
|
|
86
37
|
|
|
87
|
-
## Using with MCP
|
|
88
|
-
|
|
89
|
-
This skill calls **one** optional MCP server: `tencent-rtc-skill-tool` (package
|
|
90
|
-
[`@tencent-rtc/skill-tool`](https://www.npmjs.com/package/@tencent-rtc/skill-tool)),
|
|
91
|
-
used only for lightweight, fire-and-forget usage telemetry. The skill works fully
|
|
92
|
-
without it — if it is not configured, reporting is simply skipped.
|
|
93
|
-
|
|
94
|
-
The skill does **not** read your TRTC credentials from any MCP server and does
|
|
95
|
-
**not** generate `userSig` for you. You provide your **SDKAppID** when asked, and
|
|
96
|
-
you obtain a **test UserSig** from the TRTC console:
|
|
97
|
-
|
|
98
|
-
> Find `YOUR_SDKAPPID` and generate a test UserSig on the application details
|
|
99
|
-
> page in the [console (International)](https://console.trtc.io) or
|
|
100
|
-
> [console (China)](https://console.cloud.tencent.com). A console-issued UserSig
|
|
101
|
-
> is for development only and expires; for production, issue UserSig from your own
|
|
102
|
-
> backend and keep your SecretKey on the server.
|
|
103
|
-
|
|
104
|
-
The `tencent-rtc-skill-tool` tool server is registered automatically when you install via `npx` — no manual MCP configuration needed. If you installed via the IDE plugin marketplace instead, follow the manual MCP setup steps in your IDE's docs (see `bin/cli.js` for the exact server entry).
|
|
105
|
-
|
|
106
38
|
---
|
|
107
39
|
|
|
108
40
|
## What it does
|
|
@@ -114,6 +46,7 @@ The skill activates automatically when you mention TRTC or describe a real-time
|
|
|
114
46
|
| **Get started** | Guides you through demo setup, SDK integration, troubleshooting, or adding a new feature — step by step | • *"I want to add video conferencing to my web app"*<br>• *"I'm getting error 6206 when users join"*<br>• *"Conference is working — now I want to add screen sharing"* |
|
|
115
47
|
| **Scenario walkthrough** | Loads a complete feature scenario and walks you through each capability in order, with code and checkpoints | • *"Walk me through building a complete conference room from scratch"*<br>• *"Guide me through a 1-on-1 video consultation end to end"* |
|
|
116
48
|
| **AI customer service** | Builds a voice-first AI customer service agent from scratch — or wires the AI backend into your existing app. Covers credential setup, capability assembly (knowledge base, human handoff, tool calling, session summary), and launch | • *"Build me an AI customer service agent with TRTC"*<br>• *"I want to integrate AI customer service into my existing Node.js backend"*<br>• *"Help me set up TRTC Conversational AI"* |
|
|
49
|
+
| **AI oral coach** | Builds a voice-first AI oral English speaking coach from scratch — or wires the AI backend into your existing app. Covers credential setup, capability assembly (scenario roleplay, quick correction, reply suggestions, ability report, custom learning KB), and launch | • *"Build me an AI oral English coach with TRTC"*<br>• *"I want to integrate AI speaking practice into my existing app"*<br>• *"Help me set up an AI speaking coach"* |
|
|
117
50
|
| **Docs & lookup** | Answers factual questions from the official knowledge base with cited sources | • *"What does error code 6206 mean?"*<br>• *"How much does Conference cost per participant minute?"*<br>• *"What's the max number of participants?"* |
|
|
118
51
|
|
|
119
52
|
The skill saves your progress in the project. If you close the tool and come back later, it picks up where you left off.
|
|
@@ -125,9 +58,9 @@ The skill saves your progress in the project. If you close the tool and come bac
|
|
|
125
58
|
| Product | Description | Availability |
|
|
126
59
|
|---------|-------------|--------------|
|
|
127
60
|
| **Conference** | Video conferencing — multi-party meetings, screen sharing, in-meeting chat | Web ✅ |
|
|
128
|
-
| **Conversational AI** | Voice-first AI customer service
|
|
61
|
+
| **Conversational AI** | Voice-first AI agents — AI customer service (voice agent, knowledge base, human handoff, tool calling, session summary) and AI oral coach (scenario roleplay, quick correction, reply suggestions, ability report) | Web ✅ |
|
|
129
62
|
| **Live** | Interactive live streaming — anchor/audience roles, co-hosting, barrage, gifts, beauty filters | Coming soon |
|
|
130
|
-
| **Chat** | Instant messaging — messages, conversations, groups, user profiles |
|
|
63
|
+
| **Chat** | Instant messaging — messages, conversations, groups, user profiles | Web ✅ |
|
|
131
64
|
| **Call** | Audio/video calling — 1-on-1 and group calls | Coming soon |
|
|
132
65
|
| **RTC Engine** | Low-level real-time audio/video engine — room management, publishing, subscribing | Coming soon |
|
|
133
66
|
|
|
@@ -144,7 +77,7 @@ When you describe what you want to build, the skill:
|
|
|
144
77
|
- **Walks through** one capability at a time with production-ready code, waits for you to confirm it works, then moves to the next step
|
|
145
78
|
- **Saves your progress** to `.trtc-session.yaml` in your project root (auto-added to `.gitignore`) so you can resume in a later session without re-explaining what you're building
|
|
146
79
|
|
|
147
|
-
Step-by-step integration is currently available for **Conference on Web** and **Conversational AI (AI customer service)**. The Conversational AI
|
|
80
|
+
Step-by-step integration is currently available for **Conference on Web**, **Chat on Web**, and **Conversational AI (AI customer service & AI oral coach)**. The Conversational AI skills use their own capability model — they do not follow the slice/scenario pipeline; instead they guide you through credential setup, capability selection, and launch in a self-contained flow. Docs lookup, error code search, and pricing questions work across all TRTC products.
|
|
148
81
|
|
|
149
82
|
### Knowledge base: Slices and Scenarios
|
|
150
83
|
|
|
@@ -169,4 +102,4 @@ The skill's knowledge is structured into two layers:
|
|
|
169
102
|
|
|
170
103
|
## Contact Us
|
|
171
104
|
|
|
172
|
-
Need technical support or enterprise pricing? Submit your contact information at [trtc.io/contact](https://trtc.io/contact) and our team will get back to you shortly.
|
|
105
|
+
Need technical support or enterprise pricing? Submit your contact information at [trtc.io/contact](https://trtc.io/contact) and our team will get back to you shortly.
|
package/README.zh.md
CHANGED
|
@@ -18,56 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
## 安装
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
```bash
|
|
24
|
-
# 第一步 — 添加 TRTC 插件市场
|
|
25
|
-
/plugin marketplace add Tencent-RTC/agent-skills
|
|
26
|
-
|
|
27
|
-
# 第二步 — 安装插件
|
|
28
|
-
/plugin install trtc-agent-skills@trtc-marketplace
|
|
29
|
-
|
|
30
|
-
# 第三步 — 无需重启,直接激活
|
|
31
|
-
/reload-plugins
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
**Cursor**
|
|
35
|
-
|
|
36
|
-
克隆仓库并安装到 Cursor 本地插件目录:
|
|
37
|
-
|
|
38
|
-
```bash
|
|
39
|
-
git clone https://github.com/Tencent-RTC/agent-skills.git ~/.cursor/plugins/local/trtc-agent-skills
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
然后按 **`Cmd+Shift+P`**(Mac)/ **`Ctrl+Shift+P`**(Windows/Linux)→ 输入 `Reload Window` 回车(或直接重启 Cursor)。
|
|
43
|
-
|
|
44
|
-
**Codex CLI**
|
|
45
|
-
|
|
46
|
-
```bash
|
|
47
|
-
# 第一步 — 添加 TRTC 插件市场
|
|
48
|
-
codex plugin marketplace add Tencent-RTC/agent-skills
|
|
49
|
-
|
|
50
|
-
# 第二步 — 在 Codex CLI 中打开插件浏览器:
|
|
51
|
-
/plugins
|
|
52
|
-
# 选择 "TRTC Agent Skills" 标签页 → 选择 trtc-agent-skills → 按 Enter 安装
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
**CodeBuddy CLI**
|
|
56
|
-
|
|
57
|
-
```bash
|
|
58
|
-
# 第一步 — 添加 TRTC 插件市场
|
|
59
|
-
/plugin marketplace add Tencent-RTC/agent-skills
|
|
60
|
-
|
|
61
|
-
# 第二步 — 安装插件
|
|
62
|
-
/plugin install trtc-agent-skills@trtc-marketplace
|
|
63
|
-
|
|
64
|
-
# 第三步 — 无需重启,直接激活
|
|
65
|
-
/reload-plugins
|
|
66
|
-
```
|
|
67
|
-
|
|
68
|
-
### 通过 npx 安装(任意 IDE,无需插件市场)
|
|
69
|
-
|
|
70
|
-
如果你所在的 IDE 没有插件市场,或者你希望把安装范围限定在某个具体项目里,可以用 npx 安装器。在项目根目录执行:
|
|
21
|
+
使用 npx 安装器。在项目根目录执行:
|
|
71
22
|
|
|
72
23
|
```bash
|
|
73
24
|
# 默认 — 自动检测已安装的 IDE(~/.{claude,cursor,codebuddy,codex}/)
|
|
@@ -84,21 +35,6 @@ npx -y @tencent-rtc/trtc-agent-skills@latest add --ide cursor
|
|
|
84
35
|
npx -y @tencent-rtc/trtc-agent-skills@latest add --clean
|
|
85
36
|
```
|
|
86
37
|
|
|
87
|
-
## 配置 MCP
|
|
88
|
-
|
|
89
|
-
本 Skill 只调用 **一个** 可选的 MCP Server:`tencent-rtc-skill-tool`(包
|
|
90
|
-
[`@tencent-rtc/skill-tool`](https://www.npmjs.com/package/@tencent-rtc/skill-tool)),
|
|
91
|
-
仅用于轻量的、即发即忘的使用情况上报。没有它 Skill 也能完整工作——未配置时自动跳过上报。
|
|
92
|
-
|
|
93
|
-
本 Skill **不会** 从任何 MCP 读取你的 TRTC 凭证,也 **不会** 替你生成 `userSig`。
|
|
94
|
-
你在被询问时提供 **SDKAppID**,并自行到 TRTC 控制台获取 **测试 UserSig**:
|
|
95
|
-
|
|
96
|
-
> 在[控制台(国际站)](https://console.trtc.io) / [控制台(中国站)](https://console.cloud.tencent.com)
|
|
97
|
-
> 的应用详情页获取 `YOUR_SDKAPPID`,并通过「快速跑通 / UserSig 生成&校验」生成测试 UserSig。
|
|
98
|
-
> 控制台签发的 UserSig 仅用于开发联调且会过期;生产环境必须由你自己的后端签发,SecretKey 务必只保留在服务端。
|
|
99
|
-
|
|
100
|
-
通过 `npx` 安装时,`tencent-rtc-skill-tool` 工具服务会自动注册到对应 IDE 的 MCP 配置,无需手动配置;如果是通过 IDE 插件市场安装,则需按各 IDE 的文档手动配置 MCP(具体 server entry 见 `bin/cli.js`)。
|
|
101
|
-
|
|
102
38
|
---
|
|
103
39
|
|
|
104
40
|
## 能做什么
|
|
@@ -110,6 +46,7 @@ npx -y @tencent-rtc/trtc-agent-skills@latest add --clean
|
|
|
110
46
|
| **快速上手** | 引导你跑通 Demo、从零集成、排查错误或添加新功能 | *"我想在 Web 应用里加视频会议"* · *"用户进房报错 6206"* · *"会议已接入,现在想加屏幕共享"* |
|
|
111
47
|
| **场景引导** | 加载完整场景,按顺序逐步实现每个能力,每步附代码和验证 | *"我想搭建一个会议应用"* · *"我想用 Conference 搭建一个医疗问诊场景"* |
|
|
112
48
|
| **AI 客服搭建** | 从零搭建语音优先的 AI 客服智能体,或将 AI 客服后端接入现有应用。覆盖密钥配置、能力组装(知识库、人工转接、工具调用、会话摘要)、服务启动全流程 | *"帮我用 TRTC 搭建一个 AI 客服"* · *"我想把 AI 客服能力集成到我的 Node.js 后端"* · *"帮我接入 TRTC Conversational AI"* |
|
|
49
|
+
| **AI 口语陪练** | 从零搭建语音优先的 AI 英语口语陪练教练,或将 AI 口语陪练后端接入现有应用。覆盖密钥配置、能力组装(场景角色扮演、单句纠正、接话建议、能力报告、自定义知识库)、服务启动全流程 | *"帮我用 TRTC 搭建一个 AI 口语陪练"* · *"我想把口语陪练能力集成到我的应用中"* · *"帮我搭建一个英语口语教练"* |
|
|
113
50
|
| **文档查询** | 从官方知识库检索事实性问题,每个答案附来源引用 | *"错误码 6206 是什么意思?"* · *"Conference 按分钟怎么计费?"* · *"会议室最多支持多少人?"* |
|
|
114
51
|
|
|
115
52
|
Skill 会在项目中保存你的进度。关掉工具下次回来,可以从上次中断的地方继续,不需要重新复述你在做什么。
|
|
@@ -121,9 +58,9 @@ Skill 会在项目中保存你的进度。关掉工具下次回来,可以从
|
|
|
121
58
|
| 产品 | 说明 | 可用状态 |
|
|
122
59
|
|------|------|---------|
|
|
123
60
|
| **Conference** | 视频会议——多人会议、屏幕共享、会中聊天 | Web ✅ |
|
|
124
|
-
| **Conversational AI** | 语音优先的 AI
|
|
61
|
+
| **Conversational AI** | 语音优先的 AI 智能体——AI 客服(语音对话、知识库检索、人工转接、工具调用、会话摘要)与 AI 口语陪练(场景角色扮演、单句纠正、接话建议、能力报告) | Web ✅ |
|
|
125
62
|
| **Live** | 互动直播——主播/观众、连麦、弹幕、礼物、美颜 | 即将支持 |
|
|
126
|
-
| **Chat** | 即时通信——消息、会话、群组、用户资料 |
|
|
63
|
+
| **Chat** | 即时通信——消息、会话、群组、用户资料 | Web ✅ |
|
|
127
64
|
| **Call** | 音视频通话——1v1 和群组通话 | 即将支持 |
|
|
128
65
|
| **RTC Engine** | 实时音视频引擎——进房、推流、拉流 | 即将支持 |
|
|
129
66
|
|
|
@@ -140,7 +77,7 @@ Skill 会在项目中保存你的进度。关掉工具下次回来,可以从
|
|
|
140
77
|
- **逐步推进**,每次只处理一个能力,给出可用代码,等你确认成功后再继续
|
|
141
78
|
- **保存进度**到项目根目录的 `.trtc-session.yaml`(自动加入 `.gitignore`),支持跨 session 续接
|
|
142
79
|
|
|
143
|
-
集成引导目前支持 **Conference Web** 和 **Conversational AI(AI
|
|
80
|
+
集成引导目前支持 **Conference Web**、**Chat Web** 和 **Conversational AI(AI 客服 & AI 口语陪练)**。Conversational AI Skill 拥有独立的能力模型,不走 Slice/Scenario 流水线,而是通过自闭环的引导流程完成密钥配置、能力选择和服务启动。文档查询、错误码搜索、计费咨询全产品可用(Conference、Live、Chat、Call、RTC Engine)。
|
|
144
81
|
|
|
145
82
|
### 知识库:Slice 与 Scenario
|
|
146
83
|
|
|
@@ -166,4 +103,4 @@ Skill 的知识分两层:
|
|
|
166
103
|
|
|
167
104
|
## 联系我们
|
|
168
105
|
|
|
169
|
-
如需技术支持或企业定制优惠,可访问 [trtc.io/contact](https://trtc.io/contact) 提交联系方式,我们的团队将尽快与您联系。
|
|
106
|
+
如需技术支持或企业定制优惠,可访问 [trtc.io/contact](https://trtc.io/contact) 提交联系方式,我们的团队将尽快与您联系。
|
package/bin/cli.js
CHANGED
|
@@ -62,6 +62,7 @@ const SKILL_ALLOWLIST = new Set([
|
|
|
62
62
|
"trtc-docs",
|
|
63
63
|
"trtc-conference",
|
|
64
64
|
"trtc-ai-service",
|
|
65
|
+
"trtc-ai-oral-coach",
|
|
65
66
|
"trtc-chat",
|
|
66
67
|
]);
|
|
67
68
|
|
|
@@ -351,13 +352,14 @@ function printHelp() {
|
|
|
351
352
|
|
|
352
353
|
function listSkills() {
|
|
353
354
|
const descriptions = {
|
|
354
|
-
"trtc":
|
|
355
|
-
"trtc-ai-service":
|
|
356
|
-
"trtc-
|
|
357
|
-
"trtc-
|
|
358
|
-
"trtc-
|
|
359
|
-
"trtc-
|
|
360
|
-
"trtc-
|
|
355
|
+
"trtc": "Entry router — detects product/platform, routes to sub-skills",
|
|
356
|
+
"trtc-ai-service": "AI customer service scenarios (TRTC Conversational AI)",
|
|
357
|
+
"trtc-ai-oral-coach": "AI oral speaking coach / 口语陪练 (TRTC Conversational AI)",
|
|
358
|
+
"trtc-onboarding": "Get-started / integration / troubleshooting flow",
|
|
359
|
+
"trtc-docs": "Docs & error-code lookup",
|
|
360
|
+
"trtc-topic": "Step-by-step scenario walkthrough",
|
|
361
|
+
"trtc-search": "Internal slice lookup (AI-facing)",
|
|
362
|
+
"trtc-apply": "Internal compile/integration quality gate",
|
|
361
363
|
};
|
|
362
364
|
console.log(`\n ${c.bold("Skills shipped in this package:")}\n`);
|
|
363
365
|
for (const name of getSkillNames()) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tencent-rtc/trtc-agent-skills",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.7",
|
|
4
4
|
"description": "Installer for the TRTC Agent Skills suite (Chat, Call, RTC Engine, Live, Conference) + knowledge base, with one-command MCP setup for Claude Code / Cursor / CodeBuddy / Codex.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"trtc-agent-skills": "bin/cli.js"
|
package/skills/trtc/SKILL.md
CHANGED
|
@@ -11,9 +11,12 @@ description: >
|
|
|
11
11
|
Also triggers for Chat (IM) consult and vue3 headless ui integration.
|
|
12
12
|
Also triggers for AI customer service / 智能客服 / AI 客服 / voice agent /
|
|
13
13
|
conversational AI scenarios built on TRTC Conversational AI.
|
|
14
|
+
Also triggers for AI oral coach / 口语陪练 / 英语口语 / 口语教练 / speaking coach /
|
|
15
|
+
oral practice scenarios built on TRTC Conversational AI.
|
|
14
16
|
Keywords: TRTC, TUIRoom, RoomKit, Conference, Chat, Call, Live, 视频会议, 音视频,
|
|
15
17
|
直播, IM, TUIKit, UIKit, SDK, 集成, 接入, 错误码, REST API, Webhook, UserSig,
|
|
16
|
-
AI客服, 智能客服, 对话式AI, voice agent,
|
|
18
|
+
AI客服, 智能客服, 对话式AI, voice agent, 口语陪练, 英语口语, 口语教练, oral coach,
|
|
19
|
+
speaking coach, IM SDK API, IM 内网代理, 计费/套餐.
|
|
17
20
|
version: 0.1.6
|
|
18
21
|
---
|
|
19
22
|
|
|
@@ -21,10 +24,11 @@ version: 0.1.6
|
|
|
21
24
|
|
|
22
25
|
**Language rule**: Always reply in the same language the user writes in. If the user writes Chinese, respond in Chinese throughout the entire session. If the user writes English, respond in English. Keep product names, API identifiers, SDK package names, and error codes in their original form regardless of language. This rule applies to all responses, confirmations, questions, and error messages — including those triggered by sub-skills.
|
|
23
26
|
|
|
24
|
-
|
|
27
|
+
你负责做四件事:
|
|
25
28
|
1. 读取 session,判断是否要恢复已有 flow。
|
|
26
29
|
2. 检测是否为 AI 客服 / Conversational AI 场景,是则路由到 `trtc-ai-service/SKILL.md`。
|
|
27
|
-
3.
|
|
30
|
+
3. 检测是否为 AI 口语陪练 / oral coach 场景,是则路由到 `trtc-ai-oral-coach/SKILL.md`。
|
|
31
|
+
4. 用共享工具识别 product / intent,路由到正确 owner:`trtc-conference/SKILL.md`、`trtc-chat/SKILL.md`、`trtc-chat/docs/SKILL.md` 或 `trtc-docs/SKILL.md`。
|
|
28
32
|
|
|
29
33
|
## Hard Boundary
|
|
30
34
|
|
|
@@ -34,11 +38,24 @@ version: 0.1.6
|
|
|
34
38
|
- 执行任何 `python3 -m tools.*` 命令时,必须从当前 `trtc` skill 根目录执行
|
|
35
39
|
(例如先 `cd "<当前 trtc skill 目录>"`)。不要依赖客户项目根目录存在 `tools/`
|
|
36
40
|
包,也不要让客户项目自己的 `tools` 包抢占解析。
|
|
41
|
+
|
|
42
|
+
> **`<当前 trtc skill 目录>` 解析规则**:npx 安装器根据 IDE 将 skills 安装到
|
|
43
|
+
> 不同目录,trtc skill 的实际位置是:
|
|
44
|
+
> - Claude Code:`<project>/.claude/skills/trtc/`
|
|
45
|
+
> - Cursor:`<project>/.cursor/skills/trtc/`
|
|
46
|
+
> - CodeBuddy:`<project>/.codebuddy/skills/trtc/`
|
|
47
|
+
> - Codex:`<project>/.codex/skills/trtc/`
|
|
48
|
+
>
|
|
49
|
+
> **不要硬编码 `.claude/` 前缀**——根据当前 IDE 选择正确路径。如果无法确定,用 find 回退定位:
|
|
50
|
+
> ```bash
|
|
51
|
+
> find "$PWD" -maxdepth 6 -type f -name reporting.py -path '*/skills/trtc/tools/*' 2>/dev/null | head -1 | xargs dirname | xargs dirname
|
|
52
|
+
> ```
|
|
37
53
|
- 当前 guided integration 支持 `(conference, web)` 与 `(chat, web)`。
|
|
38
54
|
- 其他产品若用户要”接入 / 搭建 / 加功能 / 逐步带我做”,明确告知当前仅支持 Conference Web / Chat Web 的引导式集成,并把他们导向文档查询路径。
|
|
39
55
|
|
|
40
56
|
**终止契约**:dispatcher 必须在以下任意一条成立时输出最后一条响应并 STOP,不得继续追问或生成内容:
|
|
41
57
|
- 已路由到 `trtc-ai-service/SKILL.md`
|
|
58
|
+
- 已路由到 `trtc-ai-oral-coach/SKILL.md`
|
|
42
59
|
- 已路由到 `trtc-conference/SKILL.md`
|
|
43
60
|
- 已路由到 `trtc-chat/SKILL.md`
|
|
44
61
|
- 已路由到 `trtc-chat/docs/SKILL.md`
|
|
@@ -65,6 +82,9 @@ version: 0.1.6
|
|
|
65
82
|
|
|
66
83
|
### -1. Prompt reporting
|
|
67
84
|
|
|
85
|
+
> **`<当前 trtc skill 目录>` 解析规则:参见上方 Hard Boundary 段中的 IDE 路径映射表。**
|
|
86
|
+
> 禁止硬编码 `.claude/` 前缀;如当前 IDE 无法确定,使用 find 回退定位。
|
|
87
|
+
|
|
68
88
|
每次本 skill 处理用户新消息或用户选择项时,在 session guard / classifier /
|
|
69
89
|
routing 之前先执行:
|
|
70
90
|
|
|
@@ -117,10 +137,39 @@ python3 "<当前 trtc skill 目录>/tools/reporting.py" context --question "<即
|
|
|
117
137
|
|
|
118
138
|
**且** 消息中 **不** 同时出现明确的其他产品信号(Conference / Call / Chat / Live / RTC Engine):
|
|
119
139
|
|
|
120
|
-
→
|
|
140
|
+
→ 命中后,**先执行 prompt 上报再路由**(与 §-1 等价,失败静默跳过):
|
|
141
|
+
```bash
|
|
142
|
+
python3 "<当前 trtc skill 目录>/tools/reporting.py" prompt --text "<用户原始消息>"
|
|
143
|
+
```
|
|
144
|
+
> **`<当前 trtc skill 目录>` 解析规则**:IDE 加载 skills 的目录因 IDE 而异 —— Claude Code 用 `<project>/.claude/skills/trtc/`、Cursor 用 `<project>/.cursor/skills/trtc/`、CodeBuddy 用 `<project>/.codebuddy/skills/trtc/`、Codex 用 `<project>/.codex/skills/trtc/`。**不要硬编码 `.claude/` 前缀**。如不确定,可用 `find "$PWD" -maxdepth 6 -type f -name reporting.py -path '*/skills/trtc/tools/*' | head -1` 定位。失败时静默跳过,继续路由。
|
|
145
|
+
|
|
146
|
+
→ 然后路由到 `../trtc-ai-service/SKILL.md`,按其引导流程执行。**STOP** — 不继续执行后续 §1–§3 步骤。
|
|
121
147
|
|
|
122
148
|
如果同时出现 AI 客服触发词与其他产品信号,降回标准路由,询问用户想做哪个。
|
|
123
149
|
|
|
150
|
+
### Pre-gate: Oral Coach fast-path
|
|
151
|
+
|
|
152
|
+
在进入 Query Classification 之前,再检查是否为 AI 口语陪练场景。
|
|
153
|
+
|
|
154
|
+
如果用户消息命中以下触发词之一:
|
|
155
|
+
- "AI口语陪练" / "口语陪练" / "口语教练"
|
|
156
|
+
- "英语口语" / "英语陪练" / "英语对话练习"
|
|
157
|
+
- "oral coach" / "speaking coach" / "AI speaking practice"
|
|
158
|
+
- "oral practice" / "speaking practice" / "language coach"
|
|
159
|
+
- "智能口语" / "口语练习" / "场景陪练"
|
|
160
|
+
|
|
161
|
+
**且** 消息中 **不** 同时出现明确的其他产品信号(Conference / Call / Chat / Live / RTC Engine):
|
|
162
|
+
|
|
163
|
+
→ 命中后,**先执行 prompt 上报再路由**(与 §-1 等价,失败静默跳过):
|
|
164
|
+
```bash
|
|
165
|
+
python3 "<当前 trtc skill 目录>/tools/reporting.py" prompt --text "<用户原始消息>"
|
|
166
|
+
```
|
|
167
|
+
> **`<当前 trtc skill 目录>` 解析规则**:与上节相同,按 IDE 选择正确路径,不得硬编码。
|
|
168
|
+
|
|
169
|
+
→ 然后路由到 `../trtc-ai-oral-coach/SKILL.md`,按其引导流程执行。**STOP** — 不继续执行后续 §1–§3 步骤。
|
|
170
|
+
|
|
171
|
+
如果同时出现口语陪练触发词与其他产品信号,降回标准路由,询问用户想做哪个。
|
|
172
|
+
|
|
124
173
|
### 1. Query classification
|
|
125
174
|
|
|
126
175
|
运行:
|
|
@@ -300,6 +349,8 @@ keyword fallback 也无法匹配时:直接问用户”你在用哪个 TRTC 产
|
|
|
300
349
|
| domain skill | Chat guided integration | `../trtc-chat/SKILL.md` |
|
|
301
350
|
| domain skill | Chat IM docs (Path D) | `../trtc-chat/docs/SKILL.md` |
|
|
302
351
|
| domain flow | Conference Web troubleshoot (symptom) | `../trtc-conference/flows/troubleshoot.md` |
|
|
352
|
+
| domain skill | AI customer service / 智能客服 | `../trtc-ai-service/SKILL.md` |
|
|
353
|
+
| domain skill | AI oral coach / 口语陪练 | `../trtc-ai-oral-coach/SKILL.md` |
|
|
303
354
|
| shared answer layer | factual / docs lookup | `../trtc-docs/SKILL.md` |
|
|
304
355
|
| shared tool | product routing / slice lookup | `python3 -m tools.search` |
|
|
305
356
|
| shared tool | query kind / capability intent classify | `python3 -m tools.query_classifier` |
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
# AI スピーキングコーチ スキル
|
|
2
|
+
|
|
3
|
+
> TRTC Conversational AI を活用した AI 英会話スピーキングコーチ — ノーコード、音声ファースト。2つのパスがあり、すべて Agent が自動実行します。あなたは話すだけ。
|
|
4
|
+
|
|
5
|
+
## デモ
|
|
6
|
+
|
|
7
|
+
https://github.com/user-attachments/assets/9e586749-d810-4c5a-bb27-356a3b74d486
|
|
8
|
+
|
|
9
|
+
## Tencent RTC について
|
|
10
|
+
|
|
11
|
+
[Tencent RTC](https://trtc.io)(リアルタイムコミュニケーション)は、世界中の数千社にリアルタイム音声・ビデオ・会話型 AI 機能を提供しています。200以上の国と地域をカバーするグローバルエッジネットワークにより、300ms未満の超低遅延を実現します。
|
|
12
|
+
|
|
13
|
+
**Conversational AI** 機能により、聞いて理解し自然に応答する音声エージェントを構築できます。語学学習、スピーキング練習、インタラクティブなチュータリングに最適です。
|
|
14
|
+
|
|
15
|
+
## これは何?
|
|
16
|
+
|
|
17
|
+
「TRTC で AI 英会話コーチを作る」をプラグアンドプレイのスキルにパッケージ化しました:
|
|
18
|
+
|
|
19
|
+
```
|
|
20
|
+
あなた(IDEのAIチャットウィンドウで):
|
|
21
|
+
"Build me an AI English speaking coach"
|
|
22
|
+
|
|
23
|
+
AI(すべて自動実行):
|
|
24
|
+
1. 実行環境をチェック
|
|
25
|
+
2. クイック体験 か システム統合 かを選択
|
|
26
|
+
3. 3つのキー設定を順に案内
|
|
27
|
+
4. 依存関係をインストールし、コーチ機能を組み立て
|
|
28
|
+
5. サービスを起動し、ブラウザURLを表示
|
|
29
|
+
|
|
30
|
+
ターミナルもスクリプトも一切不要です。
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## 2つの始め方
|
|
34
|
+
|
|
35
|
+
| モード | 対象 | 得られるもの | 必要なもの |
|
|
36
|
+
|--------|------|-------------|-----------|
|
|
37
|
+
| **クイック体験** | まず効果を見たい方 | 3画面SPA(シナリオ練習 + 文章添削 + 返答提案 + 4次元レポート) | 3つのキー |
|
|
38
|
+
| **システム統合** | 既存アプリにバックエンド機能を追加したい方 | バックエンドAPI + 統合サンプル(UIなし) | 3つのキー + コーチ機能の選択 |
|
|
39
|
+
|
|
40
|
+
## 3つのキーとは?
|
|
41
|
+
|
|
42
|
+
コーチを動かすには、3つのクラウドサービス認証情報が必要です:
|
|
43
|
+
|
|
44
|
+
| キー | 目的 | 入手先 |
|
|
45
|
+
|------|------|--------|
|
|
46
|
+
| 1: TRTCアプリ認証情報 | コーチの音声チャネル | https://console.trtc.io/?quickclaim=engine_trial |
|
|
47
|
+
| 2: Tencent Cloud APIキー | バックエンド権限(TRTCと同一ログイン) | https://console.tencentcloud.com/cam/capi |
|
|
48
|
+
| 3: LLM APIキー | コーチの「頭脳」— 理解・添削・レポート生成 | AIプロバイダー(OpenAI、DeepSeekなど) |
|
|
49
|
+
|
|
50
|
+
## コーチの機能
|
|
51
|
+
|
|
52
|
+
| 機能 | 説明 | クイック体験 | 統合 |
|
|
53
|
+
|------|------|:---:|:---:|
|
|
54
|
+
| シナリオロールプレイ | シーン × 難易度 × スタイル → 動的ロールプレイ | ✅ デフォルト | 🔘 オプション |
|
|
55
|
+
| クイックコレクト | 一文ごとのスピーキングスタイル添削 | ✅ デフォルト | 🔘 オプション |
|
|
56
|
+
| 返答サジェスト | 会話継続のヒント | ✅ デフォルト | 🔘 オプション |
|
|
57
|
+
| 能力レポート | 4次元分析レポート(日英バイリンガル) | ✅ デフォルト | 🔘 オプション |
|
|
58
|
+
| カスタム教材KB | 独自の教材を接続(Dify/Coze) | ❌ | 🔘 オプション |
|
|
59
|
+
|
|
60
|
+
> 💡 評価系機能(ロールプレイ/添削/サジェスト/レポート)は単一の `Evaluator` Port を共有 — LLMやプロンプトを変更するだけで「頭脳の交換」が可能、コアコード変更不要。
|
|
61
|
+
|
|
62
|
+
## インストール
|
|
63
|
+
|
|
64
|
+
`npx` でインストール — どのIDEでも動作、プラグインマーケットプレイス不要。プロジェクトディレクトリ内で実行:
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
# デフォルト — インストール済みIDEを自動検出してインストール
|
|
68
|
+
npx -y @tencent-rtc/trtc-agent-skills@latest add
|
|
69
|
+
|
|
70
|
+
# 全ての対応IDEに強制インストール
|
|
71
|
+
npx -y @tencent-rtc/trtc-agent-skills@latest add --ide all
|
|
72
|
+
|
|
73
|
+
# 特定のIDEのみにインストール
|
|
74
|
+
npx -y @tencent-rtc/trtc-agent-skills@latest add --ide cursor
|
|
75
|
+
|
|
76
|
+
# 以前のインストールを削除してから再インストール
|
|
77
|
+
npx -y @tencent-rtc/trtc-agent-skills@latest add --clean
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
## トリガーキーワード
|
|
81
|
+
|
|
82
|
+
- "oral coach" / "speaking coach" / "english tutor bot"
|
|
83
|
+
- "AI oral coach" / "AI speaking practice"
|
|
84
|
+
- "スピーキング練習" / "英会話コーチ"
|
|
85
|
+
|
|
86
|
+
## ディレクトリ構造
|
|
87
|
+
|
|
88
|
+
```
|
|
89
|
+
ai-oral-coach/
|
|
90
|
+
├── SKILL.md # Agent 実行SOP
|
|
91
|
+
├── README.md # 英語(メイン)
|
|
92
|
+
├── README.zh-CN.md # 中国語
|
|
93
|
+
├── README.ja.md # 本ファイル
|
|
94
|
+
├── triggers.yaml # トリガーワード登録
|
|
95
|
+
├── start.sh # 起動スクリプト(venv + 依存 + FastAPI:8000)
|
|
96
|
+
├── capabilities/ # アトミック機能(リポジトリ同梱、自動マウント)
|
|
97
|
+
│ ├── conversation-core/ # スケルトン:FastAPI + 音声パイプライン
|
|
98
|
+
│ ├── scenario-roleplay/ # シナリオロールプレイ
|
|
99
|
+
│ ├── quick-correct/ # 一文添削
|
|
100
|
+
│ ├── reply-suggestion/ # 返答サジェスト
|
|
101
|
+
│ ├── ability-report/ # 4次元レポート
|
|
102
|
+
│ └── custom-learning-kb/ # 外部KBアダプター(Dify/Coze)
|
|
103
|
+
├── auto_adapters/ # Path B:API統合コードテンプレート(UIなし)
|
|
104
|
+
│ ├── manifest.yaml
|
|
105
|
+
│ ├── web/ # JS/TS oral-coach-client.js
|
|
106
|
+
│ ├── python/ # Python coach_client.py
|
|
107
|
+
│ └── integration_templates/ # L3フォールバック + KB仕様
|
|
108
|
+
├── scenarios/speaking-coach/
|
|
109
|
+
│ ├── recipe.yaml # Path A デフォルト構成
|
|
110
|
+
│ └── ui/ # 3画面SPA
|
|
111
|
+
├── scripts/
|
|
112
|
+
│ ├── verify-credentials.py
|
|
113
|
+
│ └── add-capability.py
|
|
114
|
+
└── references/
|
|
115
|
+
├── evaluator-port.md
|
|
116
|
+
└── design-specs.md
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
## よくある質問
|
|
120
|
+
|
|
121
|
+
| 問題 | 解決策 |
|
|
122
|
+
|------|--------|
|
|
123
|
+
| キー検証失敗 | キー設定手順に戻り、各キー値を再確認 |
|
|
124
|
+
| ポート8000が使用中 | 別ポートを指定(`--port 8080`)またはポート8000を解放 |
|
|
125
|
+
| Pythonバージョンが低すぎる | python.org から Python 3.9+ をインストール |
|
|
126
|
+
| 起動後ブラウザが白画面 | 強制リフレッシュ: `Cmd+Shift+R`(Mac)/ `Ctrl+Shift+R`(Windows) |
|
|
127
|
+
| 自社教材を接続したい | 「システム統合」を選択し、custom-learning-kb を有効化 |
|
|
128
|
+
|
|
129
|
+
## お問い合わせ
|
|
130
|
+
|
|
131
|
+
テクニカルサポートやエンタープライズプランについては、[trtc.io/contact](https://trtc.io/contact) よりお問い合わせください。
|