मुख्य सामग्री पर जाएँ
Skillpedia
प्रॉम्प्ट और LLM40k · #7346

prompt-optimizer

यह क्या करती है

यह tool साधारण text विचारों या बताए गए काम को AI chat में इस्तेमाल होने वाली पूरी और बेहतर की गई कमांड (prompt) में बदल देता है। यह ध्यान रखता है कि आखिरी prompt में भरने के लिए कोई खाली जगह न हो और वह तुरंत काम करे।

कब इस्तेमाल करें

  • ✓जब आपके मन में prompt का विचार हो, लेकिन उसे अच्छे से लिखना न आता हो।
  • ✓जब आपका इस्तेमाल किया हुआ prompt उम्मीद के मुताबिक नतीजा न दे।
  • ✓जब आप मौजूदा prompt को बेहतर AI जवाबों के लिए सुधारना चाहें।

Skill का लिंक

https://github.com/github/awesome-copilot/blob/main/skills/prompt-optimizer/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/github/awesome-copilot/blob/main/skills/prompt-optimizer/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“इस विचार को तैयार इस्तेमाल होने वाले prompt में बदलो: 'मुझे tech news का सारांश चाहिए, लेकिन उसे कोई गैर-विशेषज्ञ भी आसानी से समझ सके।'”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

यह tool आपकी ज़रूरत का विश्लेषण करता है और prompt को साफ, सीधा और पूरा बनाने के लिए फिर से लिखता है। यह AI को समझदारी से काम करने के निर्देश जोड़ता है और ज़रूरत पड़ने पर अतिरिक्त जानकारी माँगने को कहता है, लेकिन आपके भरने के लिए कोई खाली जगह नहीं छोड़ता।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Prompt Optimizer

You turn whatever the user gives you — a rough draft, a vague idea, a task description, a paragraph of context — into a single high-quality prompt designed to run inside any chat interface with an LLM model.

This is for chat interfaces (Claude, Codex, Copilot, or any other tool/LLM model), not the API. The user is going to paste a single message into chat. There is no system prompt, no effort parameter, no tool config to tune. The prompt itself has to do all the work.

Two hard rules

These two rules override everything else in this skill. Read them, then re-read them.

Rule 1 — No placeholders. Ever.

Never produce a prompt that contains [paste X here], [your content], {topic}, <your_input_here>, [INSERT Y], ___, or any other template variable the user is expected to fill in. The user must be able to copy your output, paste it into chat, hit send, and have a working interaction. If the prompt requires content the user hasn't provided yet, the prompt itself must handle that — see Rule 2.

If you catch yourself typing square brackets around a noun, stop. That's a placeholder. Rewrite.

Rule 2 — Ship a finished prompt no matter what the user gave you.

Two cases:

Case A — the user gave you real content (a draft they wrote, code, a document, a list of items, a specific question, an actual product description). Bake that content directly into the optimized prompt. The whole thing — content and instructions — goes inside the code block. The user copies, pastes, sends. Done.

Case B — the user only described a class of task ("I want a prompt to triage my emails", "help me prompt an LLM model to review my code", "give me a prompt for writing LinkedIn posts about my launches"). Write the prompt as a complete, self-contained instruction that works on its own. End the instruction by either:

  • Asking the LLM model to ask the user for the specific inputs it needs ("Before drafting, ask me to share the product name, audience, and a link."), or
  • Phrasing the task so the user will naturally provide the input in their next chat turn ("I'm going to paste a batch of emails next. For each one, do the following...").

Either way: no brackets, no fill-in-the-blank, no template syntax. The prompt is final.

What you output

A single fenced code block containing the optimized prompt. Nothing else. No preamble like "Here's your prompt:". No trailing explanation of what you changed.

The prompt should end with a closing instruction that signals depth of reasoning. Choose one that matches your target model:

For models with reasoning capabilities (like Claude with extended thinking):

Think before answering (maximum reasoning)

For general-purpose LLM models:

Take time to think through this carefully before responding.

This signals to the LLM model that a thorough, reasoned approach is needed. The exact wording can be adapted to fit your model's strengths.

Why these principles work

Modern LLM models read prompts more literally, calibrate their thinking and length to perceived complexity, and reward prompts that are specific, structured, and motivated. The cookbook below is distilled from best practices in LLM prompting across multiple model families. Each rule has a reason. Treat the reasons as the point — apply them with judgment, don't paste them mechanically.

The rewrite workflow

Work through these in your head before writing the prompt. You don't need to surface them.

  1. Identify the goal. What does the user actually want produced? A document? A decision? Code? A list? An analysis? Name it concretely.
  2. Identify the audience and use. Who reads the output, and what will they do with it? This drives tone and format.
  3. Decide: Case A or Case B. Did the user provide the actual content, or just describe a class of task? This decides whether you bake content in or write a self-contained instruction (see Rule 2).
  4. Spot the gaps. Audience, format, length, constraints, examples, edge cases — note which are missing.
  5. Handle the gaps correctly. If a missing detail is non-essential, make the most useful, most defensible assumption and keep it grounded in what they wrote. If the prompt depends on user-specific inputs they have not provided, follow Rule 2: in Case B, instruct the LLM model to ask for what it needs or phrase the task so the user will provide those inputs in the next turn.

…

अक्सर पूछे जाने वाले सवाल

placeholders क्या हैं और मुझे इन्हें क्यों नहीं इस्तेमाल करना चाहिए?

Placeholders prompt में खाली जगहों जैसे होते हैं (जैसे '[आपका text यहाँ]')। इनमें बाद में आपको जानकारी भरनी पड़ती है, लेकिन यह tool ऐसे prompt बनाता है जो एक बार में तैयार इस्तेमाल हो सकें।

क्या यह tool किसी भी AI chat के लिए काम करता है?

हाँ, यह Claude, Copilot और दूसरी ज़्यादातर AI chats के लिए बना है, लेकिन API के तकनीकी इस्तेमाल के लिए नहीं।

अगर मैं काम का बहुत अस्पष्ट विवरण दूँ तो क्या होगा?

यह tool एक पूरा prompt बनाएगा जो AI को कहेगा कि जरूरी जानकारी माँगे, या AI अगली बातचीत में खुद पूछ लेगा कि उसे क्या चाहिए।

जानकारी

लेखक का मूल विवरण

Turn any rough prompt, half-formed idea, or task description into a finished, ready-to-send prompt optimized for any LLM model inside a chat interface — NOT the API. Use this skill whenever the user wants to write, rewrite, optimize, improve, sharpen, or polish a prompt for chat. Trigger phrases include "rewrite this prompt", "make this a better prompt", "optimize this prompt", "turn this into a p

repo: github/awesome-copilot

लोकप्रियता

GitHub स्टार
40k
रैंकिंग में स्थान
#7346
लाइसेंस
MIT
अपडेट की गई
15/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

acquire-codebase-knowledge

40k

आपके एजेंट को किसी मौजूदा code प्रोजेक्ट को समझने और उसका documentation बनाने में मदद करता है। यह नए लोगों को प्रोजेक्ट से जोड़ने या architecture का सार जानने में उपयोगी है।

लेखन और डॉक्यूमेंटडॉक्यूमेंटेशन

acreadiness-assess

40k

आपके एजेंट को किसी प्रोजेक्ट की AI के लिए तैयारी जाँचने और रिपोर्ट बनाने देता है। यह समझने में उपयोगी है कि प्रोजेक्ट AI tools इस्तेमाल करने के लिए कितना तैयार है।

लेखन और डॉक्यूमेंटडॉक्यूमेंटेशन

acreadiness-generate-instructions

40k

आपके एजेंट को assessment के आधार पर AI tools के लिए निर्देश बनाने में मदद करता है। यह बताता है कि AI कोड के साथ बेहतर कैसे काम करे और पहचानी गई कमियाँ कैसे दूर हों।

लेखन और डॉक्यूमेंटडॉक्यूमेंटेशन

acreadiness-policy

40k

आपके एजेंट को AI प्रोजेक्ट assessment के लिए नीतियाँ तय करने या लागू करने में मदद करता है। यह प्रोजेक्ट्स के मूल्यांकन को मानक बनाने और compliance सुनिश्चित करने में उपयोगी है।

AI और एजेंटएजेंट

मिलती-जुलती skills