Toolverse
All skills

ai-model-wechat

by TencentCloudBase

Use this skill when developing WeChat Mini Programs (小程序, 企业微信小程序, wx.cloud-based apps) that need AI capabilities. Features text generation (generateText) and streaming (streamText) with callback support (onText, onEvent, onFinish) via wx.cloud.extend.AI. Built-in models include

Installation

Pick a client and clone the repository into its skills directory.

Installation

About this skill

Use this skill when developing WeChat Mini Programs (小程序, 企业微信小程序, wx.cloud-based apps) that need AI capabilities. Features text generation (generateText) and streaming (streamText) with callback support (onText, onEvent, onFinish) via wx.cloud.extend.AI. Built-in models include Hunyuan (hunyuan-2.0-instruct-20251111 recommended) and DeepSeek (deepseek-v3.2 recommended). API differs from JS/Node SDK - streamText requires data wrapper, generateText returns raw response. NOT for browser/Web apps (use ai-model-web), Node.js backend (use ai-model-nodejs), or image generation (not supported).

How to use

  1. Zainstaluj skill ai-model-wechat w swoim projekcie CloudBase. Upewnij się, że pracujesz w środowisku WeChat Mini Program (小程序, 企业微信小程序 lub wx.cloud-based app).

  2. Zaimportuj wx.cloud.extend.AI w swoim kodzie Mini Program. Skill dostarcza dwie główne metody: generateText do jednorazowego generowania tekstu oraz streamText do przesyłania odpowiedzi w czasie rzeczywistym.

  3. Dla generowania tekstu użyj metody generateText, która zwraca surową odpowiedź. Nie wymaga wrappera danych i jest idealna do szybkich zapytań bez potrzeby obsługi progresywnego streamowania.

  4. Dla streamowania tekstu użyj streamText z wrapperem danych. Zarejestruj callbacki: onText do obsługi przychodzących fragmentów tekstu, onEvent do obsługi zdarzeń systemowych oraz onFinish do wykonania akcji po zakończeniu streamowania.

  5. Wybierz model z dostępnych opcji — Hunyuan (zalecana wersja hunyuan-2.0-instruct-20251111) lub DeepSeek (zalecana wersja deepseek-v3.2). Oba modele są zoptymalizowane dla środowiska WeChat.

  6. Pamiętaj, że skill nie obsługuje generowania obrazów ani nie jest przeznaczony do aplikacji webowych (użyj ai-model-web) lub backendów Node.js (użyj ai-model-nodejs).

Related skills

quant-analyst

by zenobi-us

Expert quantitative analyst specializing in financial modeling, algorithmic trading, and risk analytics. Masters statistical methods, derivatives pricing, and high-frequency trading with focus on mathematical rigor, performance optimization, and profitable strategy development.

Data Science
67217

market-research-reports

by davila7

Generate comprehensive market research reports (50+ pages) in the style of top consulting firms (McKinsey, BCG, Gartner). Features professional LaTeX formatting, extensive visual generation with scientific-schematics and generate-image, deep integration with research-lookup for

Data Science
16115

excalidraw

by ryanquinn3

\

Data Science
124204

deepwiki-rs

by sopaco

AI-powered Rust documentation generation engine for comprehensive codebase analysis, C4 architecture diagrams, and automated technical documentation. Use when Claude needs to analyze source code, understand software architecture, generate technical specs, or create professional

Data Science
18144

pdf

by anthropics

Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and handling forms. When Claude needs to fill in a PDF form or programmatically process, generate, or analyze PDF documents at scale.

Data Science
31144

prompt-optimizer

by solatis

Optimize system prompts for Claude Code agents using proven prompt engineering patterns. Use when users request prompt improvement, optimization, or refinement for agent workflows, tool instructions, or system behaviors.

Data Science
15109