Skip to content

Skill development guide

Who this is for

Developers creating or maintaining Skill Markdown.

Step 1. Create

App management → Skills → New skill

FieldWhat to enter
Skill nameReadable to the business, e.g. "Refund reason analysis"
skillCodeEnglish snake_case, e.g. refund_reason_analysis
DescriptionA one-sentence trigger condition

Step 2. Markdown template

markdown
# 退款归因分析

## 何时使用
用户需要分析退款原因分布时。

## 输入
- time_range: 如 last_7_days
- top_n: 默认 10

## 步骤
1. 使用 datasetCode=order 查询退款订单
2. 按 reason 字段聚合
3. 输出 Markdown 表格

## 禁止
- 不要直接 UPDATE 订单状态

Step 3. Test

In a conversation: 使用 skillCode=refund_reason_analysis,time_range=本月

Step 4. Publish

Saving makes the Skill visible to every user who has permission on the app; notify business stakeholders before large-scale changes.

基于飞书知识库同步生成,内容以飞书源文档为准