From 60d0b9c95b94060362d62d09b48f11e340d5d67b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jim=20Liu=20=E5=AE=9D=E7=8E=89?= Date: Tue, 21 Apr 2026 16:58:58 -0500 Subject: [PATCH] docs(baoyu-infographic): add Confirmation Policy as single source of truth MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Consolidate the confirmation rule into one section so defaults, keywords, and EXTEND.md preferences are treated as recommendation inputs only — never as authorization to skip Step 4. Remove the repeated reminders that were scattered across Step 5, Step 6, Default combination, Keyword Shortcuts, and the preferences docs. --- skills/baoyu-infographic/SKILL.md | 22 ++++++++++++++----- .../references/config/first-time-setup.md | 2 +- .../references/config/preferences-schema.md | 2 ++ 3 files changed, 20 insertions(+), 6 deletions(-) diff --git a/skills/baoyu-infographic/SKILL.md b/skills/baoyu-infographic/SKILL.md index af7c04a..854b52d 100644 --- a/skills/baoyu-infographic/SKILL.md +++ b/skills/baoyu-infographic/SKILL.md @@ -1,7 +1,7 @@ --- name: baoyu-infographic description: Generate professional infographics with 21 layout types and 21 visual styles. Analyzes content, recommends layout×style combinations, and generates publication-ready infographics. Use when user asks to create "infographic", "信息图", "visual summary", "可视化", or "高密度信息大图". -version: 1.57.0 +version: 1.57.1 metadata: openclaw: homepage: https://github.com/JimLiu/baoyu-skills#baoyu-infographic @@ -70,6 +70,15 @@ references: - If `usage: direct` AND the chosen backend accepts reference images (e.g., `baoyu-imagine` via `--ref`) → pass the file via the backend's ref parameter - Otherwise → embed extracted `style`/`palette` traits in the prompt text +## Confirmation Policy + +Default behavior: **confirm before generation**. + +- Treat explicit skill invocation, a file path, a matched keyword shortcut, `EXTEND.md` defaults, and the documented default combination as **recommendation inputs only**. None of them authorizes skipping confirmation. +- Do **not** start Step 5 or Step 6 until the user confirms the combination/aspect/language/backend choices. +- Skip confirmation only when the current request explicitly says to do so, for example: `--no-confirm`, "直接生成", "不用确认", "跳过确认", "按默认出图", or equivalent wording. +- If confirmation is skipped explicitly, state the assumed combination/aspect/language/backend in the next user-facing update before generating. + ## Options | Option | Values | @@ -78,6 +87,7 @@ references: | `--style` | 21 options (see Style Gallery), default: craft-handmade | | `--aspect` | Named: landscape (16:9), portrait (9:16), square (1:1). Custom: any W:H ratio (e.g., 3:4, 4:3, 2.35:1) | | `--lang` | en, zh, ja, etc. | +| `--no-confirm` | Skip Step 4 only when the user explicitly requests direct generation without confirmation | | `--ref ` | Reference images (file paths) for style / palette / composition / subject guidance | ## Layout Gallery (21) @@ -158,11 +168,11 @@ Full definitions live at `references/styles/