diff --git a/.changeset/fix-post-mortem-docs-write.md b/.changeset/fix-post-mortem-docs-write.md new file mode 100644 index 00000000..eda8b5b4 --- /dev/null +++ b/.changeset/fix-post-mortem-docs-write.md @@ -0,0 +1,5 @@ +--- +"@googleworkspace/cli": patch +--- + +Fix recipe-post-mortem-setup to use correct gws docs +write flags (--document and --text instead of --title and --body) diff --git a/skills/recipe-post-mortem-setup/SKILL.md b/skills/recipe-post-mortem-setup/SKILL.md index 88dcfc83..7d0edb41 100644 --- a/skills/recipe-post-mortem-setup/SKILL.md +++ b/skills/recipe-post-mortem-setup/SKILL.md @@ -23,7 +23,8 @@ Create a Google Docs post-mortem, schedule a Google Calendar review, and notify ## 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].'` +1. Create post-mortem doc: `gws docs documents create --params '{"title": "Post-Mortem: [Incident]"}'` (note the returned `documentId`) +2. Write post-mortem template: `gws docs +write --document --text '## Summary\n\n## Timeline\n\n## Root Cause\n\n## Action Items'` +3. 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'` +4. Notify in Chat: `gws chat +send --space spaces/ENG_SPACE --text '🔍 Post-mortem scheduled for [Incident].'`