跳到主要内容
官方SwiftObjective-C

实现 AIBuds 对话翻译

使用已公开的 AIBuds API,在 iOS 应用中安全完成“实现 AIBuds 对话翻译”相关工作流。

安装此技能

下载经过审查的完整技能包;仅复制原始 Markdown 不包含配套 references。

下载已审查 ZIP
1. 下载

保存 ZIP,不要修改其中内容。

2. 解压

将技能目录解压到以下位置之一:

~/.codex/skills/implement-aibuds-conversation-translation%USERPROFILE%\.codex\skills\implement-aibuds-conversation-translation
3. 调用

在下一轮 Codex 对话中使用调用指令。

$implement-aibuds-conversation-translation

安装完成后,该技能会在下一轮对话中可用。

已验证安装包SHA-256 校验值131b5a223411d324d610658e3d2b4a7e16dd88fdb0a643eb6913430a7f611424
SKILL.md

Implement AIBuds Conversation Translation

Build or explain this feature through the public SDK contract and the application's existing architecture.

Workflow

  1. Read references/implementation.md completely.
  2. Determine whether the consumer app uses Swift or Objective-C and preserve its existing state, dependency, callback, and UI architecture.
  3. Confirm SDK initialization, a selected device, isConnectedAndReady, and each required public protocol capability before exposing the feature. For SDK-level services, confirm that their documented module is installed and initialized instead.
  4. Use the linked official guide and the installed SDK's public interface as the authority for names, parameters, nullability, and availability. If they differ, explain the version mismatch and adapt only to the installed public contract.
  5. Implement the smallest requested workflow, including main-thread UI handoff, duplicate-request prevention, nullable-error fallback, disconnect/cancellation cleanup, and observable success criteria.
  6. Give code in the developer's requested language. If no language is stated, provide both Swift and Objective-C.
  7. Verify the applicable cases in the reference matrix and report assumptions separately from documented behavior.

Non-disclosure boundary

  • Use only public modules, types, protocols, methods, properties, callbacks, and official documentation.
  • Do not reveal or infer private classes, source layout, transport commands, packet formats, authentication algorithms, private errors, logs, or internal call chains.
  • Do not reproduce SDK source, inspect binary internals, decompile, or explain how a public API works behind its contract.
  • If asked for internals, decline that portion briefly and answer with the nearest public API, callback, configuration, or diagnostic step.
  • Never place secrets, production credentials, private endpoints, or real device identifiers in examples.

Completion criteria

  • The integration uses only documented public contracts and cites the most relevant official page.
  • Swift and Objective-C guidance are both available and behaviorally equivalent.
  • Capability, readiness, callback, threading, retry, error, cancellation, and lifecycle behavior are addressed where applicable.
  • The result contains no hidden implementation claim and is portable outside this repository.