[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-75083":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":10,"languages":10,"totalLinesOfCode":10,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":15,"forks30d":15,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":22,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":30,"readmeContent":31,"aiSummary":32,"trendingCount":15,"starSnapshotCount":15,"syncStatus":33,"lastSyncTime":34,"discoverSource":35},75083,"prompt-master","nidhinjs\u002Fprompt-master","nidhinjs","A Claude skill that writes the accurate prompts for any AI tool. Zero tokens or credits wasted. Full context and memory retention","",null,9076,1070,155,18,0,149,512,950,447,115.09,"MIT License",false,"main",true,[26,27,28,29],"claude-ai","claude-skills","llm","prompt-engineering","2026-06-12 04:01:17","![](https:\u002F\u002Fi.postimg.cc\u002FkG03s7tk\u002Fprompt-banner.png)\n\n\u003Cbr\u002F>\n\nA 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.\n\n**Works with:** Claude, ChatGPT, Gemini, o1\u002Fo3, 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.\n\n---\n\n## 🚀 Installation\n\n### RECOMMENDED - Claude.ai (browser)\n\n1. Download this repo as a ZIP\n2. Go to **claude.ai → Sidebar → Customize → Skills → Upload a Skill**\n\n\n### OR Clone directly into Claude Code skills directory (Not Suggested)\n\n```bash\nmkdir -p ~\u002F.claude\u002Fskills\ngit clone https:\u002F\u002Fgithub.com\u002Fnidhinjs\u002Fprompt-master.git ~\u002F.claude\u002Fskills\u002Fprompt-master\n```\n\n## 🔥 The Problem This Solves\n\nEvery AI user wastes credits the same way:\n\n> Write vague prompt → get wrong output → re-prompt → get closer → re-prompt again → finally get what you wanted on attempt 4\n\nThat's 3 wasted API calls. Multiply by 50 prompts a day. That's real money and real time gone.\n\n### The key insight\n\n> \"The best prompt is not the longest. It's the one where every word is load-bearing.\"\n\nMost \"prompt generators\" make prompts longer. This skill makes them sharper.\n\n---\n\n## 🎯 Usage\n\nIn Claude, you can invoke the skill naturally:\n\n```\nWrite me a prompt for Cursor to refactor my auth module\n```\n\n```\nI need a prompt for Claude Code to build a REST API — ask me what you need to know\n```\n\n```\nHere's a bad prompt I wrote for GPT-4o, fix it: [paste prompt]\n```\n\n```\nGenerate a Midjourney prompt for a cyberpunk city at night\n```\n\n```\nI have a reference image — help me write a prompt to edit just the head angle\n```\n\n```\nBreak this prompt down and adapt it for Stable Diffusion\n```\n\nOr explicitly invoke it:\n\n```\n\u002Fprompt-master\n\nI want to ask Claude Code to build a todo app with React and Supabase\n```\n\n---\n\n## How It Works\n\nPrompt Master runs a structured pipeline on every request:\n\n1. **Detects the target tool** — figures out which AI system the prompt is for and routes silently to the right approach\n2. **Extracts 9 dimensions of intent** — task, input, output, constraints, context, audience, memory, success criteria, examples\n3. **Asks targeted clarifying questions** — max 3 questions if critical info is missing, never more\n4. **Routes to the right framework** — picks and applies the correct prompt architecture automatically, never shown to the user\n5. **Applies safe techniques only** — role assignment, few-shot examples, XML structure, grounding anchors, memory block as needed\n6. **Runs a token efficiency audit** — strips every word that doesn't change the output\n7. **Delivers the prompt** — one clean copyable block with a one-line strategy note\n\n---\n## Full Example #1: Generating Prompts for Images\n\n### User Input\n```\nWrite me a midjourney prompt for a realistic samurai standing in the rain at night\n```\n\n### Generated Prompt\n```\nlone samurai standing in heavy rain at night, traditional armor, \nneon reflections on wet cobblestone street, cinematic lighting, \ndramatic shadows, fog, ultra detailed, photorealistic, \nshallow depth of field --ar 16:9 --v 6 --style raw\n\nnegative: blurry, low quality, watermark, cartoon, anime, extra limbs\n```\n**🎯 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.\n\n---\n## Full Example #2: Generating Prompts for Coding\n\n### User Input\n```\nBuild a claude code prompt for a landing page for a business \ndashboard that looks and feels exactly like notion - smooth animations, \nclean ui\n```\n\n\n### Generated Prompt\n```\nObjective:\nBuild a fully detailed, production-quality static landing page for a \nbusiness dashboard product. Design must match Notion's exact aesthetic — \nclean, minimal, typographic, with smooth animations throughout.\n\nStack:\nSingle HTML file with embedded CSS and vanilla JS. No frameworks. \nNo external dependencies except Google Fonts (Inter).\n\nDesign Spec — match these exactly:\n- Background: #ffffff\n- Primary text: #1a1a1a\n- Secondary text: #6b7280\n- Border color: #e5e7eb\n- Accent: #000000\n- Font: Inter, weights 400 \u002F 500 \u002F 600 \u002F 700\n- Base spacing unit: 8px\n- Border radius: 6px on cards, 4px on buttons\n- Box shadows: 0 1px 3px rgba(0,0,0,0.08) only — no dramatic shadows\n- Buttons: black fill, white text, no border radius above 6px\n\nSections to build in order:\n1. Navbar — logo left, nav links center, \"Get started free\" CTA right. \n   Sticky on scroll, adds subtle border-bottom on scroll with JS.\n2. Hero — large left-aligned heading (max 3 lines), subtext, two CTAs \n   (primary black + secondary outlined), hero screenshot mockup \n   placeholder (gray rounded card, 16:9 ratio).\n3. Logos bar — \"Trusted by teams at...\" with 5 placeholder company names \n   in muted gray, centered.\n4. Features — 3-column grid. Each card: icon (use emoji), bold title, \n   2-line description. Hover state: border darkens to #d1d5db, \n   translateY(-2px), transition 200ms ease.\n5. How it works — alternating left\u002Fright layout, 3 steps. Number badge, \n   heading, description, placeholder screenshot card.\n6. Pricing — 2 tiers side by side. Free tier: outlined card. Pro tier: \n   black background, white text, \"Most popular\" badge. List 4 features \n   each with checkmarks.\n7. CTA banner — full-width dark section, centered heading, subtext, \n   single CTA button.\n8. Footer — 4-column links, copyright line, minimal.\n\nAnimations — implement all of these:\n- Fade-in + translateY(20px) to translateY(0) on scroll for every section, \n  using IntersectionObserver. Threshold 0.15. Duration 500ms ease-out.\n- Staggered animation on feature cards: 100ms delay between each card.\n- Navbar CTA button: background transitions from black to #333 on hover, \n  200ms ease.\n- Hero CTA primary: same hover transition. Secondary: background goes from \n  transparent to #f3f4f6 on hover.\n- Smooth scroll on all anchor links.\n- Navbar border-bottom fades in on scroll past 60px using JS scroll event.\n\nConstraints:\n- Single file only — all CSS and JS embedded, no external files\n- No dependencies except Google Fonts via CDN link tag\n- All placeholder images replaced with styled gray div elements\n- Must be pixel-perfect at 375px mobile and 1440px desktop\n- No CSS frameworks, no utility classes from external sources\n\nDone When:\n- All 8 sections render correctly at both breakpoints\n- All animations trigger on scroll without layout shift\n- Navbar sticks and border appears on scroll\n- Hover states work on all interactive elements\n- Opens in browser with zero console errors\n```\n**🎯 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.\n\n---\n\n## 🤝 Works With Any AI Tool\n\nPrompt 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.\n\n\u003Cdetails>\n\u003Csummary>\u003Ch3> Click to view all 30+ tool profiles \u003C\u002Fh3>\u003C\u002Fsummary>\n\n| Tool | Category | What Prompt Master Fixes |\n|------|----------|--------------------------|\n| **Claude** | Reasoning LLM | Removes padding, adds XML structure, specifies length |\n| **ChatGPT \u002F GPT-5.x** | Reasoning LLM | Output contract, verbosity control, completion criteria |\n| **Gemini 2.x** | Reasoning LLM | Grounding anchors, citation rules, format locks |\n| **o3 \u002F o4-mini** | Thinking LLM | Short clean instructions only — never adds CoT (they think internally) |\n| **Ollama** | Local LLM | Asks which model is loaded, includes system prompt for Modelfile |\n| **Qwen 2.5 \u002F Qwen3** | Open-weight LLM | Chat template format, thinking vs non-thinking mode detection |\n| **Local models (Llama, Mistral)** | Open-weight LLM | Shorter prompts, simpler structure, no complex nesting |\n| **DeepSeek-R1** | Reasoning LLM | Short clean instructions, strips CoT, suppresses thinking output if needed |\n| **MiniMax (M2.7 \u002F M2.5)** | Reasoning LLM | Temperature clamping, thinking tag control, structured output optimization |\n| **Claude Code** | Agentic AI | Stop conditions, file scope, checkpoint output |\n| **Cursor \u002F Windsurf** | IDE AI | File path, function name, do-not-touch list, sequential prompt guidance |\n| **Cline (formerly Claude Dev)** | Agentic IDE | File scope, approval gates, stop conditions, task breakdown |\n| **GitHub Copilot** | Autocomplete AI | Exact function contract as docstring |\n| **Antigravity** | Agentic IDE | Task-based prompting, Artifact verification, autonomy level |\n| **Bolt \u002F v0 \u002F Lovable** | Full-stack generator | Stack spec, version, what NOT to scaffold |\n| **Figma Make** | Full-stack generator | Component name references, frame-to-code scope |\n| **Google Stitch** | Full-stack generator | Interface goal over implementation, Material Design 3 spec |\n| **Devin \u002F SWE-agent** | Autonomous agent | Starting state, target state, stop conditions |\n| **Manus** | Autonomous agent | Task outcome focus, permission scope, memory anchors |\n| **OpenAI Computer Use** | Computer-use agent | Screen state, allowed apps, stop before irreversible actions |\n| **Perplexity Computer** | Computer-use agent | Artifact-first prompting, scoped permissions, verification steps |\n| **OpenClaw** | Computer-use agent | Conversational precision, persistent memory, security constraints |\n| **Perplexity \u002F SearchGPT** | Search AI | Mode spec: search vs analyze vs compare |\n| **Midjourney** | Image AI | Comma-separated descriptors, parameters, negative prompts |\n| **DALL-E 3** | Image AI | Prose description, text exclusion — edit vs generate detection |\n| **Stable Diffusion** | Image AI | Weight syntax `(word:1.3)`, CFG guidance, mandatory negative prompt |\n| **SeeDream** | Image AI | Art style first, mood and atmosphere descriptors, negative prompt |\n| **ComfyUI** | Image AI | Positive\u002Fnegative node split, checkpoint-specific syntax |\n| **Meshy \u002F Tripo \u002F Rodin** | 3D AI | Style + export format + polygon budget + rig requirements |\n| **BlenderGPT** | 3D AI | Python script output, Blender version, scene context |\n| **Unity AI** | 3D \u002F Game AI | Game genre, platform target, mechanic description over code |\n| **Sora \u002F Runway** | Video AI | Camera movement, duration, cut style |\n| **LTX \u002F Dream Machine \u002F Kling** | Video AI | Cinematic language, motion intensity, style reference |\n| **ElevenLabs** | Voice AI | Emotion, pacing, emphasis, speech rate |\n| **Zapier \u002F Make \u002F n8n** | Workflow automation | Trigger app + event, action app + field mapping |\n\n\u003C\u002Fdetails>\n\n---\n\n## 📐 12 Prompt Templates (Auto-Selected)\n\nPrompt Master picks the right architecture for every task automatically and routes silently — you never see the framework name, just the prompt.\n\n\u003Cdetails>\n\u003Csummary>\u003Ch3> Click to view all 12 templates\u003C\u002Fh3>\u003C\u002Fsummary>\n\n| Template | Best For |\n|----------|----------|\n| **RTF** (Role, Task, Format) | Fast one-shot tasks |\n| **CO-STAR** (Context, Objective, Style, Tone, Audience, Response) | Professional documents, reports, business writing |\n| **RISEN** (Role, Instructions, Steps, End Goal, Narrowing) | Complex multi-step projects |\n| **CRISPE** (Capacity, Role, Insight, Statement, Personality, Experiment) | Creative work, brand voice, iterative content |\n| **Chain of Thought** | Math, logic, debugging, multi-step analysis |\n| **Few-Shot** | Consistent structured output, pattern replication |\n| **File-Scope Template** | Cursor, Windsurf, Copilot — any code editing AI |\n| **ReAct + Stop Conditions** | Claude Code, Devin, AutoGPT — any autonomous agent |\n| **Visual Descriptor** | Midjourney, DALL-E, Stable Diffusion, Sora — generation |\n| **Reference Image Editing** | Editing an existing image — detects edit vs generate automatically |\n| **ComfyUI** | Node-based image workflows — positive\u002Fnegative split per checkpoint |\n| **Prompt Decompiler** | Breaking down, adapting, simplifying, or splitting existing prompts |\n\n\u003C\u002Fdetails>\n\n---\n\n## 🛡️ 5 Safe Techniques, Applied When Needed\n\nPrompt Master only uses techniques with reliable, bounded effects. Methods known to produce hallucinations or unpredictable output (Tree of Thought, Graph of Thought, Universal Self-Consistency, prompt chaining) are explicitly excluded.\n\n| Technique | What It Does |\n|-----------|-------------|\n| **Role Assignment** | Assigns a specific expert identity to calibrate depth and vocabulary |\n| **Few-Shot Examples** | Adds 2-5 examples when format consistency matters more than instructions |\n| **XML Structural Tags** | Wraps sections in XML for Claude-based tools that parse it reliably |\n| **Grounding Anchors** | Adds anti-hallucination rules for factual and citation tasks |\n| **Chain of Thought** | Forces step-by-step reasoning for logic tasks — never applied to o1\u002Fo3 |\n\n---\n\n## 🚫 35 Credit-Killing Patterns Detected (with Before\u002FAfter Examples)\n\n\u003Cdetails>\n\u003Csummary>\u003Ch3> Task Patterns (7)\u003C\u002Fh3>\u003C\u002Fsummary>\n\n| # | Pattern | Before | After |\n|---|---------|--------|-------|\n| 1 | **Vague task verb** | \"help me with my code\" | \"Refactor `getUserData()` to use async\u002Fawait and handle null returns\" |\n| 2 | **Two tasks in one prompt** | \"explain AND rewrite this function\" | Split: explain first, rewrite second |\n| 3 | **No success criteria** | \"make it better\" | \"Done when function passes existing unit tests and handles null input\" |\n| 4 | **Over-permissive agent** | \"do whatever it takes\" | Explicit allowed + forbidden actions list |\n| 5 | **Emotional task description** | \"it's totally broken, fix everything\" | \"Throws uncaught TypeError on line 43 when `user` is null\" |\n| 6 | **Build-the-whole-thing** | \"build my entire app\" | Break into Prompt 1 (scaffold), Prompt 2 (feature), Prompt 3 (polish) |\n| 7 | **Implicit reference** | \"now add the other thing we discussed\" | Always restate the full task, never reference \"the thing we discussed\" |\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Ch3> Context Patterns (6)\u003C\u002Fh3>\u003C\u002Fsummary>\n\n### Context Patterns\n\n| # | Pattern | Before | After |\n|---|---------|--------|-------|\n| 8 | **Assumed prior knowledge** | \"continue where we left off\" | Include Memory Block with all prior decisions |\n| 9 | **No project context** | \"write a cover letter\" | \"PM role at B2B fintech, 2yr SWE experience, shipped 3 features as tech lead\" |\n| 10 | **Forgotten stack** | New prompt contradicts prior tech choice | Always include Memory Block |\n| 11 | **Hallucination invite** | \"what do experts say about X?\" | \"Cite only sources you are certain of. If uncertain, say so.\" |\n| 12 | **Undefined audience** | \"write something for users\" | \"Non-technical B2B buyers, no coding knowledge, decision-maker level\" |\n| 13 | **No mention of prior failures** | (blank) | \"I already tried X and it failed because Y. Do not suggest X.\" |\n\n\u003C\u002Fdetails>\n\n\n\u003Cdetails>\n\u003Csummary>\u003Ch3> Format Patterns (6)\u003C\u002Fh3>\u003C\u002Fsummary>\n\n| # | Pattern | Before | After |\n|---|---------|--------|-------|\n| 14 | **Missing output format** | \"explain this concept\" | \"3 bullet points, each under 20 words, one-sentence summary at top\" |\n| 15 | **Implicit length** | \"write a summary\" | \"Write a summary in exactly 3 sentences\" |\n| 16 | **No role assignment** | (blank) | \"You are a senior backend engineer specializing in Node.js and PostgreSQL\" |\n| 17 | **Vague aesthetic adjectives** | \"make it look professional\" | \"Monochrome palette, 16px base font, 24px line height, no decorative elements\" |\n| 18 | **No negative prompts (image AI)** | \"a portrait of a woman\" | Add: \"no watermark, no blur, no extra fingers, no distortion, no text\" |\n| 19 | **Prose prompt for Midjourney** | Full descriptive sentence | \"subject, style, mood, lighting, --ar 16:9 --v 6\" |\n\n\u003C\u002Fdetails>\n\n\n\u003Cdetails>\n\u003Csummary>\u003Ch3> Scope Patterns (6)\u003C\u002Fh3>\u003C\u002Fsummary>\n\n| # | Pattern | Before | After |\n|---|---------|--------|-------|\n| 20 | **No scope boundary** | \"fix my app\" | \"Fix only login form validation in `src\u002Fauth.js`. Touch nothing else.\" |\n| 21 | **No stack constraints** | \"build a React component\" | \"React 18, TypeScript strict, no external libraries, Tailwind only\" |\n| 22 | **No stop condition for agents** | \"build the whole feature\" | Explicit stop conditions + checkpoint after each step |\n| 23 | **No file path for IDE AI** | \"update the login function\" | \"Update `handleLogin()` in `src\u002Fpages\u002FLogin.tsx` only\" |\n| 24 | **Wrong template for tool** | GPT-style prose used in Cursor | Adapted to File-Scope Template with path + scope |\n| 25 | **Pasting entire codebase** | Full repo context every prompt | Scoped to relevant function and file only |\n\n\u003C\u002Fdetails>\n\n\n\u003Cdetails>\n\u003Csummary>\u003Ch3> Reasoning Patterns (5)\u003C\u002Fh3>\u003C\u002Fsummary>\n\n| # | Pattern | Before | After |\n|---|---------|--------|-------|\n| 26 | **No CoT for logic task** | \"which approach is better?\" | \"Think through both approaches step by step before recommending\" |\n| 27 | **Adding CoT to reasoning models** | \"think step by step\" sent to o1\u002Fo3 | Removed, reasoning models think internally and CoT instructions degrade output |\n| 28 | **No self-check on complex output** | (nothing) | \"Before finishing, verify output against the constraints above\" |\n| 29 | **Expecting inter-session memory** | \"you already know my project\" | Always re-provide the Memory Block |\n| 30 | **Contradicting prior decisions** | New prompt ignores earlier architecture | Memory Block with all established facts |\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Ch3> Agentic Patterns (5)\u003C\u002Fh3>\u003C\u002Fsummary>\n\n| # | Pattern | Before | After |\n|---|---------|--------|-------|\n| 31 | **No starting state** | \"build me a REST API\" | \"Empty Node.js project, Express installed, `src\u002Fapp.js` exists\" |\n| 32 | **No target state** | \"add authentication\" | \"`\u002Fsrc\u002Fmiddleware\u002Fauth.js` with JWT verify. `POST \u002Flogin` and `POST \u002Fregister` in `\u002Fsrc\u002Froutes\u002Fauth.js`\" |\n| 33 | **Silent agent** | No progress output | \"After each step output: ✅ [what was completed]\" |\n| 34 | **Unlocked filesystem** | No file restrictions | \"Only edit files inside `src\u002F`. Do not touch `package.json`, `.env`, or any config file.\" |\n| 35 | **No human review trigger** | Agent decides everything | \"Stop and ask before: deleting any file, adding any dependency, or touching the database schema\" |\n\n\u003C\u002Fdetails>\n\n---\n\n## 🧠 Memory Block System\n\nWhen your conversation has history, Prompt Master pulls out prior decisions and prepends a Memory Block so the AI never contradicts earlier work:\n\n```\n## Memory (Carry Forward from Previous Context)\n- Stack: React 18 + TypeScript + Supabase\n- Auth uses JWT stored in httpOnly cookies, not localStorage\n- Component naming convention: PascalCase, no default exports\n- Design system: Tailwind only, no custom CSS files\n- Architecture: no Redux, context API only\n```\n\nThis is the single biggest fix for long sessions. Most wasted re-prompts come from the AI forgetting what you already decided.\n\n---\n\n## ℹ️ Version History\n\n- **1.6.0** — Opus 4.7 update. Added Template M (Opus 4.7 Task Brief). Updated Claude and Claude Code routing for literalism, adaptive thinking, xhigh effort, and session hygiene. Added patterns 36–37.\n- **1.5.0** — Added more tool routing. New Agentic AI and 3D Model AI routing added. Fixed description to 189 chars. Removed token estimate from output. Added instruction layer and copywriting placeholders\n- **1.4.0** — Added reference image editing detection, ComfyUI support, Prompt Decompiler mode. Fixed trigger description to invoke correctly in Claude Code. 3 new templates added to references folder\n- **1.3.0** — Rebuilt around PAC2026 positional structure (30\u002F55\u002F15). Silent routing replaces user-facing framework selection. References folder introduced\n- **1.2.0** — Restructured for attention architecture. Removed fabrication-prone techniques (ToT, GoT, USC, prompt chaining). Templates and patterns moved to references folder\n- **1.1.0** — Expanded tool coverage, added memory block system, 35 credit killing patterns\n- **1.0.0** — Initial release\n\n---\n\n## 📄 License\n\nMIT: See [LICENSE](LICENSE) for details.\n\n---\n\n## ⭐ Star History\n\n[![Star History Chart](https:\u002F\u002Fapi.star-history.com\u002Fsvg?repos=nidhinjs\u002Fprompt-master&type=Date)](https:\u002F\u002Fstar-history.com\u002F#nidhinjs\u002Fclaude-skills&Date)\n\n---\n","Prompt Master 是一个Claude技能，能够为任何AI工具生成精准的提示词，避免浪费令牌或积分，并保持完整上下文和记忆。其核心功能包括自动检测目标工具、提取用户意图、提出针对性问题以及优化提示词结构等，确保生成的提示词简洁有效。适用于需要与多种AI工具（如Claude、ChatGPT、Midjourney等）交互以完成特定任务的场景，比如代码重构、图像生成或是构建API等，帮助用户减少不必要的重试次数，提高工作效率。",2,"2026-06-11 03:52:15","high_star"]