Command Palette

Search for a command to run...

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

prompt-expander

БесплатноБез исполняемых скриптовНе проверен

EXPAND vague prompts into precise, platform-optimized instructions. Detects target platform (Claude, GPT, Gemini, Midjourney, Sora, etc.) and applies…

diegosouzapwот diegosouzapw★ 68 звёзд на GitHub

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

Prompt Expander

Transform vague prompts into precise, platform-optimized instructions.

Trigger Phrases

Users invoke this skill by saying:

  • "coggle"
  • "expand"
  • "improve prompt"
  • "make better"
  • "optimize prompt"
  • "enhance prompt"

Platform Detection

Detect target platform from context clues:

Clue Platform
"for Claude", "Claude Code", "system prompt" Claude
"GPT", "ChatGPT", "OpenAI", "Codex" OpenAI
"Gemini", "Google AI" Gemini
"Perplexity", "search", "research", "citations" Perplexity
"Copilot", "GitHub", "code completion" GitHub Copilot
"Grok", "xAI", "X AI" Grok
"Midjourney", "MJ", "--ar", "DALL-E", "image" Image Generation
"Flux", "FLUX.1", "Black Forest" Flux
"Sora", "Runway", "video", "animation" Video Generation
"Nano Banana", "Higgsfield" Nano Banana Pro

If unclear, ask user: "What platform is this prompt for?"

Expansion Workflow

Step 1: Detect Platform

Identify target from prompt context or ask user.

Step 2: Apply PRECISE Framework

Adapt elements based on platform:

Element Text AI Image AI Video AI
Persona Role definition Style/artist reference Director's vision
Requirements Deliverables Visual elements Shots/scenes
Examples Reference outputs Reference images Reference clips
Context Background info Scene setting Narrative context
Instructions Step-by-step Composition notes Storyboard
Specifications Output format Parameters (--ar, --v) Duration, resolution
Evaluation Success criteria Visual quality checks Motion coherence

P - Persona

Define the AI's role or style:

  • Text AI: "Act as a [specific expert role] with [relevant experience]..."
  • Image AI: "In the style of [artist/movement]..."
  • Video AI: "Directed as [cinematic style/vision]..."

R - Requirements

Specify deliverables:

  • Text AI: Output format, length, style, technical requirements
  • Image AI: Visual elements, composition, mood
  • Video AI: Shot list, scene requirements, key moments

E - Examples

Provide concrete references:

  • Text AI: Sample outputs, style guides
  • Image AI: Reference images, similar works
  • Video AI: Reference clips, similar scenes

C - Context

Add relevant background:

  • Text AI: Industry, audience, purpose, constraints
  • Image AI: Scene setting, environment, atmosphere
  • Video AI: Narrative context, story arc, setting

I - Instructions

Break down the task:

  • Text AI: Numbered steps, logical sequence
  • Image AI: Composition notes, layer priorities
  • Video AI: Storyboard sequence, shot progression

S - Specifications

Define format and structure:

  • Text AI: markdown/JSON/list/table, length, sections
  • Image AI: Aspect ratio (--ar 16:9), version (--v 6), quality (--q 2)
  • Video AI: Duration, resolution, frame rate, transitions

E - Evaluation

Specify success criteria:

  • Text AI: Quality metrics, what to avoid
  • Image AI: Visual coherence, style consistency
  • Video AI: Motion smoothness, narrative flow

Step 3: Apply Platform Template

Reference platform-specific patterns from ./templates/[platform].md:

Platform Best For Key Pattern Template File
Claude Complex reasoning, coding Role + Context + Task + Constraints claude.md
Codex/GPT Code generation, chat Delimiters + Examples codex.md
Gemini Multimodal, reasoning Few-shot examples gemini.md
Perplexity Research, citations Search scope + Recency + Sources perplexity.md
Copilot Code completion General goal + Specific requirements copilot.md
Grok Conversational, real-time Role + Task + Format grok.md
Image Gen Midjourney, DALL-E Descriptive phrases + Parameters image-gen.md
Flux Photorealistic images Natural language descriptions flux.md
Video Gen Sora, Runway, Kling Storyboard + Camera direction video-gen.md

When expanding a prompt, detect the target platform and apply the appropriate template structure.

Step 4: Present Options

After expansion, offer:

  • Run - Execute the prompt (if possible)
  • Save - Save to .prompts/[name].md
  • Refine - Iterate with user feedback

Output Format

## Coggle!

**Original:**
> [input]

**Platform:** [detected platform]

**Expanded:**

[Full expanded prompt in platform-appropriate format]

---

**Templates:** See `./templates/` for platform-specific patterns.

**Next Steps:**
- **Run** - Execute this prompt
- **Save** - Save to `.prompts/[name].md`
- **Refine** - Make adjustments

Common Anti-Patterns to Avoid

Anti-Pattern Example Fix
Vague verbs "help", "something", "stuff" Specific actions
Полный SKILL.md на GitHub

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

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

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

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

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

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

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

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

metadata.json

FAQ

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

EXPAND vague prompts into precise, platform-optimized instructions. Detects target platform (Claude, GPT, Gemini, Midjourney, Sora, etc.) and applies appropriate prompting patterns. Use when user says "coggle", "expand", "improve prompt", "make better".

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

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

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

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить prompt-expander с