Prompting
यह क्या करती है
यह स्किल prompts बनाती और सुधारती है, और दोबारा इस्तेमाल होने वाले टेम्पलेट से prompts बनाती है। यह उन लोगों के लिए है जो AI वर्कफ़्लो बनाते हैं या अपने सहायकों के लिए बेहतर prompts चाहते हैं, तैयार सामग्री नहीं।
कब इस्तेमाल करें
- ✓जब आपको AI सहायक के लिए साफ़, दोबारा इस्तेमाल होने वाला सिस्टम prompt चाहिए।
- ✓जब कोई मौजूदा prompt कमज़ोर या अस्पष्ट नतीजे दे और उसे सुधारना हो।
- ✓जब आपको एक टेम्पलेट से prompts का सेट बनवाना हो।
Skill का लिंक
https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/Prompting/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“एक ग्राहक सहायता सहायक के लिए system prompt लिखिए, जो परिणामों और सीमाओं पर केंद्रित हो।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
स्किल लक्ष्य को परखने योग्य परिणामों के रूप में बताती है, बाधाएँ और टूल जोड़ती है, और केवल वे कदम रखती है जिनकी सच में ज़रूरत है। उसका आउटपुट एक prompt होता है जिसे आप कहीं और इस्तेमाल करें, अंतिम सामग्री नहीं।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Prompting - Meta-Prompting & Template System
Contents: Ideal State · Anti-criteria · Intent Routing · Data & Config · Gotchas · Examples · References
Generates, optimizes, and composes prompts programmatically. It's the standard library for prompt engineering — other skills call it when they need to build or improve a prompt. The output is always a prompt to be used elsewhere, never the final content itself.
Philosophy: Prompts that write prompts. Structure is code, content is data. Meta-prompting enables dynamic composition where the same template with different data generates specialized agents, workflows, and evaluation frameworks.
Ideal State
- Every prompt this library generates or optimizes articulates the ideal state, not the procedure: WHAT done looks like as testable outcomes, the CONSTRAINTS, and the high-quality TOOLS available, with the specificity moved to the outcome so the prompt is more precise, not vaguer.
- In every prompt this library generates or optimizes, the only HOW that survives is the four keep-classes (safety-gate, verified-gotcha, tool-contract, output-format-contract); every other procedural line failed the test of whether a smarter model would make it unnecessary. Deterministic tools (
*.ts) are exempt. The full standard isStandards.md§ Ideal-State Prompting. - A prompt composed from data keeps structure as code and content as data: a Handlebars template under
Templates/rendered with a data object, or from a .yaml or .json file, throughRenderTemplate.ts. - A reusable prompt captures the supplied intent, constraints, and output contract; its output contract can guide the intended downstream task; and it was tested before it was declared ready.
- When
Standards.mdis authored or audited (not on routine template renders), both official anchors were fetched and every place our standards diverge from the current official guidance is flagged.
Anti-criteria
- No reasoning choreography ("first analyze, then consider, then decide") in a prompt this library generates or optimizes: it is BLE-violating scaffolding that caps a capable model and rots as models improve.
- Meta-prompting never produces the final deliverable: it generates PROMPTS, not content.
- No template or prompt depends on specific model quirks; templates stay model-agnostic.
- No generated prompt is declared ready untested: a prompt that looks good may perform poorly.
- Standards drift is reported, never auto-adopted, and an unreachable anchor URL never blocks the work.
Intent Routing
Library skill, no Intents/ directory. Requests route to the tools and reference docs:
| Intent | Trigger | File |
|---|---|---|
| RenderTemplate (tool) | render a template, compose a prompt from data, Handlebars template | Tools/RenderTemplate.ts |
| ValidateTemplate (tool) | validate a template | Tools/ValidateTemplate.ts |
| Standards (reference) | prompt engineering standards, best practices, prompt optimization | Standards.md |
| File | Read when |
|---|---|
Standards.md |
writing, optimizing or auditing any prompt: the ideal-state standard, the keep-classes, signal-to-noise, Anthropic and research-backed practice |
References/WritingGreatSkills.md |
the prompt is a skill or intent: invocation load, information hierarchy, completion criteria, pruning |
Templates/ |
composing a prompt from data: Primitives (Briefing, Structure, Gate, Roster, Voice) (evals and judges are not composed here; they run through Assay, LIFEOS/DOCUMENTATION/Assay/AssaySystem.md § One eval system), Data/ presets, and Templates/README.md for the template system |
Setup.md |
first-time setup: the one package the template tools need (handlebars) and a read-only check |
Data & Config
Before executing, check for user customizations at:
<configRoot>/LIFEOS/USER/CUSTOMIZATIONS/SKILLS/Prompting/
configRoot is $CLAUDE_CONFIG_DIR when set, else ~/.claude.
If this directory exists, load and apply any PREFERENCES.md, configurations, or resources found there. These override default behavior. If the directory does not exist, proceed with skill defaults.
First-time setup for the template tools is in Setup.md.
Gotchas
Tools/is the only tool directory. A byte-identical stale copy underTemplates/Tools/was removed on 2026-10-14 (LOSIntegrity cruft sweep); edit and importTools/, whichTools/RenderTemplate.test.tscovers.
Example
अक्सर पूछे जाने वाले सवाल
क्या यह अंतिम सामग्री लिखती है?
नहीं। आउटपुट हमेशा एक prompt होता है जिसे किसी दूसरे काम के साथ इस्तेमाल किया जाए, तैयार पाठ नहीं।
यह इतने कम कदम क्यों रखती है?
यह उन कदमों को हटाती है जिनकी एक सक्षम मॉडल को ज़रूरत नहीं होगी, और केवल सुरक्षा नियम, सत्यापित सुझाव, टूल विवरण और आउटपुट फ़ॉर्मेट रखती है।
क्या यह एक साथ कई prompts बना सकती है?
हाँ। एक ही टेम्पलेट अलग-अलग डेटा के साथ विशेष prompts बना सकता है।
जानकारी
लेखक का मूल विवरण
Meta-prompting standard library for generating, optimizing, and composing prompts programmatically via Standards, Handlebars Templates, and Tools; output is always a prompt to use elsewhere, not final content. USE WHEN meta-prompting, template generation, prompt optimization, prompt engineering, write a prompt, create system prompt, Handlebars template. NOT FOR generating final content (use the appropriate domain skill), or any eval: judge prompts, rubrics, scoring, grading or comparing outputs all run through Assay, the one eval system.
repo: danielmiessler/LifeOS
लोकप्रियता
- GitHub स्टार
- 20k
- रैंकिंग में स्थान
- #10447
- लाइसेंस
- MIT
- अपडेट की गई
- 28/10/2026
कमेंट
- …
इस repository की और skills
LifeOS
20kआपके एजेंट को LifeOS सेट करने में मदद करती है, एक निजी प्रणाली जो एक इंटरव्यू और डैशबोर्ड से आपकी मौजूदा स्थिति को आपके आदर्श लक्ष्य से जोड़ती है।
AnnualReports
20kआपके एजेंट को प्रमुख विक्रेताओं की साइबर सुरक्षा वार्षिक रिपोर्ट खोजने और तुलना करने में मदद करती है, जैसे उल्लंघन और ransomware के रुझान, हर आँकड़े के स्रोत के साथ।
ApertureOscillation
20kआपके एजेंट को एक डिज़ाइन सवाल को संकीर्ण और व्यापक दायरे में परखना सिखाती है, फिर बनाने से पहले बताना कि दोनों जवाब कहाँ टकराते हैं।
Aphorisms
20kआपके एजेंट को एक चुने हुए संग्रह से श्रेय वाले उद्धरण खोजने, मिलाने और उनका रिकॉर्ड रखने देती है, और हाल में आपके न्यूज़लेटर में इस्तेमाल हुए उद्धरण छोड़ देती है।
मिलती-जुलती skills
writing-skills
311kयह आपके एजेंट को नई स्किल लिखना और हर एक को पहले टेस्ट करना सिखाती है, यह जांचते हुए कि स्किल सच में उसका व्यवहार बदलती है।
writing-for-agents
310kAI एजेंट्स के लिए साफ़ निर्देश कैसे लिखें, यह समझाती है, जिसमें स्किल, AGENTS.md और CLAUDE.md फ़ाइलें शामिल हैं, ताकि एजेंट अनुमानित ढंग से व्यवहार करे।
bengali-nlp
280kयह आपके एजेंट को Bengali text प्रोसेस करने देता है। यह भाषा को समझने और उसके text को normalize करने जैसी उसकी खास बातों को संभालने में मदद करता है।