Atomic node skill to update the subject of an existing Gmail draft.
Atomic node skill to update the subject of an existing Gmail draft.
Lean Philosophy (Principles) - Kaizen (改善): This skill is an atomic node, strictly limited to updating the subject of a draft, preventing complex multi-field string constructions. - Standardized Work (Hyojun Sagyo): This node represents the most efficient, standardized path for this specific task before automation. - Jidoka (自働化): This node includes autonomous defect detection.
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
---
name: Gmail Draft Update Subject
description: Atomic node skill to update the subject of an existing Gmail draft.
os: all
requires:
bins:
- gog
---
## Lean Philosophy (Principles)
- **Kaizen (改善):** This skill is an atomic node, strictly limited to updating the subject of a draft, preventing complex multi-field string constructions.
- **Standardized Work (Hyojun Sagyo):** This node represents the most efficient, standardized path for this specific task before automation.
- **Jidoka (自働化):** This node includes autonomous defect detection.
# Gmail Draft Update Subject
This skill allows the agent to update the subject of an existing Gmail draft using the native CLI.
## Cognitive Directives
WHEN [The subject of a Gmail draft needs to be set or updated]
THEN [Execute the native terminal command `gog gmail drafts update <draftId> --subject "..." --json`]
## Schema Example
```json
{
"command": "gog gmail drafts update draft_id_123 --subject \"Invoice\" --json"
}
```
## Jidoka Validation Loop
1. Try: Execute the command.
2. Evaluate: Check the JSON response to confirm the subject was updated.
3. Correct/Fail: If it failed or hallucinated parameters, retry up to 3 times (max_retries=3).
4. Proceed: Return the confirmation.
## Expected Output
A JSON object confirming the draft was updated.
文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。