From 66ed08f010ee15275a590647b7ea283c393d0074 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jim=20Liu=20=E5=AE=9D=E7=8E=89?= Date: Thu, 29 Jan 2026 22:01:22 -0600 Subject: [PATCH] feat(baoyu-infographic): add backup rules for source, analysis, prompt, and image files --- skills/baoyu-infographic/SKILL.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/skills/baoyu-infographic/SKILL.md b/skills/baoyu-infographic/SKILL.md index 471182c..e7ad826 100644 --- a/skills/baoyu-infographic/SKILL.md +++ b/skills/baoyu-infographic/SKILL.md @@ -153,10 +153,12 @@ Schema: `references/config/preferences-schema.md` **1.2 Analyze Content → `analysis.md`** 1. Save source content (file path or paste → `source.md`) + - **Backup rule**: If `source.md` exists, rename to `source-backup-YYYYMMDD-HHMMSS.md` 2. Analyze: topic, data type, complexity, tone, audience 3. Detect source language and user language 4. Extract design instructions from user input 5. Save analysis + - **Backup rule**: If `analysis.md` exists, rename to `analysis-backup-YYYYMMDD-HHMMSS.md` See `references/analysis-framework.md` for detailed format. @@ -189,6 +191,8 @@ Present all options in single confirmation: ### Step 5: Generate Prompt → `prompts/infographic.md` +**Backup rule**: If `prompts/infographic.md` exists, rename to `prompts/infographic-backup-YYYYMMDD-HHMMSS.md` + Combine: 1. Layout definition from `references/layouts/.md` 2. Style definition from `references/styles/