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

agent-prompt-quality-bar

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

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

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

  • ✓जब आप नए AI एजेंट के निर्देश लिख रहे हों और जांचना चाहें कि वे पूरे हैं।
  • ✓जब आप तय नहीं कर पा रहे कि आपके अनुरोध के लिए कौन-सा एजेंट टेम्पलेट ठीक है और आपको एक सामान्य मार्गदर्शन चाहिए।
  • ✓जब इस्तेमाल से पहले एजेंट के निर्देशों की अंतिम समीक्षा चाहिए।

Skill का लिंक

https://github.com/mastra-ai/mastra/blob/main/packages/editor/src/ee/workspace/skills/agent-prompt-quality-bar/SKILL.md

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

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

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

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

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

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

“मेरे AI एजेंट के ये निर्देश जांचिए और बताइए कि इस्तेमाल से पहले क्या छूटा है।”

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

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

स्किल एजेंट को ज़रूरी भागों की सूची और आम गलतियों की सूची देती है, जिनसे वह निर्देशों की जांच करता है।

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

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

Universal Agent-Prompt Quality Bar

This is the builder's compile check. If no archetype skill matches the user's request, OR if you want a final review pass after picking an archetype, follow these rules to write a great agent system prompt.

A produced agent is good only when it can finish a real run, not when it merely sounds capable.

Required run contract

Before writing the produced system prompt, instantiate this contract for the user's request:

  1. Trigger / input — what starts the run: a user message, schedule, webhook, file, spreadsheet row, support ticket, document, or event.
  2. Owned outcome — the one concrete result the agent is responsible for finishing.
  3. Available capabilities — only the tools, data sources, workflows, agents, or stored skills actually attached or available.
  4. Missing-capability fallback — what the agent must do when a required integration, credential, workspace, permission, source, or input is absent.
  5. Done criteria — how the agent proves the job is complete, including tool confirmation, read-back, tests, citations, delivery receipt, or an explicit not-run reason.
  6. Final response format — the exact receipt, report, draft, diff summary, confirmation, or escalation note the user receives.

Non-negotiable sections

Every produced agent system prompt MUST contain these sections. If any is missing, the agent will underperform.

1. Role and outcome

  • One sentence: who the agent is and the single outcome it owns.
  • Bad: "You are a helpful AI assistant."
  • Good: "You are Acme's Tier-1 Email Triager. You reply to inbound billing and account tickets, or escalate cases that need a human."

2. Trigger and input

  • Name what starts a run and what data the agent expects.
  • Bad: implicit trigger.
  • Good: "A run starts when the user provides a support ticket or a scheduled inbox workflow passes unread tickets to you."

3. Decision rules

  • 3–6 bullets stating the defaults the agent uses when the request is ambiguous.
  • Replace broad "ask the user" language with explicit choices unless action is impossible or unsafe.
  • Bad: "If unsure, ask the user."
  • Good: "If the customer didn't specify a region, default to the account's billing country and state that assumption once."

4. Capability awareness

  • Describe capabilities only if they are attached or available.
  • Phrase them in outcome terms, not internal ids.
  • Bad: "Use sheetsTool and emailWorkflow."
  • Good: "You can read and update the connected leads sheet, and you can draft follow-up emails."

5. Missing-capability fallback

  • Include explicit behavior for missing integrations, credentials, workspace, permissions, or data.
  • Bad: agent silently invents success.
  • Good: "If spreadsheet access is missing, stop and say: 'I need access to the leads sheet before I can update rows.'"

6. Communication style and final response format

  • Tone, length, structure, and exact output shape.
  • Bad: "Be friendly and helpful."
  • Good: "Return a receipt with: action taken, affected records, status, verification, and next step if any."

7. Refusals and escalations

  • What the agent will not do, and what it does instead.
  • Always include out-of-scope and missing-capability refusals.
  • For real user data or external systems, include destructive-action and privacy/security boundaries.

8. Completion criteria

  • An explicit numbered list of conditions that MUST all be true before the agent stops.
  • This is the single most important section. It is the #1 reason agents stop mid-task or wander.
  • Good:

    Completion criteria — you are NOT done until:

    1. The action was attempted, not merely planned.
    2. The result was verified by read-back, status code, test output, citation, or tool confirmation.
    3. Failures are reported with the specific item and reason.
    4. The final response follows the required format. Stop only when all four are true.

9. Worked example

  • Include one short input → behavior → final output example.
  • The example must demonstrate a complete run, including verification or a clean fallback.
  • Do not leave placeholder names or vague "then respond" endings.

Mandatory final audit rubric

Before calling the tool that writes the produced system prompt, verify every item below is true:

  • Single concrete outcome: the role owns one job, not a vague domain.
  • Named trigger/input: the prompt says exactly what starts a run.
  • **Capabilities are a
अक्सर पूछे जाने वाले सवाल

पूरे एजेंट निर्देश में क्या शामिल होता है?

ट्रिगर, परिणाम, उपलब्ध टूल, कोई चीज़ न हो तो विकल्प, पूरा होने के मानदंड और अंतिम जवाब का प्रारूप।

क्या यह केवल एक प्रकार के एजेंट के लिए है?

नहीं। यह किसी भी एजेंट पर लागू होती है, और दूसरे टेम्पलेट इसके साथ इस्तेमाल किए जा सकते हैं।

क्या यह मेरे लिए निर्देश लिख देती है?

यह निर्देश बनाने और जांचने में मदद करती है, ताकि आपका बनाया एजेंट असली काम पूरा कर सके।

जानकारी

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

Universal quality bar and final audit rubric for any agent system prompt. Activate this whenever you are unsure which archetype skill applies, or as a final review pass before writing the system prompt. It defines the required run contract, completion criteria, fallback paths, response format, and anti-patterns every produced agent prompt must satisfy.

repo: mastra-ai/mastra

लोकप्रियता

GitHub स्टार
29k
रैंकिंग में स्थान
#9372
लाइसेंस
—
अपडेट की गई
2/11/2026

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

0

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

कमेंट

  • …

इस repository की और skills

debugging-difficult-bugs

29k

यह आपके एजेंट को कठिन बग ढूंढने में मदद करती है, असली प्रोग्राम के रनटाइम लॉग से, केवल टेस्ट देखकर अंदाज़ा लगाने की जगह।

कोडिंगटेस्टिंग

mastra-frontend

29k

यह आपके एजेंट को Mastra playground डिज़ाइन सिस्टम के तैयार कॉम्पोनेंट जोड़कर ऐप स्क्रीन बनाने में मदद करती है, शुरू से स्टाइल करने की जगह।

कोडिंगवेबसाइट और UI (frontend)

pr-explainer

29k

यह आपके एजेंट को पुल रिक्वेस्ट को एक साफ़, स्व-निहित HTML पेज में बदलने में मदद करती है, जो रिव्यूअर को बदलाव समझाए।

कोडिंगसामान्य कोडिंग

pr-splitter

29k

यह आपके एजेंट को एक बड़ी, उलझी पुल रिक्वेस्ट को छोटी, रिव्यू योग्य पुल रिक्वेस्ट में बांटने में मदद करती है, मूल काम सुरक्षित रखते हुए।

कोडिंगसामान्य कोडिंग

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