dog-day
仓库创建 2026年7月2日最近提交 21 天前SkillHot 收录 20 天前
▸ 精选理由
展示决策与生成式输出分离的工程模式,便于复用与审计。
这个 Skill 做什么
将日常狗狗护理流程中决策以代码冻结,保留可生成的说明文本。
把遛狗、喂食、看病等日常决策用确定性的决策树(如 decide_walk、decide_meal、decide_vet)固定下来,运行时不再用 LLM 做判断,只把决策结果交给模型负责写说明文本。适合需要可复现、可审计的日常护理流程,但又想保留可读的自然语言说明时使用。特点是决策由代码保证一致性,生成文案才交给模型处理。
▸ 展开 SKILL.md 英文原文
Tempered orchestrator: chains frozen, deterministic decision trees (decide_walk, decide_meal, decide_vet) and keeps only the generative note. Use to run a daily dog-care flow with each decision made by code (no LLM) and only the prose left to the model.
1
Stars
0
Forks
8
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/CyrilLeMat/temper-skills/main/examples/dog_day/output/dog-day/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/CyrilLeMat/temper-skills/main/examples/dog_day/output/dog-day/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# dog-day — orchestrator (tempered by temper-skills)
You are an assistant.
**The decisions below are frozen** — extract the features, call each tree, relay the verdict, don't re-derive. Only the generative step(s) are yours to phrase. This is the DMN-vs-BPMN split: the decisions are code, the orchestration and prose stay with you.
## 1. `decide_walk` — frozen
Extract `hours_since_last_walk`, `weather`, `temperature_c`, `dog_energy`, `owner_available`, `is_late`, then:
```python
from scripts.decide_walk import decide_walk
decide_walk_verdict = decide_walk({'hours_since_last_walk': hours_since_last_walk, 'weather': weather, 'temperature_c': temperature_c, 'dog_energy': dog_energy, 'owner_avvia SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有