Skip to content

Integrate with Skills

Use a coding agent that supports Agent Skills to accelerate TiRTC requirement analysis, project review, integration, and troubleshooting. With Tange Skills configured, the agent can use the current official documentation, actual SDK packages, and your existing project to select an appropriate implementation and validation workflow.

A Skill is not an SDK and does not run as a separate program. The agent still reads, modifies, and verifies code in your project under your development tool's permission controls.

Install Tange Skills

Before you begin, prepare Node.js 22.20.0 or later, Python 3.10 or later, and curl. Also make sure:

  • Your development tool supports Agent Skills; the example below uses Codex.
  • Your network can access the official TiRTC documentation, SDKs, and example downloads.

Configure the Skill with the Skills CLI:

bash
npx --yes skills@latest add \
  https://github.com/tangeai/skills.git \
  --skill tirtc \
  -g -a codex -y

-g installs the Skill for the current system user; remove it to install only in the current project. -a codex selects Codex; replace it with another agent supported by the Skills CLI when needed.

When the command finishes, start a new task or refresh the Skill list.

Repository

See the repository README for the latest usage and update instructions.

Best Practices

After configuration, ask the coding agent to integrate TiRTC, review an existing implementation, or troubleshoot an issue. To obtain actionable and verifiable results:

  • Specify TiRTC, the target platform, programming language, and required feature.
  • Provide the project location, current capabilities, target flow, allowed changes, test conditions, and completion criteria.
  • For troubleshooting, include the observed behavior, reproduction steps, error codes, logs, and call stacks.
  • Do not put AccessKeyId, SecretKeyId, device_secret_key, or tokens in the prompt. Ask the agent how to provide credentials through secure configuration.
  • Ask the agent to run existing builds and tests and separate verified results from pending real-device checks. A successful build does not prove that the real path works; token retrieval, device connection, and the target media or messaging path must be verified separately.

For manual integration steps, continue with SDK Integration and Initialization, Connection, and Real-Time Audio and Video.

Prompt Example

Send the following prompt to the coding agent:

text
Use $tirtc to add TiRTC real-time audio and video to the device details page
in the current Flutter project. First check the current official documentation,
applicable SDK, and existing project. Follow the current architecture to implement
token retrieval, device connection, and audio/video playback. Run the existing
build and tests, then list verified results and remaining real-device tests.

TiRTC