prompt-master
A Claude skill that writes the accurate prompts for any AI tool. Zero tokens or credits wasted. Full context and memory retention
- 14.9k estrellas
- 1.7k forks
- 28 issues abiertos
- Licencia: MIT
- actualizado
Instalación
git clone https://github.com/nidhinjs/prompt-master ~/.claude/skills/prompt-master- Clone the repository into your ~/.claude/skills directory (or copy the skill folder containing SKILL.md).
- Start a new Claude Code session so the skill registry reloads.
- Invoke it by name, or let Claude trigger it automatically when the task matches.
If the repo bundles several skills, copy only the folders you need.
Nota editorial
Prompt Master is a Claude Code skill and Claude.ai browser skill that generates optimized prompts for use with other AI tools rather than answering questions directly. Installed either by uploading a ZIP to Claude.ai's Skills interface or by cloning into the ~/.claude/skills directory, it works by running a structured seven-step pipeline on every request: detecting the target tool, extracting nine dimensions of user intent, asking at most three clarifying questions, selecting an appropriate prompt framework, applying techniques such as role assignment and XML structure, running a token efficiency audit, and delivering a single copyable prompt block with a brief strategy note. The skill covers a broad range of targets including Claude Code, Cursor, Midjourney, Stable Diffusion, ElevenLabs, and Zapier, routing each request to a format suited to that tool. A standout design choice is the token efficiency audit step, which strips words that do not change model output rather than making prompts longer. The primary audience is developers and frequent AI users who want to reduce wasted API calls by getting useful outputs on the first attempt.
1 items en este repositorio
Generates optimized prompts for AI tools. Activates only when the user explicitly asks to write, fix, improve, or adapt a prompt for a specific AI tool (LLM, Cursor, Midjourney, image AI, video AI, coding agents, etc.). Does not activate for general conversation, coding tasks, document writing, or other non-prompt-engineering work.
Resumen de Skills

A Claude skill that writes the accurate prompts for any AI tool. Zero tokens or credits wasted. Full context and memory retention. No re-prompting your way to an answer you should have gotten on attempt one.
Works with: Claude, ChatGPT, Codex, Grok, Gemini, o1/o3, MiniMax, Cursor, Claude Code, GitHub Copilot, Windsurf, Bolt, v0, Lovable, Devin, Perplexity, Midjourney, DALL-E, Stable Diffusion, ComfyUI, Sora, Runway, ElevenLabs, Zapier, Make, and any AI tool you throw at it.
🚀 Installation
RECOMMENDED - Claude.ai (browser)
Download this repo as a ZIP
Go to claude.ai → Sidebar → Customize → Skills → Upload a Skill
OR Clone directly into Claude Code skills directory (Not Suggested)
mkdir -p ~/.claude/skills
git clone https://github.com/nidhinjs/prompt-master.git ~/.claude/skills/prompt-master🔥 The Problem This Solves
Every AI user wastes credits the same way:
Write vague prompt → get wrong output → re-prompt → get closer → re-prompt again → finally get what you wanted on attempt 4
That's 3 wasted API calls. Multiply by 50 prompts a day. That's real money and real time gone.
The key insight
"The best prompt is not the longest. It's the one where every word is load-bearing."
Most "prompt generators" make prompts longer. This skill makes them sharper.
🎯 Usage
In Claude, you can invoke the skill naturally:
Write me a prompt for Cursor to refactor my auth moduleI need a prompt for Claude Code to build a REST API — ask me what you need to knowHere's a bad prompt I wrote for GPT-4o, fix it: [paste prompt]Generate a Midjourney prompt for a cyberpunk city at nightI have a reference image — help me write a prompt to edit just the head angleBreak this prompt down and adapt it for Stable DiffusionOr explicitly invoke it:
/prompt-master
I want to ask Claude Code to build a todo app with React and SupabaseHow It Works
Prompt Master runs a structured pipeline on every request:
Detects the target tool — figures out which AI system the prompt is for and routes silently to the right approach
Extracts 9 dimensions of intent — task, input, output, constraints, context, audience, memory, success criteria, examples
Asks targeted clarifying questions — max 3 questions if critical info is missing, never more
Routes to the right framework — picks and applies the correct prompt architecture automatically, never shown to the user
Applies safe techniques only — role assignment, few-shot examples, XML structure, grounding anchors, memory block as needed
Checks model recency — verifies exact models and controls against official provider docs when the request depends on "latest"
Runs a token efficiency audit — strips every word that doesn't change the output
Delivers the prompt — one clean copyable block with a one-line strategy note
Full Example #1: Generating Prompts for Images
User Input
Write me a midjourney prompt for a realistic samurai standing in the rain at nightGenerated Prompt
lone samurai standing in heavy rain at night, traditional armor,
neon reflections on wet cobblestone street, cinematic lighting,
dramatic shadows, fog, ultra detailed, photorealistic,
shallow depth of field --ar 16:9 --v 6 --style raw
negative: blurry, low quality, watermark, cartoon, anime, extra limbs🎯 Target: Midjourney · ⚡ Framework: Visual Descriptor · 💰 Tokens: Light (~60) · 💡 Strategy: Comma-separated descriptors over prose, lighting and mood anchored early, aspect ratio and version locked, negative prompt prevents style drift.
Full Example #2: Generating Prompts for Coding
User Input
Build a claude code prompt for a landing page for a business
dashboard that looks and feels exactly like notion - smooth animations,
clean uiGenerated Prompt
Objective:
Build a fully detailed, production-quality static landing page for a
business dashboard product. Design must match Notion's exact aesthetic —
clean, minimal, typographic, with smooth animations throughout.
Stack:
Single HTML file with embedded CSS and vanilla JS. No frameworks.
No external dependencies except Google Fonts (Inter).
Design Spec — match these exactly:
- Background: #ffffff
- Primary text: #1a1a1a
- Secondary text: #6b7280
- Border color: #e5e7eb
- Accent: #000000
- Font: Inter, weights 400 / 500 / 600 / 700
- Base spacing unit: 8px
- Border radius: 6px on cards, 4px on buttons
- Box shadows: 0 1px 3px rgba(0,0,0,0.08) only — no dramatic shadows
- Buttons: black fill, white text, no border radius above 6px
Sections to build in order:
1. Navbar — logo left, nav links center, "Get started free" CTA right.
Sticky on scroll, adds subtle border-bottom on scroll with JS.
2. Hero — large left-aligned heading (max 3 lines), subtext, two CTAs
(primary black + secondary outlined), hero screenshot mockup
placeholder (gray rounded card, 16:9 ratio).
3. Logos bar — "Trusted by teams at..." with 5 placeholder company names
in muted gray, centered.
4. Features — 3-column grid. Each card: icon (use emoji), bold title,
2-line description. Hover state: border darkens to #d1d5db,
translateY(-2px), transition 200ms ease.
5. How it works — alternating left/right layout, 3 steps. Number badge,
heading, description, placeholder screenshot card.
6. Pricing — 2 tiers side by side. Free tier: outlined card. Pro tier:
black background, white text, "Most popular" badge. List 4 features
each with checkmarks.
7. CTA banner — full-width dark section, centered heading, subtext,
single CTA button.
8. Footer — 4-column links, copyright line, minimal.
Animations — implement all of these:
- Fade-in + translateY(20px) to translateY(0) on scroll for every section,
using IntersectionObserver. Threshold 0.15. Duration 500ms ease-out.
- Staggered animation on feature cards: 100ms delay between each card.
- Navbar CTA button: background transitions from black to #333 on hover,
200ms ease.
- Hero CTA primary: same hover transition. Secondary: background goes from
transparent to #f3f4f6 on hover.
- Smooth scroll on all anchor links.
- Navbar border-bottom fades in on scroll past 60px using JS scroll event.
Constraints:
- Single file only — all CSS and JS embedded, no external files
- No dependencies except Google Fonts via CDN link tag
- All placeholder images replaced with styled gray div elements
- Must be pixel-perfect at 375px mobile and 1440px desktop
- No CSS frameworks, no utility classes from external sources
Done When:
- All 8 sections render correctly at both breakpoints
- All animations trigger on scroll without layout shift
- Navbar sticks and border appears on scroll
- Hover states work on all interactive elements
- Opens in browser with zero console errors🎯 Target: Claude Code · 💰 Tokens: Medium (~380) · 💡 Strategy: Every vague Notion aesthetic cue translated into exact hex values and pixel specs — Claude Code cannot guess wrong. Animations defined with exact timing, method, and trigger so there is no interpretation needed.
🤝 Works With Any AI Tool
Prompt Master includes specific profiles for 20+ tools. For anything not on the list, it uses a Universal Fingerprint: 4 questions that let it write a quality prompt for any AI system it has never seen before.
Click to view all 30+ tool profiles
| Tool | Category | What Prompt Master Fixes |
|---|---|---|
| Claude 5 / current Claude | Reasoning and agentic LLM | Model-aware effort, scope, XML structure, and delegation control |
| ChatGPT / OpenAI GPT models | Reasoning and agentic LLM | GPT-6 Luna, GPT-6.1 Sol, GPT-6 Astra, and GPT-5.6 compatibility; lean contracts and verified controls |
| Codex | Coding agent | File scope, approval boundaries, verification, bounded subagents |
| Grok 4.6 | Reasoning and agentic LLM | Search grounding, reasoning effort, tools, caching, and stop conditions |
| Gemini 2.x | Reasoning LLM | Grounding anchors, citation rules, format locks |
| o3 / o4-mini | Thinking LLM | Short clean instructions only — never adds CoT (they think internally) |
| Ollama | Local LLM | Asks which model is loaded, includes system prompt for Modelfile |
| Qwen 2.5 / Qwen3 | Open-weight LLM | Chat template format, thinking vs non-thinking mode detection |
| Local models (Llama, Mistral) | Open-weight LLM | Shorter prompts, simpler structure, no complex nesting |
| DeepSeek-R1 | Reasoning LLM | Short clean instructions, strips CoT, suppresses thinking output if needed |
| MiniMax (M3 / M2.7) | Reasoning LLM | Temperature clamping, thinking tag control, structured output optimization |
| Claude Code | Agentic AI | Stop conditions, file scope, checkpoint output |
| Cursor / Windsurf | IDE AI | File path, function name, do-not-touch list, sequential prompt guidance |
| Cline (formerly Claude Dev) | Agentic IDE | File scope, approval gates, stop conditions, task breakdown |
| GitHub Copilot | Autocomplete AI | Exact function contract as docstring |
| Antigravity | Agentic IDE | Task-based prompting, Artifact verification, autonomy level |
| Bolt / v0 / Lovable | Full-stack generator | Stack spec, version, what NOT to scaffold |
| Figma Make | Full-stack generator | Component name references, frame-to-code scope |
| Google Stitch | Full-stack generator | Interface goal over implementation, Material Design 3 spec |
| Devin / SWE-agent | Autonomous agent | Starting state, target state, stop conditions |
| Manus | Autonomous agent | Task outcome focus, permission scope, memory anchors |
Lo que la gente pregunta sobre prompt-master
¿Qué es nidhinjs/prompt-master?
nidhinjs/prompt-master es skills para el ecosistema de Claude AI. A Claude skill that writes the accurate prompts for any AI tool. Zero tokens or credits wasted. Full context and memory retention Tiene 14.9k estrellas en GitHub y su última actualización registrada es del 2026-10-22.
¿Cómo se instala prompt-master?
Puedes instalar prompt-master clonando el repositorio (https://github.com/nidhinjs/prompt-master) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.
¿Es seguro usar nidhinjs/prompt-master?
Nuestro agente de seguridad ha analizado nidhinjs/prompt-master y le ha asignado un Trust Score de 100/100 (tier: Verified). Revisa el desglose completo de comprobaciones superadas y flags en esta página.
¿Quién mantiene nidhinjs/prompt-master?
nidhinjs/prompt-master es mantenido por nidhinjs. La última actividad registrada en GitHub es del 2026-10-22, con 28 issues abiertos.
¿Hay alternativas a prompt-master?
Sí. En ClaudeWave puedes explorar skills similares en /categories/skills, ordenados por popularidad o actividad reciente.
¿Mantienes este repo? Muestra su Trust Score en tu README
La insignia muestra el Trust Score y el veredicto actuales de este repositorio y enlaza a esta página. Sigue los datos del catálogo: nadie puede comprar ni editar la puntuación que enseña.
[](https://claudewave.com/en/repo/nidhinjs-prompt-master)<a href="https://claudewave.com/en/repo/nidhinjs-prompt-master"><img src="https://claudewave.com/api/badge/nidhinjs-prompt-master" alt="ClaudeWave Trust Score for nidhinjs/prompt-master" width="320" height="64"></a>