prompt-writing
यह क्या करती है
यह स्किल YAML में सहेजे प्रॉम्प्ट लिखने और परिष्कृत करने का मार्गदर्शन देती है, जैसे सिस्टम प्रॉम्प्ट और एजेंट प्रॉम्प्ट। यह उन लोगों के लिए है जो AI सहायक बनाते हैं और स्पष्ट, अच्छी संरचना वाले प्रॉम्प्ट चाहते हैं।
कब इस्तेमाल करें
- ✓जब आप AI सहायक के लिए सिस्टम प्रॉम्प्ट लिख रहे हैं।
- ✓जब आप ऐसा YAML प्रॉम्प्ट टेम्पलेट सुधारना चाहते हैं जो ठीक से काम नहीं कर रहा।
- ✓जब आपको प्रॉम्प्ट में वेरिएबल और साफ़ भाग जोड़ने हैं।
Skill का लिंक
https://github.com/ModelEngine-Group/nexent/blob/develop/.claude/skills/prompts-writing/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“हमारे सपोर्ट एजेंट के मेरे YAML सिस्टम प्रॉम्प्ट को फिर से लिखिए, ताकि उसमें साफ़ भाग हों, ग्राहक के नाम के लिए प्लेसहोल्डर हों, और एक जाँच सूची हो।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
स्किल एजेंट को एक मानक YAML ढाँचा, हेडिंग, सूचियों और प्लेसहोल्डर के नियम, और एक गुणवत्ता जाँच सूची देती है। एजेंट इनसे प्रॉम्प्ट बनाता या सुधारता है और लौटाने से पहले उसकी जाँच करता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Prompt Writing
Create and optimize YAML-based prompts for AI assistants following industry best practices.
Quick Start
Standard YAML Prompt Structure
system_prompt: |-
# Section with ### header
## Subsection with ## header
Content with clear structure.
**Bold key concepts**
- Bullet points for requirements
- Consistent indentation (2 spaces)
1. Numbered lists for sequences
2. Use when order matters
user_prompt: |
Direct instructions with {{ variable placeholders }}
Key Principles
- Structure: Use
|-for multi-line system prompts,|for user prompts - Templating: Use
{{ variable }}for dynamic content - Separators: Use
---sparingly, only between major sections - Language: Keep prompts in consistent language (English recommended for templates)
Quality Checklist
Before finalizing any prompt, verify:
- No unclosed braces
{{without}} - No excessive separators (
---,***) - Consistent heading hierarchy (
###→##) - Clear variable placeholders with descriptive names
- Proper YAML indentation preserved
- No HTML tags in Markdown content
- Lists have parallel structure
Common Patterns
System Prompt with Sections
system_prompt: |-
### Role Definition
You are a professional [role name]. Your task is to [core responsibility].
### Requirements
1. First requirement
2. Second requirement
3. Third requirement
### Guidelines
- Do this
- Don't do that
- Always do this
### Output Format
Respond in plain text without separators.
Jinja2 Template Variables
user_prompt: |
Please analyze the following {{ document_type }}:
Name: {{ filename }}
Content: {{ content }}
Summary ({{ max_words }} words):
References
- Best Practices: See best-practices.md for detailed guidelines
- Templates: See templates.md for reusable patterns
- Examples: See examples.md for real-world samples
Related Tools
When working with prompts, also consider:
- YAML validation tools
- Jinja2 syntax checkers
- Markdown linters
अक्सर पूछे जाने वाले सवाल
यह कौन सा फ़ॉर्मेट इस्तेमाल करती है?
यह YAML इस्तेमाल करती है, जिसमें एक सिस्टम प्रॉम्प्ट ब्लॉक और एक उपयोगकर्ता प्रॉम्प्ट ब्लॉक होता है।
वेरिएबल कैसे लिखे जाते हैं?
डायनामिक कंटेंट के लिए डबल कर्ली ब्रेस इस्तेमाल होते हैं, जैसे डबल ब्रेस में वेरिएबल का नाम।
क्या यह परिणाम जाँचती है?
हाँ, प्रॉम्प्ट अंतिम करने से पहले उसे जाँचने के लिए स्किल में एक चेकलिस्ट है।
जानकारी
लेखक का मूल विवरण
Create, refine, and optimize high-quality YAML prompts for AI assistants. Use when working with prompt templates, system prompts, agent prompts, or any prompt engineering tasks. Provides structure guidelines, template patterns, and quality standards for YAML-based prompts.
repo: ModelEngine-Group/nexent
लोकप्रियता
- GitHub स्टार
- 6.1k
- रैंकिंग में स्थान
- #14426
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
मिलती-जुलती skills
writing-skills
311kयह आपके एजेंट को नई स्किल लिखना और हर एक को पहले टेस्ट करना सिखाती है, यह जांचते हुए कि स्किल सच में उसका व्यवहार बदलती है।
writing-for-agents
310kAI एजेंट्स के लिए साफ़ निर्देश कैसे लिखें, यह समझाती है, जिसमें स्किल, AGENTS.md और CLAUDE.md फ़ाइलें शामिल हैं, ताकि एजेंट अनुमानित ढंग से व्यवहार करे।
bengali-nlp
280kयह आपके एजेंट को Bengali text प्रोसेस करने देता है। यह भाषा को समझने और उसके text को normalize करने जैसी उसकी खास बातों को संभालने में मदद करता है।