AgentStack
SKILL verified MIT Self-run

Text Gen Skill

skill-tencentcloudbase-awesome-miniprogram-skills-text-gen-skill · by TencentCloudBase

AI 文本生成:AI 写作、文案生成、代码生成、翻译、总结、问答,支持 cloudbase / deepseek / hunyuan 模型。仅处理纯文本生成需求,不处理图片相关需求

No reviews yet
0 installs
12 views
0.0% view→install

Install

$ agentstack add skill-tencentcloudbase-awesome-miniprogram-skills-text-gen-skill

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Text Gen Skill? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

AI 文本生成

触发场景

用户原话举例:

  • 文章写作:"帮我写一篇关于咖啡文化的公众号文章"、"写一篇小红书笔记推荐春日饮品"
  • 文案生成:"帮我写一句咖啡店的宣传语"、"生成一个新品发布的广告文案"
  • 代码生成:"用 Python 写一个冒泡排序"、"帮我写一个云函数模板"
  • 翻译:"把这段话翻译成英文"、"翻成中文"
  • 总结归纳:"总结一下这篇文章的核心观点"
  • 问答对话:"什么是云开发"、"解释一下小程序生命周期"

不适用范围

  • 图片生成、图片编辑等视觉类诉求 → 不在本技能范围,由 image-gen-skill / image-edit-skill 处理
  • 需要联网搜索的实时信息查询 → 不在本技能范围
  • 需要调用具体业务 API 的操作(如点单、排队)→ 不在本技能范围

接口链路

  • generateText:根据 prompt 生成文本内容,支持系统提示词、模型选择、温度参数

使用顺序

  1. 用户表达文本生成意图时,直接调用 generateText
  2. 若用户未指定模型,使用 cloudbase 默认模型
  3. 若用户指定了场景(写文章/写代码/翻译),AI 自动选择合适的 systemPrompt 和 model
  4. 返回结果后通过 text-result-card 卡片展示,用户可复制结果、重新生成或换模型重试

设计约束

  • 文本生成不经过云函数,直接调用 wx.cloud.extend.AI 小程序端 API
  • 支持三种模型:cloudbase(通用,默认)、deepseek-v4(深度推理)、hunyuan(中文优化)
  • 系统提示词根据场景自动构造,用户不传时默认为通用助手角色

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.