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

system-prompts

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

यह स्किल उन निर्देशों के लिए एक लेखन शैली तय करती है जिन्हें AI मॉडल पढ़ता है, जैसे सिस्टम प्रॉम्प्ट और टूल डॉक्यूमेंटेशन। यह उन लोगों के लिए है जो प्रॉम्प्ट लिखते हैं और चाहते हैं कि वे साफ़ और एक जैसे हों।

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

  • ✓जब आप किसी AI सहायक के लिए सिस्टम प्रॉम्प्ट लिख या संपादित कर रहे हों।
  • ✓जब आप वह विवरण लिख रहे हों जो AI को बताता है कि टूल कैसे इस्तेमाल करना है।
  • ✓जब आपको ऐसी एजेंट परिभाषा चाहिए जो एक जैसी और जाँचने में आसान हो।

Skill का लिंक

https://github.com/can1357/oh-my-pi/blob/main/.omp/skills/system-prompts/SKILL.md

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

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

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

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

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

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

“हमारे सपोर्ट सहायक के लिए एक सिस्टम प्रॉम्प्ट लिखिए, जिसमें साफ़ MUST और MUST NOT नियम हों और जवाब देने से पहले एक छोटी चेकलिस्ट हो।”

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

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

एजेंट सेक्शन टैग का एक जैसा सेट, अनिवार्य, वर्जित और वैकल्पिक व्यवहार के लिए मानक शब्द, और एक घना आदेशात्मक शैली इस्तेमाल करता है। वह यह भी नोट करता है कि बहुत छोटे मॉडल को अलग तरीके की ज़रूरत पड़ सकती है।

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

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

System Prompts

House style: dense, imperative, RFC-keyed.

Small models (≤2B; tiny/on-device, e.g. LFM2): MUST read small-models.md. Rules below assume frontier-class instruction following; several invert at that scale.

Tags

Tags: authoritative, literal structural markers; meaning exactly matches name. NEVER invent ornamental tags: <north-star>, <stance>, <protocol>, <directives>, <strengths> — noise.

Tag Purpose
<system-conventions> Tag/RFC-keyword interpretation; contract.
<stakes> Correctness importance; domain framing.
<communication> Voice, tone, response shape.
<critical> Inviolable rules; place at START and END.
<completeness> Done definition; anti-shrink rules.
<yielding> Pre-yield checklist; block conditions.
<workflow> Numbered phases: scope → edit → decompose → work → verify.

Normative Language

RFC 2119: full caps, no bold; all-caps form is the marker.

Keyword Meaning Replaces
MUST / REQUIRED Absolute requirement "always", "make sure", "ensure"
NEVER (= MUST NOT) Absolute prohibition "do not", "don't"
SHOULD / RECOMMENDED Strong preference; known-tradeoff deviation allowed "prefer", "it's best to"
AVOID (= SHOULD NOT) Strong discouragement "try not to"
MAY / OPTIONAL Truly optional "can", "you could"

Aliases: prefer NEVER to MUST NOT; AVOID to SHOULD NOT. Both: single-token in cl100k/o200k; identical authority.

Near top, inside <system-conventions>, state once:

RFC 2119 applies to MUST, REQUIRED, SHOULD, RECOMMENDED, MAY, OPTIONAL. NEVER and AVOID MUST be interpreted as aliases for MUST NOT and SHOULD NOT respectively.

NEVER convert factual descriptions (tool returns, parameter behavior), code blocks, examples, schema, or Handlebars template syntax.

Density

Load-bearing tokens only; every bullet adds a claim.

  • One claim/bullet; cut behavior-neutral subclauses.
  • Quick check X? Y. replaces “If X, then Y.”
  • Reasoning ONLY when it changes the call.
  • Bold lead names rule; NEVER restate in body.
  • Prefer →, =, +/</-, B+1, A..B.
  • Parallel edits: add → +/<; delete → -; = ONLY when modifying inside.
Bad:  - **Never fabricate anchor hashes.** Hashes are 2-letter content fingerprints, not arbitrary suffixes. You cannot increment them, guess the "next" one, or compute them locally. If a needed anchor is not in your last `read` output, issue another `read`.
Good: - **NEVER fabricate anchor hashes.** Missing? Re-`read`.

Bad:  - **Do not replay the line past your range.** For `= A..B`, never end the payload with content that already exists at B+1. Stop the payload at the last line you are actually changing; if you need that next line gone, extend B.
Good: - **NEVER replay past your range.** Stop before B+1; extend B if it must go.

Tactical bullets: 5–12 words. Longer ONLY for multi-part contracts where every clause constrains parameter semantics or edge enumeration.

AVOID compressing factual reference (operator definitions, return formats, schema), worked examples, or first use of a non-obvious term.

Voice

Direct, imperative, second-person: “You MUST/NEVER/SHOULD.” No hedging, apology, ceremony, closing summaries, or time estimates.

Bad:  "You might want to consider using X..."
Good: "You SHOULD use X."

Bad:  "Please note that this is important..."
Good: "Critical: X."

Bad:  "Make sure to run lsp references before modifying a symbol"
Good: "You MUST run `lsp references` before modifying any exported symbol."

Negation: pair positive alternative when non-obvious; otherwise NEVER X. alone.

Positioning

“Lost in the Middle”: start/end retain; middle degrades ~20%. Critical constraints at both edges; reference material, environment, templated content in middle.

Front matter:

  1. Role + agency one-liner (You are THE staff engineer…).
  2. <system-conventions> — RFC contract, tag semantics.
  3. <stakes> — importance.
  4. <communication> — style.
  5. <critical> — top-priority rules.

Back matter:

  1. Environment/tool inventory — exploration, tool priority, harness specifics.
  2. Contract — completeness, yielding, workflow.
  3. Prompt >~150 lines: repeat most important <critical> rule.

Tone Patterns That Work

Live-system-prompt patterns:

  • Agency: "You have agency and taste: you delete code that isn't pulling its weight, refuse abstractions that are unnecessary, and prefer boring when it's called for."
  • **Stakes anchorin
अक्सर पूछे जाने वाले सवाल

इन प्रॉम्प्ट्स में MUST और NEVER का क्या मतलब है?

ये नियमों को पूर्ण बल के साथ चिह्नित करते हैं, ताकि मॉडल किसी आवश्यकता या निषेध को सुझाव नहीं, पक्का नियम माने।

क्या छोटे AI मॉडल के लिए भी नियम हैं?

हाँ। स्किल कहती है कि बहुत छोटे मॉडल को अलग शब्दावली चाहिए हो सकती है, और उनके लिए एक अलग गाइड की ओर इशारा करती है।

कुछ टैग नामों से क्यों बचा जाता है?

गढ़े हुए टैग बिना अर्थ के शोर जोड़ते हैं, इसलिए स्किल सिर्फ़ ऐसे टैग इस्तेमाल करती है जिनके नाम उनके काम से मेल खाते हों।

जानकारी

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

Write system prompts, tool docs, and agent definitions. Project tag conventions + RFC 2119 keywords + dense compression. Use when authoring or editing any prompt the model reads.

repo: can1357/oh-my-pi

लोकप्रियता

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

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

0

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

कमेंट

  • …

इस repository की और skills

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