Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

ai-prompt-gen

БесплатноЗапускает вложенные скриптыНе проверен

Generate optimized prompts for AI models including ChatGPT, Midjourney, and code generation. Use when: (1) creating AI prompts for writing, coding, design, or…

modbenderот modbender★ 21 звезда на GitHub

Об этом скилле

AI Prompt Generator

Generate optimized prompts for various AI models. Create prompts for ChatGPT, Midjourney, code generation, and more with customizable styles and parameters.

When to Use

  • Create prompts for AI writing and content generation
  • Generate prompts for AI art and design
  • Optimize prompts for code generation
  • Analyze and improve existing prompts
  • Build prompt engineering workflows

Quick Start

Generate Writing Prompt

python3 scripts/ai-prompt-gen.py general writing "人工智能" creative general long

Generate ChatGPT Prompt

python3 scripts/ai-prompt-gen.py chatgpt "专业作家" "写一篇关于AI的文章" "背景信息" "字数500字"

Generate Midjourney Prompt

python3 scripts/ai-prompt-gen.py midjourney "未来城市" "futuristic" "科技感" "high"

Analyze Prompt Quality

python3 scripts/ai-prompt-gen.py analyze "写一个关于AI的文章"

Commands

general <category> <topic> [style] [audience] [length]

Generate general AI prompts for various categories.

Categories:

  • writing - Content writing and creative writing
  • coding - Code generation and programming
  • marketing - Marketing and SEO
  • design - Graphic and UI design
  • research - Research and analysis
  • analysis - Data and business analysis

Style Options:

  • concise - Brief and to the point
  • creative - Creative and imaginative
  • technical - Technical and detailed
  • detailed - Comprehensive and thorough

Length Options:

  • short - Brief output
  • medium - Moderate length (default)
  • long - Detailed and comprehensive

Examples:

# Creative writing prompt
python3 scripts/ai-prompt-gen.py general writing "人工智能" creative general long

# Technical coding prompt
python3 scripts/ai-prompt-gen.py general coding "排序算法" technical developer medium

# Marketing prompt
python3 scripts/ai-prompt-gen.py general marketing "SEO优化" detailed business short

chatgpt <role> <task> [context] [constraints]

Generate ChatGPT-specific prompts with role-playing.

Examples:

# Basic prompt
python3 scripts/ai-prompt-gen.py chatgpt "专业作家" "写一篇关于AI的文章"

# With context and constraints
python3 scripts/ai-prompt-gen.py chatgpt "数据分析师" "分析销售数据" "过去一年的销售数据" "包含趋势分析和预测"

midjourney <subject> <style> <mood> [quality]

Generate prompts for Midjourney AI art generation.

Style Options:

  • realistic - Photorealistic style
  • artistic - Artistic and creative
  • cartoon - Cartoon and animated
  • minimalist - Simple and clean
  • vintage - Vintage and retro
  • futuristic - Sci-fi and futuristic

Quality Options:

  • high - High quality (default)
  • medium - Good quality
  • low - Basic quality

Examples:

# Futuristic city
python3 scripts/ai-prompt-gen.py midjourney "未来城市" "futuristic" "科技感" "high"

# Artistic portrait
python3 scripts/ai-prompt-gen.py midjourney "人像" "artistic" "优雅" "high"

code <language> <task> [difficulty]

Generate prompts for code generation.

Difficulty Options:

  • beginner - Simple and well-commented
  • intermediate - Moderate complexity (default)
  • advanced - Complex and optimized

Examples:

# Python sorting algorithm
python3 scripts/ai-prompt-gen.py code "Python" "排序算法" "intermediate"

# JavaScript web app
python3 scripts/ai-prompt-gen.py code "JavaScript" "待办事项应用" "beginner"

analyze <prompt>

Analyze the quality of a prompt and provide feedback.

Examples:

python3 scripts/ai-prompt-gen.py analyze "写一个关于AI的文章"

python3 scripts/ai-prompt-gen.py analyze "你是一个程序员,帮我写代码"

list

List all available prompt templates and categories.

python3 scripts/ai-prompt-gen.py list

Prompt Categories

Writing

  • Creative Writing: Generate original, engaging content
  • Technical Writing: Create professional documentation
  • Business Writing: Produce data-driven reports

Coding

  • Algorithms: Implement efficient algorithms
  • Web Development: Build modern web applications
  • Data Analysis: Process and visualize data

Marketing

  • SEO: Optimize for search engines
  • Social Media: Plan social campaigns
  • Email Marketing: Design email campaigns

Design

  • Logo Design: Create brand identities
  • UI Design: Design user interfaces
  • Brand Design: Develop brand guidelines

Research

  • Market Research: Analyze market trends
  • Technical Research: Evaluate technology solutions
  • Academic Research: Write scholarly reviews

Analysis

  • Financial Analysis: Analyze financial data
  • Business Analysis: Diagnose business problems
  • Data Analysis: Discover data insights

Examples

Content Creation

# Blog post about AI
python3 scripts/ai-prompt-gen.py general writing "人工智能的未来" creative general long

# Technical documentation
pyt
Полный SKILL.md на GitHub

Установить ai-prompt-gen в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

scripts/ai-prompt-gen.py

FAQ

Что делает скилл ai-prompt-gen?

Generate optimized prompts for AI models including ChatGPT, Midjourney, and code generation. Use when: (1) creating AI prompts for writing, coding, design, or research, (2) optimizing prompts for specific AI models, (3) analyzing prompt quality, or (4) any AI prompt engineering needs. Supports multiple categories and AI platforms.

Как установить скилл ai-prompt-gen?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл ai-prompt-gen запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить ai-prompt-gen с