跳到主要内容

宝玉小红书图文卡片

收藏0

把知识、攻略和生活经验拆成适合小红书或微信图文的系列图片卡片,规划封面、内容页与风格,并调用已有绘图能力生成。

让 AI 安装

github最新版本 0.1.0更新于 2026-10-24下载 1 次

references/config/first-time-setup.md

3.5 KB查看源码

First-Time Setup#

Overview#

When no EXTEND.md is found, guide user through preference setup.

⛔ BLOCKING OPERATION: This setup MUST complete before ANY other workflow steps. Do NOT:

  • Ask about content/article
  • Ask about style or layout
  • Ask about target audience
  • Proceed to content analysis

ONLY ask the questions in this setup flow, save EXTEND.md, then continue.

Setup Flow#

No EXTEND.md found
        │
        ▼
┌─────────────────────┐
│ AskUserQuestion     │
│ (all questions)     │
└─────────────────────┘
        │
        ▼
┌─────────────────────┐
│ Create EXTEND.md    │
└─────────────────────┘
        │
        ▼
    Continue to Step 1

Questions#

Language: Use user's input language or saved language preference.

Use single AskUserQuestion with multiple questions (AskUserQuestion auto-adds "Other" option):

Question 1: Watermark#

header: "Watermark"
question: "Watermark text for generated images? Type your watermark content (e.g., name, @handle)"
options:
  - label: "No watermark (Recommended)"
    description: "No watermark, can enable later in EXTEND.md"

Position defaults to bottom-right.

Question 2: Preferred Style#

header: "Style"
question: "Default visual style preference? Or type another style name or your custom style"
options:
  - label: "None (Recommended)"
    description: "Auto-select based on content analysis"
  - label: "cute"
    description: "Sweet, adorable - classic XHS aesthetic"
  - label: "notion"
    description: "Minimalist hand-drawn, intellectual"

Question 3: Save Location#

header: "Save"
question: "Where to save preferences?"
options:
  - label: "Project"
    description: ".baoyu-skills/ (this project only)"
  - label: "User"
    description: "~/.baoyu-skills/ (all projects)"

Save Locations#

ChoicePathScope
Project.baoyu-skills/baoyu-xhs-images/EXTEND.mdCurrent project
User~/.baoyu-skills/baoyu-xhs-images/EXTEND.mdAll projects

After Setup#

  1. Create directory if needed
  2. Write EXTEND.md with frontmatter
  3. Confirm: "Preferences saved to [path]"
  4. Continue to Step 1

EXTEND.md Template#

---

version: 1

watermark:

  enabled: [true/false]

  content: "[user input or empty]"

  position: bottom-right

  opacity: 0.7

preferred_style:

  name: [selected style or null]

  description: ""

preferred_layout: null

language: null

preferred_image_backend: auto

generation_batch_size: 4

custom_styles: []

---

preferred_image_backend: auto is the baked-in default — first-time setup does not ask about it. The ## Image Generation Tools rule in SKILL.md then picks the runtime-native tool (Codex imagegen, Hermes image_generate, etc.) when available, and falls back to installed backends.

generation_batch_size: 4 is the baked-in default for batch rendering. The current user request may override it for one run.

Modifying Preferences Later#

See the ## Changing Preferences section in SKILL.md for the canonical list of common edits (pin backend, change defaults, retrigger setup). Full schema: preferences-schema.md.

文件内容是平台检查时读出的文本,只供查看。平台不会运行包里的任何脚本或程序。