关于 recommend_poi
用于动态结构化输出演示的技能,根据兴趣点相关的 JSON Schema 输出结果。
主要功能
- 01按 JSON Schema 输出兴趣点数据
适用场景
- 01在动态结构化输出演示中生成兴趣点结果
安装
复制下面的命令,在终端中运行。
$
npx skills add https:/ / github.com/ trpc-group/ trpc-agent-go --skill recommend_poi安装后在 Claude Code 中输入/recommend_poi确认已加载。
附带文件result.json
详细介绍
recommend_poi
此技能用于动态结构化输出演示。
输出 JSON Schema
{
"type": "object",
"properties": {
"poi": {
"type": "string",
"description": "Point of interest"
},
"city": {
"type": "string",
"description": "City name"
},
"score": {
"type": "integer",
"description": "A deterministic score"
}
},
"required": [
"poi",
"city",
"score"
],
"additionalProperties": false
}
命令
将 JSON 结果打印到标准输出:
cat result.json
评论
支持 Markdown