Taxi skill
Skill TencentCloudBase/awesome-miniprogram-skills/skills/taxi-skill
出行打车:行程预估、叫车、行程状态、历史记录From its SKILL.md
npx -y skills add TencentCloudBase/awesome-miniprogram-skills --skill taxi-skillAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
1.6 KB, 523 tokens by cl100k_base, as published. Nobody here has run it
出行打车
基于常用目的地完成行程预估、呼叫出租车、查看行程状态与历史行程的能力集合。
触发场景
用户原话举例(路由命中本技能):
- "帮我叫个快车去首都机场"
- "从望京SOHO到北京南站多少钱"
- "我要打车去三里屯"
- "我的车到哪了"
- "帮我查一下现在的行程"
- "看看我之前的打车记录"
- "从这到机场打车要多久"
不适用范围
- 订机票、火车票 → 不在本技能范围,由票务技能处理
- 预约顺风车、代驾、租车等 → 不在本技能范围
- 查看公交地铁路线 → 不在本技能范围
- 外卖、跑腿、快递等物流服务 → 不在本技能范围
接口链路
estimateTrip:根据出发地和目的地预估各车型价格与时长。callTaxi:确认费用后发起叫车,返回叫车状态。getTripStatus:查询当前进行中行程的状态与司机信息。getTripHistory:查看历史行程记录。
使用顺序
- 叫车前需先确定出发地和目的地;没有明确地址时,展示常用目的地列表引导用户选择。
- 发起叫车前应先完成价格预估,让用户了解各车型费用后再确认。
- 查看行程状态时,优先返回当前活跃行程;用户明确要求查看历史记录时再调 getTripHistory。
- 所有已绑定组件的接口都应优先展示卡片,不要改成纯文本逐条展开。
What ships with it: 29 files
70.3 KB alongside SKILL.md, 12 of them executable
apis/
- callTaxi.jsruns2.3 KB
- estimateTrip.jsruns2.8 KB
- getTripHistory.jsruns1.5 KB
- getTripStatus.jsruns2.8 KB
cloudfunctions/
- taxi-skill-handler/index.jsruns4.3 KB
- taxi-skill-handler/package.json175 B
components/
- calling-taxi-card/index.jsruns4.1 KB
- calling-taxi-card/index.json49 B
- calling-taxi-card/index.wxml1.6 KB
- calling-taxi-card/index.wxss3.8 KB
- trip-estimate-card/index.jsruns4.2 KB
- trip-estimate-card/index.json49 B
- trip-estimate-card/index.wxml1.6 KB
- trip-estimate-card/index.wxss6.0 KB
- trip-history-card/index.jsruns3.1 KB
- trip-history-card/index.json49 B
- trip-history-card/index.wxml1.2 KB
- trip-history-card/index.wxss2.4 KB
- trip-status-card/index.jsruns1.8 KB
- trip-status-card/index.json49 B
- trip-status-card/index.wxml1.5 KB
- trip-status-card/index.wxss5.2 KB
data/
- seed.jsruns2.8 KB
utils/
- util.jsruns1.8 KB
- cloudbaserc.json650 B
- index.jsruns1.0 KB
- mcp.json11.4 KB
- mp-skills.json154 B
- README.md2.2 KB