用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/esokullu/learn-skills.dev --skill article-illustration-generator命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | article-illustration-generator |
| description | Generates illustrations for articles |
This skill automatically generates relevant illustrations for a text article using the Gemini Image API and converts it into a visually appealing HTML file.
API Key Check:
Input Analysis:
Image Generation:
google.genai SDK to generate images.gemini-2.5-flash-image (default, or user specified).aspect_ratio="16:9" or 4:3 for article images.HTML Construction:
assets/template.html ("故都的秋" style).This skill includes reference files in the references/ directory:
references/template.html: The HTML/CSS template with serif fonts and clean layout. Use this as the base for the output file.references/api_guide.md: Detailed documentation for the Nano Banana Pro (Gemini 3 Pro Image) API, which can be used for advanced image generation needs.references/script_template.py: A Python script template containing the API calling logic.When invoked, the agent should:
Check API Key Configuration:
echo $GOOGLE_API_KEY (Linux/Mac) or echo %GOOGLE_API_KEY% (Windows).Read the target article provided by the user.
Plan the image insertion points.
Execute the Python script (scripts/article_to_html.py) with appropriate parameters:
python scripts/article_to_html.py <article_file> <api_key>python scripts/article_to_html.py <article_file>--images N, --model MODEL, --ratio RATIO, --size SIZEVerify the result and inform the user of the output location.
Manage your team — create roles, assign tasks, spawn workers, and monitor progress
Enforce developer experience principles (SRP, hook architecture, compound component composition, UX polish) for React Native Expo projects. Use this skill proactively when writing or reviewing code that involves more than one component or more than one piece of logic.
Use when work involves Spec Kit and you need to choose the correct `spec-kit-*` sub-skill, enforce artifact-order gates, or route remediation work (for example sequence violations or specification drift at any stage).