先看看示例
作者提供的示例,实际效果取决于你的输入和使用工具。
输入
为一次线上故障创建复盘文档,安排次日下午两点的评审会,并在工程空间发送复盘已安排的通知。
输出
预期交付:含摘要、时间线、根因、行动项的 Docs 文档;日历会议;Chat 通知消息。(编辑说明,非实际运行结果)
方法说明
---
name: recipe-post-mortem-setup
description: "Create a Google Docs post-mortem, schedule a Google Calendar review, and notify via Chat."
metadata:
version: 0.22.5
openclaw:
category: "recipe"
domain: "engineering"
requires:
bins:
- gws
skills:
- gws-docs
- gws-calendar
- gws-chat
---
# Set Up Post-Mortem
> **PREREQUISITE:** Load the following skills to execute this recipe: `gws-docs`, `gws-calendar`, `gws-chat`
Create a Google Docs post-mortem, schedule a Google Calendar review, and notify via Chat.
## Steps
1. Create post-mortem doc: `gws docs +write --title 'Post-Mortem: [Incident]' --body '## Summary\n\n## Timeline\n\n## Root Cause\n\n## Action Items'`
2. Schedule review meeting: `gws calendar +insert --summary 'Post-Mortem Review: [Incident]' --attendee team@company.com --start '2026-03-16T14:00:00' --end '2026-03-16T15:00:00'`
3. Notify in Chat: `gws chat +send --space spaces/ENG_SPACE --text '🔍 Post-mortem scheduled for [Incident].'`