Token导航 LogoToken导航TokenDH.com
AI 工具只读github未标认证来源可访问clear审计提醒

baoyu-article-illustrator宝玉文章插画

Agent Skill

baoyu-article-illustrator 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

449,064

周安装

18,868

GitHub Stars

16,791

下载量

157,248
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:baoyu-article-illustrator(宝玉文章插画)
来源仓库:https://github.com/jimliu/baoyu-skills
仓库路径:skills/baoyu-article-illustrator
安装命令:
npx skills add https://github.com/jimliu/baoyu-skills --skill baoyu-article-illustrator
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

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

简介

使用 Type × Style 二维方法分析文章结构并生成上下文插图。

  • 将六种插图类型(信息图、场景、流程图、比较、框架、时间线)与多种视觉风格相结合,以匹配文章内容和审美偏好
  • 包括将类型和样式捆绑在一起的预设快捷键,以及通过 --type 进行的精细控制
  • 和--风格
  • flags for custom combinations
  • 遵循六步工作流程:预检查配置、分析内容、与用户确认设置、生成轮廓、使用保存的提示文件创建图像以及插入 Markdown 引用
  • 支持灵活的输出目录配置(子目录、同一目录或独立文件夹结构)并处理基于文件的文章和粘贴内容
  • 需要通过 EXTEND.md 进行初始设置以加载项目、用户或基于 XDG 的首选项;阻塞步骤确保在继续之前加载配置

SKILL.md

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

Article Illustrator

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

Two Dimensions

DimensionControlsExamples
TypeInformation structure, layoutinfographic, scene, flowchart, comparison, framework, timeline
StyleVisual aesthetics, moodnotion, warm, minimal, blueprint, watercolor, elegant

Type × Style can be freely combined. Example: --type infographic --style blueprint

Type Gallery

TypeBest For
infographicData, metrics, technical articles
sceneNarratives, personal stories, emotional content
flowchartTutorials, workflows, processes
comparisonSide-by-side, before/after, options
frameworkMethodologies, models, architecture
timelineHistory, progress, evolution

Style Gallery

StyleBest For
notion (Default)Knowledge sharing, SaaS, productivity
elegantBusiness, thought leadership
warmPersonal growth, lifestyle, education
minimalPhilosophy, core concepts
blueprintArchitecture, system design
watercolorLifestyle, travel, creative
editorialTech explainers, journalism
scientificAcademic, technical research

Full styles: references/styles.md

Auto Selection

Content SignalsTypeStyle
API, metrics, data, numbersinfographicblueprint, notion
Story, emotion, journeyscenewarm, watercolor
How-to, steps, workflowflowchartnotion, minimal
vs, pros/cons, before/aftercomparisonnotion, elegant
Framework, model, architectureframeworkblueprint, notion
History, timeline, progresstimelineelegant, warm

Workflow

Copy this checklist and track progress:

Progress:
- [ ] Step 1: Pre-check
- [ ] Step 2: Setup & Analyze
- [ ] Step 3: Confirm Settings ⚠️ REQUIRED
- [ ] Step 4: Generate Outline
- [ ] Step 5: Generate Images
- [ ] Step 6: Finalize

Step 1: Pre-check

1.1 Determine Input Type

InputOutput DirectoryNext
File pathAsk user (1.2)→ 1.2
Pasted contentillustrations/{topic-slug}/→ 1.4

Backup rule for pasted content: If source.md exists in target directory, rename to source-backup-YYYYMMDD-HHMMSS.md before saving.

1.2 Determine Output Directory (file path input only)

Check default_output_dir in preferences:

Preference ValueAction
same-dirUse {article-dir}/, display "Output: {path}"
imgs-subdirUse {article-dir}/imgs/, display "Output: {path}"
illustrations-subdirUse {article-dir}/illustrations/, display "Output: {path}"
independentUse illustrations/{topic-slug}/, display "Output: {path}"
Not configuredMUST ask with AskUserQuestion ↓

AskUserQuestion (when no preference):

  • {article-dir}/ - Same directory as article
  • {article-dir}/imgs/ - Images subdirectory
  • {article-dir}/illustrations/ - Illustrations subdirectory (Recommended)
  • illustrations/{topic-slug}/ - Independent directory
  • Save as default - Remember this choice for future runs

1.3 Check Existing Images

Scan target directory for .png/.jpg/.webp files.

If images exist → AskUserQuestion: How to handle?

  • supplement - Keep existing, generate only new positions
  • overwrite - Overwrite same-name files
  • regenerate - Clear all and regenerate

1.4 Confirm Article Update Method (file path input only)

AskUserQuestion: How to update article?

  • update - Modify original file directly
  • copy - Create {name}-illustrated.md copy

1.5 Load Preferences (EXTEND.md)

test -f .baoyu-skills/baoyu-article-illustrator/EXTEND.md && echo "project"
test -f "$HOME/.baoyu-skills/baoyu-article-illustrator/EXTEND.md" && echo "user"
ResultAction
FoundRead, parse, display summary
Not foundAsk with AskUserQuestion (see references/config/first-time-setup.md)

Supports: Watermark | Preferred type/style | Custom styles | Language | Output directory


Step 2: Setup & Analyze

2.1 Analyze Content

AnalysisDescription
Content typeTechnical / Tutorial / Methodology / Narrative
Core arguments2-5 main points to visualize
Visual opportunitiesPositions where illustrations add value
Recommended typeBased on content signals
Recommended densityBased on length and complexity

2.2 Extract Core Arguments

  • Main thesis
  • Key concepts reader needs
  • Comparisons/contrasts
  • Framework/model proposed

CRITICAL: If article uses metaphors (e.g., "电锯切西瓜"), do NOT illustrate literally. Visualize the underlying concept.

2.3 Identify Positions

Illustrate:

  • Core arguments (REQUIRED)
  • Abstract concepts
  • Data comparisons
  • Processes, workflows

Do NOT Illustrate:

  • Metaphors literally
  • Decorative scenes
  • Generic illustrations

Step 3: Confirm Settings ⚠️

Do NOT skip. Use AskUserQuestion with 3-4 questions in ONE call.

Q1: Illustration Type

  • [Recommended based on analysis] (Recommended)
  • infographic / scene / flowchart / comparison / framework / timeline / mixed

Q2: Density

  • minimal (1-2) - Core concepts only
  • balanced (3-5) (Recommended) - Major sections
  • rich (6+) - Comprehensive support

Q3: Style (ALWAYS ask, even with preferred_style in EXTEND.md)

If EXTEND.md has preferred_style:

  • [Custom style name + brief description] (Recommended)
  • [Top compatible built-in style 1]
  • [Top compatible built-in style 2]
  • [Top compatible built-in style 3]

If no preferred_style:

  • [Best compatible from matrix] (Recommended)
  • [Other ✓✓ style 1]
  • [Other ✓✓ style 2]
  • [Other ✓ style]

Style selection based on Type × Style compatibility matrix (references/styles.md). Full specs: references/styles/<style>.md

Q4 (only if source ≠ user language):

  • Language: Source / User language

Step 4: Generate Outline

Save as outline.md:

---
type: infographic
density: balanced
style: blueprint
image_count: 4
---

## Illustration 1

**Position**: [section] / [paragraph]
**Purpose**: [why this helps]
**Visual Content**: [what to show]
**Type Application**: [how type applies]
**Filename**: 01-infographic-concept-name.png

## Illustration 2
...

Requirements:

  • Each position justified by content needs
  • Type applied consistently
  • Style reflected in descriptions
  • Count matches density

Step 5: Generate Images

5.1 Create Prompts

Follow references/prompt-construction.md. Save to prompts/illustration-{slug}.md.

  • Backup rule: If prompt file exists, rename to prompts/illustration-{slug}-backup-YYYYMMDD-HHMMSS.md

5.2 Select Generation Skill

Check available skills. If multiple, ask user.

5.3 Apply Watermark (if enabled)

Add: Include a subtle watermark "[content]" at [position].

5.4 Generate

  1. For each illustration:

- Backup rule: If image file exists, rename to NN-{type}-{slug}-backup-YYYYMMDD-HHMMSS.png - Generate image

  1. After each: "Generated X/N"
  2. On failure: retry once, then log and continue

Step 6: Finalize

6.1 Update Article

Insert after corresponding paragraph:

![description](illustrations/{slug}/NN-{type}-{slug}.png)

Alt text: concise description in article's language.

6.2 Output Summary

Article Illustration Complete!

Article: [path]
Type: [type] | Density: [level] | Style: [style]
Location: [directory]
Images: X/N generated

Positions:
- 01-xxx.png → After "[Section]"
- 02-yyy.png → After "[Section]"

[If failures]
Failed:
- NN-zzz.png: [reason]

Output Directory

illustrations/{topic-slug}/
├── source-{slug}.{ext}
├── outline.md
├── prompts/
│   └── illustration-{slug}.md
└── NN-{type}-{slug}.png

Slug: 2-4 word topic in kebab-case. Conflict: Append -YYYYMMDD-HHMMSS if exists.

Modification

ActionSteps
EditUpdate prompt file FIRST → Regenerate → Update reference
AddIdentify position → Create prompt → Generate → Update outline → Insert
DeleteDelete files → Remove reference → Update outline

IMPORTANT: When updating illustrations, ALWAYS update the prompt file (prompts/illustration-{slug}.md) FIRST before regenerating. This ensures:

  1. Changes are documented and reproducible
  2. The prompt reflects the new requirements
  3. Future regeneration uses the correct prompt

References

FileContent
references/usage.mdCommand syntax and options
references/styles.mdStyle gallery & compatibility
references/prompt-construction.mdPrompt templates
references/styles/<style>.mdFull style specifications
references/config/preferences-schema.mdEXTEND.md schema
references/config/first-time-setup.mdFirst-time setup flow

Extension Support

Custom configurations via EXTEND.md. See Step 1.5 for paths and supported options.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

31.41%
按下载量换算49,392

OpenCode

23.19%
按下载量换算36,466

Gemini CLI

18.89%
按下载量换算29,704

Cursor

13.33%
按下载量换算20,961

Antigravity

7.11%
按下载量换算11,180

Codex

3.39%
按下载量换算5,331

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills