prompt-master

Generate production-ready prompts for any AI tool from rough ideas.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/kamelmh/opencode-config --skill prompt-master-kamelmh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prompt-master
Source: https://github.com/kamelmh/opencode-config/tree/main/skills/prompt-master
Command: npx skills add https://github.com/kamelmh/opencode-config --skill prompt-master-kamelmh

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Prompt Master removes vague prompting, tool mismatch, and wasted re-prompts by turning rough ideas into clear, target-specific prompts that get better first-pass results.

Core Features & Use Cases

  • Identifies the target AI tool and adapts the prompt style to match it.
  • Extracts intent, constraints, output format, and success criteria before writing.
  • Handles prompt writing, prompt fixing, prompt adaptation, and prompt decompilation for tools like Claude, ChatGPT, Cursor, Midjourney, video generators, and automation platforms.

Quick Start

Ask Prompt Master to turn your rough idea into a single production-ready prompt for the AI tool you want to use.

Frequently Asked Questions about prompt-master

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write better AI prompts from rough ideas?

Prompt optimization for LLMs involves extracting user intent, defining scope limits, and applying format-locked output structures. This technique ensures the model receives clear instructions, reducing wasted re-prompts and improving first-pass results.

Can I adapt a ChatGPT prompt for Midjourney?

Yes, you can adapt a ChatGPT prompt for Midjourney by applying tool-specific routing. This mechanism modifies the prompt style to match image generation requirements, ensuring format-locked output optimized for the target model.

What is the best way to fix broken AI prompts?

The best way to fix broken AI prompts is through prompt decompilation, which reverse-engineers the original intent and constraints. It rebuilds the instructions with clear scope limits and format-locked output to resolve tool mismatch and vague prompting.

Does prompt optimization work for workflow automation and coding agents?

Yes, prompt optimization works for workflow automation and coding agents like Claude Code. It identifies the target tool and applies tool-specific routing to adapt the prompt style, ensuring format-locked output optimized for that environment.

Why do my AI prompts produce vague or mismatched results?

AI prompts produce vague or mismatched results due to tool mismatch and missing scope limits. Without extracting intent and defining success criteria, the target model receives unclear instructions, leading to wasted re-prompts and poor first-pass results.

When should I use prompt decompilation for LLMs?

You should use prompt decompilation for LLMs when existing prompts yield poor results or require adaptation for a different tool. It reverse-engineers the prompt to extract intent and constraints, then rebuilds it with format-locked output.