Intelligent Prompt Generator
智能提示词生成器 v2.0 - 支持人像/跨domain/设计三种模式,语义理解、常识推理、一致性检查
Install
npx skills add huangserva/skill-prompt-generator --skill intelligent-prompt-generatorgit clone --depth 1 https://github.com/huangserva/skill-prompt-generator.git /tmp/skill-prompt-generator
mkdir -p ~/.claude/skills
cp -r /tmp/skill-prompt-generator/.claude/skills/intelligent-prompt-generator ~/.claude/skills/intelligent-prompt-generatorPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# 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
**重要**:系统会自动识别用户需求类型并选择最佳生成模式!
### 调用方式
当用户请求生成提示词时,你需要:
1. **解析用户输入**,识别需求类型
2. **调用Python生成器**
3. **返回结果**
**关键代码**:
```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补充语义内容!**
### 为什么需要智能补充?
数据库包含1,246个元素,涵盖:
- ✅ 光影技术(lighting_techniques)
- ✅ 摄影技术(photography_techniques)
- ✅ 构图方式(poses, compositions)
- ✅ 技术参数(technical_quality)
- ✅ 基础人物特征(skin, face, eyes等)
但数据库**不可能穷举**:
- ❌ 所有动漫IP(龙珠、火影、海贼王...)
- ❌ 所有角色(悟空、鸣人、路飞...)
- ❌ 所有特殊技能(龟派气功、螺旋丸、橡胶果实...)
- ❌ 所有历史人物(秦始皇、拿破仑、诸葛亮...)Details
- Skill name
intelligent-prompt-generator- Repository
- huangserva/skill-prompt-generator
- Path
.claude/skills/intelligent-prompt-generator/SKILL.md- Repo updated
- 10 May 2026
FAQ
What does the Intelligent Prompt Generator skill do?
智能提示词生成器 v2.0 - 支持人像/跨domain/设计三种模式,语义理解、常识推理、一致性检查
How do I install the Intelligent Prompt Generator skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add huangserva/skill-prompt-generator --skill intelligent-prompt-generator. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Intelligent Prompt Generator popular?
It lives in huangserva/skill-prompt-generator, which has 1,529 GitHub stars and 217 forks.
Related skills
LLM Application Dev
1.2kMoizIbnYousaf/ai-agent-skills
Building applications with Large Language Models - prompt engineering, RAG patterns, and LLM integration. Use for AI-powered features, chatbots, or LLM-based automation.
Browse and Evaluate
1.2kMoizIbnYousaf/ai-agent-skills
Use when exploring the ai-agent-skills catalog to find, compare, and evaluate skills before installing. Always use --fields to limit output size and --dry-run before committing to an install.
Verification Agent
1.2kMoizIbnYousaf/ai-agent-skills
Verify claims, quotations, citations and references against live primary sources, and produce a reproducible audit record instead of an assertion. Use when asked to: check whether a quotation, verse, statistic, date, attribution or citation is accurate; verify references before publishing a report, thesis, article, slide deck or legal filing; confirm a text against an authoritative database; cross-check a claim across independent sources; build a citation register or verification appendix; find out whether two datasets agree; detect a misattributed or fabricated quotation; or audit a document'
Best Practices
1.2kMoizIbnYousaf/ai-agent-skills
Transforms vague prompts into optimized Claude Code prompts. Adds verification, specific context, constraints, and proper phasing. Invoke with /best-practices.
Embedding Strategies
2krmyndharis/antigravity-skills
Select and optimize embedding models for semantic search and RAG applications. Use when choosing embedding models, implementing chunking strategies, or optimizing embedding quality for specific domains.
RAG Implementation
2krmyndharis/antigravity-skills
Build Retrieval-Augmented Generation (RAG) systems for LLM applications with vector databases and semantic search. Use when implementing knowledge-grounded AI, building document Q&A systems, or integrating LLMs with external knowledge bases.
Browse the most popular Claude skills, all ai, llms & agents skills, or write your own with the skills generator.