Skip to content

Integrate with Skills

Use a coding agent that supports Agent Skills to accelerate requirement analysis, integration, and cross-platform troubleshooting for WeChat VoIP calling. With Tange Skills configured, the agent can use the current official documentation and your existing projects to select an appropriate implementation and validation workflow.

$wxvoip coordinates the Mini Program, application server, device signaling, and call flow, and uses $tirtc when connection or media work is required. A Skill is not an SDK or WeChat plugin and does not run as a separate program.

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 WeChat VoIP calling and TiRTC documentation, SDKs, and example downloads.

Configure the Skills with the Skills CLI:

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

-g installs the Skills 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 implement WeChat VoIP calling or troubleshoot a cross-platform issue. To obtain actionable and verifiable results:

  • Specify WeChat VoIP calling, the involved endpoints, call direction, and target behavior. Name only the primary Skill, $wxvoip; it coordinates $tirtc when needed.
  • Provide each project location, current implementation, target call flow, allowed changes, real-device conditions, and completion criteria.
  • For troubleshooting, include the observed behavior, reproduction steps, error codes, and logs from the Mini Program, application server, and device.
  • Do not put AccessKeyId, SecretKeyId, device secrets, SN Tickets, 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 verify call state on both endpoints, two-way media, cleanup after hangup, and a subsequent call. Clearly mark checks that require a real device, Mini Program environment, or valid credentials as pending.

For manual steps, continue with Call flows, Business server integration, Device integration, and Mini Program integration.

Prompt Example

Send the following prompt to the coding agent:

text
Use $wxvoip to implement audio/video calling between the WeChat Mini Program
and device in the existing projects. First check the current official documentation
and each project's current implementation. Follow the current architecture to
complete the Mini Program, application server, device signaling, and two-way media.
Run existing builds and tests, then verify connect, hangup, and a subsequent call
on real devices. Clearly mark any steps that cannot be verified.

WeChat VoIP calling