设计与多媒体

baoyu-article-illustrator

jimliu/baoyu-skills

Analyzes article structure, identifies positions requiring visual aids, generates illustrations with Type × Style × Palette three-dimension approach. Use when user asks to "illustrate article", "add images", "generate images for article", or "为文章配图".

  • 3.2万 次安装
  • 2.7万 星标
  • 收录于

安装命令

npx skills add https://github.com/jimliu/baoyu-skills --skill baoyu-article-illustrator

要点

Analyzes article structure and generates contextual illustrations using Type × Style two-dimension approach.

  • Combines six illustration types (infographic, scene, flowchart, comparison, framework, timeline) with multiple visual styles to match article content and aesthetic preferences
  • Includes preset shortcuts that bundle type and style together, plus granular control via --type and --style flags for custom combinations
  • Follows a six-step workflow: pre-check configuration, analyze content, confirm settings with user, generate outline, create images with saved prompt files, and insert markdown references
  • Supports flexible output directory configuration (subdirectory, same directory, or independent folder structure) and handles both file-based articles and pasted content
  • Requires initial setup via EXTEND.md to load project, user, or XDG-based preferences; blocking step ensures configuration is loaded before proceeding

SKILL.md

Article Illustrator

Analyze articles, identify illustration positions, generate images with Type × Style × Palette consistency.

User Input Tools

When this skill prompts the user, follow this tool-selection rule (priority order):

  1. Prefer built-in user-input tools exposed by the current agent runtime — e.g., AskUserQuestion, request_user_input, clarify, ask_user, or any equivalent.
  2. Fallback: if no such tool exists, emit a numbered plain-text message and ask the user to reply with the chosen number/answer for each question.
  3. Batching: if the tool supports multiple questions per call, combine all applicable questions into a single call; if only single-question, ask them one at a time in priority order.

Concrete AskUserQuestion references below are examples — substitute the local equivalent in other runtimes.

Image Generation Tools

When this skill needs to render an image, resolve the backend in this order: