ai-prompt-gen
由 ouyangabel 提供
Coding Agents & IDEs简介
Generate optimized prompts for AI models including ChatGPT, Midjourney, and code generation.
描述
该技能的功能
A command-line tool that generates structured prompts for AI models including ChatGPT, Midjourney, and code generation assistants. Takes parameters like role, style, audience, and constraints to produce tailored prompt text. Also analyzes existing prompts and scores them on length, clarity, context, and constraints.
Instead of manually iterating on prompt wording, the tool applies structured templates and quality checks to produce model-specific prompts in one command.
何时使用
- Drafting a role-play system prompt for ChatGPT before a consulting session
- Generating a Midjourney prompt for a futuristic city illustration
- Building a code generation prompt for a beginner JavaScript project
- Analyzing a weak prompt to find what context or constraints are missing
- Batch-generating writing prompts in different styles to compare outputs
示例工作流
User asks: generate a high-quality Midjourney prompt for a cyberpunk city scene
- 1
Runs midjourney command with subject, style, mood, and quality parameters
- 2
Constructs prompt string combining subject keywords, style modifiers, and quality flags
- 3
Returns formatted Midjourney-ready prompt text
- 4
User optionally runs analyze command on the output to check prompt quality score
A Midjourney-formatted prompt string with style, mood, and quality parameters ready to paste into the AI art tool
安装
clawhub install ouyangabel/ai-prompt-gen运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。