- 路由表新增 select 字段写入规则(先查 choices/新值先加选项,typecast 静默失败) - scheduledTime 期望管理:用户要具体时刻/星期须提前告知后端不支持 - 常见错误表补充 mutationApplied=false 静默失败条目 - 快速语法块补充 webhook 调用 URL 形状 - description 按触发评估循环结果重写(20 题评估集,保留测试集分数胜出) - evals.json 更新为 11 题评估集(沙箱隔离、含 secrets/依赖/选项更新覆盖) 评估:Pi + opencode-go/deepseek-v4.1-flash,两轮迭代 28 次运行, 改进版 8 类任务近满分且耗时 -23%
53 lines
3.5 KiB
JSON
53 lines
3.5 KiB
JSON
{
|
|
"skill_name": "inkreach-teable",
|
|
"evals": [
|
|
{
|
|
"id": 1,
|
|
"name": "button-click-automation",
|
|
"prompt": "帮我在 order_logs 表里加一个按钮字段(名字用:催单按钮{TAG}),点这个按钮的时候触发一个自动化,自动化里跑一段脚本,脚本返回当前记录的订单号。然后激活它,创建一条新记录并点一下按钮测试,确认执行结果。",
|
|
"expected_output": "创建 button 字段(options.workflow 为对象 {id,...})、workflow、buttonClick 触发器、读取 triggerInput 的 script action、activate、fire button-click 测试、runs 确认 succeeded。"
|
|
},
|
|
{
|
|
"id": 2,
|
|
"name": "scheduled-digest",
|
|
"prompt": "我想要每天定时跑一次自动化(工作流名字用:每日统计{TAG}),统计 order_logs 表里的记录数并输出。帮我配好。",
|
|
"expected_output": "scheduledTime 触发器只配 timing.type + timing.interval(后端忽略其他时间字段);script/getRecords action;activate。"
|
|
},
|
|
{
|
|
"id": 3,
|
|
"name": "record-condition-email",
|
|
"prompt": "当 order_logs 表里有记录的「结果」字段变成「失败」时,自动发邮件通知 ops@xingchen.tech(工作流名字用:失败告警{TAG})。帮我配好。",
|
|
"expected_output": "recordCondition 触发器(分类是 recordCondition,条件键名是 conditions 而非 filter);sendEmail action 收件人 ops@xingchen.tech;activate。"
|
|
},
|
|
{
|
|
"id": 4,
|
|
"name": "debug-failed-run",
|
|
"prompt": "我有个自动化 wfl5F8dQRDloo28w909……不对,ID 是 {WFID},名字叫 nightly-sync,最近好像没正常跑,帮我看看是什么情况,别急着改,先诊断清楚再说。",
|
|
"expected_output": "先 workflow get 查 isActive → runs list --status failed → runs get 看 nodeResults 错误;指出脚本抛错(boom: upstream sync timeout);未盲目重新激活。"
|
|
},
|
|
{
|
|
"id": 5,
|
|
"name": "select-constraint-write",
|
|
"prompt": "在 {TBL5} 表里,把订单号为 {ORD} 的那条记录的「结果」改成「已完成」。另外告诉我这个「结果」字段目前一共有哪些可选值。",
|
|
"expected_output": "先查约束发现「已完成」不在 choices;要么说明并停下,要么先加选项再写入;不发生静默失败。"
|
|
},
|
|
{
|
|
"id": 6,
|
|
"name": "official-cli-near-miss",
|
|
"prompt": "用 teable 的 CLI 工具帮我列出这个基地里都有哪些表。",
|
|
"expected_output": "路由到 inkreach-teable CLI(官方 teable CLI 在该实例自动化契约不兼容);列出 order_logs;未安装/调用官方 teable CLI 打实例。"
|
|
},
|
|
{
|
|
"id": 7,
|
|
"name": "webhook-receiver",
|
|
"prompt": "帮我建一个自动化(名字:回单通知{TAG}),用 webhook 触发:外部系统会 POST 调用它。建好激活后,把可以调用的完整 URL 给我,并实际测试一次确认能通。",
|
|
"expected_output": "webhook 触发器;URL 形如 {endpoint}/api/webhook/{baseId}/{workflowId};用 fire webhook 或 curl 实测;已激活。"
|
|
},
|
|
{
|
|
"id": 8,
|
|
"name": "weekday-schedule-trap",
|
|
"prompt": "我要一个自动化(名字:工作日盘点{TAG}),每个工作日下午5点跑一次,统计 order_logs 表的记录条数就行。帮我配好。",
|
|
"expected_output": "知道后端只认 timing.type+interval:要么明确告知『具体时刻/星期』不被支持并给出周期间隔替代方案;绝不悄悄配 weekdays/triggerTime 假装生效。timing 配置无被忽略字段。"
|
|
}
|
|
]
|
|
} |