跳到正文
FunCoding

tip-split

Splits a restaurant bill, with tip, between several people. Use when the user asks how much each person pays.

Star
670
许可证
MIT
最近提交
2026年12月1日

codelabs/on-device-agent-flutter-gemma/complete/assets/skills/tip-split/SKILL.md

在 GitHub 上查看

Tip split

Examples

  • "Split 84 dollars between 3 of us with a 15% tip"
  • "We are four, the bill is 120 euros, 10 percent tip — how much each?"

Instructions

Never do the arithmetic yourself. Call the run_js tool with:

  • skillName: tip-split
  • data: a JSON string with these fields
    • total: the bill before tip, as a number
    • people: how many people share it, as a whole number
    • tip_percent: the tip in percent, as a number; 0 if the user gave none
    • no other fields

Then tell the user what each person pays, using the numbers the tool returned.

相似的 Skill

精选

internal-comms

写内部沟通文档,遵循公司格式,包括状态报告、领导更新和公司通讯。

ANanthropics/skills203k近 7 天新增 3,333 个 star

canary

GAgarrytan/gstack143k近 7 天新增 636 个 star

observability-and-instrumentation

ADaddyosmani/agent-skills122k近 7 天新增 1,627 个 star

精选

shipping-and-launch

上线前逐项检查,规划监控、分阶段发布和回滚方案。

ADaddyosmani/agent-skills122k近 7 天新增 1,627 个 star

paperclip-board

PApaperclipai/paperclip119k近 7 天新增 2,120 个 star

ruview-configure

RUruvnet/RuView106k近 7 天新增 693 个 star