Intelligent Prompt Generator
Generates image prompts across portrait, cross-domain, and design modes, with Claude supplying semantic gaps the database lacks.
- CCM score
- 41 of 100
- skills.sh installs
- 264
- GitHub stars
- 1.5K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers three generation modes: portrait, cross-domain (combining portrait, video, art, and common domains), and design for posters and cards
- Draws on 1,246 database elements for lighting, photography, composition, technical quality, and basic character traits
- Requires Claude to fill in anime characters, special moves, historical figures, and IP styles that the database cannot cover
- Selects database elements only when their keywords match the request, and falls back to Claude-written English descriptions otherwise
Install
$ npx -y skills add huangserva/skill-prompt-generator --skill intelligent-prompt-generator -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Intelligent Prompt Generator Skill v2.0
你是一个智能提示词生成专家,拥有语义理解、常识推理和一致性检查能力。
🎉 v2.0 新功能
系统已升级到v2.0!现在支持3种生成模式:
1️⃣ Portrait(人像)- 向后兼容
- 适用:纯人像摄影
- 示例:"生成一个年轻女性肖像"
- 使用:portrait domain (502个元素)
2️⃣ Cross-Domain(跨域)- 🆕 新功能
- 适用:复杂场景,需要多domain组合
- 示例:"龙珠悟空打出龟派气功的蜡像3D感"
- 使用:自动识别需要的domains(portrait + video + art + common)
- 优势:充分利用1,246个元素,利用率从40%提升到80%
3️⃣ Design(设计)- 🆕 新功能
- 适用:设计海报、卡片,需要专业设计规范
- 示例:"温馨可爱风格的儿童教育海报"
- 使用:SQLite元素 + YAML变量(配色、边框、装饰)
- 优势:20万+种配色组合
🚀 如何使用v2.0
重要:系统会自动识别用户需求类型并选择最佳生成模式!
调用方式
当用户请求生成提示词时,你需要:
- 解析用户输入,识别需求类型
- 调用Python生成器
- 返回结果
关键代码:
import os
os.chdir('/Users/serva/.claude/skills/skill-prompt-generator')
from core.cross_domain_generator import CrossDomainGenerator
generator = CrossDomainGenerator()
result = generator.generate(user_input)
print(f"生成类型: {result['type']}")
print(f"提示词: {result['prompt']}")
generator.close()
自动识别规则
系统会自动根据用户输入识别类型:
- 有人物 + 无复杂需求 → portrait
- 有人物 + 有动作/特效 → cross_domain
- 有设计风格关键词 → design
🌟 Cross-Domain智能补充机制(重要!)
核心原则:数据库提供通用元素,Claude补充语义内容!
为什么需要智能补充?
Details
- Repository
- github.com/huangserva/skill-prompt-generator
- Category
- AI Image, Video & Voice
- First seen
- Jun 3, 2026
Questions
What does the intelligent-prompt-generator skill do?
The intelligent-prompt-generator skill is a v2.0 prompt generator that supports portrait, cross-domain and design modes, with semantic understanding, common-sense reasoning and consistency checks. In cross-domain mode it combines database elements with descriptions the agent writes itself, such as anime characters or special moves.
How do I install the intelligent-prompt-generator skill?
Run npx -y skills add huangserva/skill-prompt-generator --skill intelligent-prompt-generator -y inside a project. After that, the intelligent-prompt-generator skill lets the agent turn a request like a Dragon Ball character performing a special attack into a full image prompt.
What does the intelligent-prompt-generator skill need to run?
The intelligent-prompt-generator skill runs on Python 3.8 or later and reads the Universal Elements Library bundled in the skill-prompt-generator repository. Its Python engine needs the packages listed in requirements.txt, installed with pip.
Which category is the intelligent-prompt-generator skill in?
The intelligent-prompt-generator skill sits in the AI Image, Video and Voice category on Claude Marketplaces. Its neighbours there include ai-video-generation and ai-image-generation, which lead that category.
Similar to Intelligent Prompt Generator
More AI Image, Video & Voicenano-banana-promptSkillgiulioco/skills298 installsPrompt-writing guide for Nano Banana Pro image generation covering portraits, products, 3D renders, and era aesthetics.
creative-directionSkilldylanfeltus/skills251 installsPrompt templates and model guidance for generating hero images, feature art, OG cards, icons, and backgrounds.
ai-image-prompts-skillSkillyoumind-openlab/ai-image-prompts-skill1.3K installsCurated image-generation prompt library with sample images, searchable by use case across any AI model.
gpt-image-2Skillconardli/garden-skills6.7K installsA multi-mode prompt-engineering skill for GPT Image 2 that generates, edits, or drafts image prompts across 18 categories.
image-generation-skillsPluginConardLi/garden-skills15.8K starsSkills for image generation and editing with GPT Image 2 (and OpenAI-compatible image endpoints), with three runtime modes and 70+ structured prompt templates.