llm-app-patterns
ما الذي تفعله
يساعدك هذا الدليل على تخطيط بناء تطبيقات تستخدم الذكاء الاصطناعي، مثل روبوتات الدردشة والمساعدات الافتراضية. يوضح كيفية ربط الذكاء الاصطناعي بأدوات وبيانات أخرى، بما يضمن عمل كل شيء بأمان وصحة.
متى تستخدمها
- ✓عندما تخطط لكيفية عمل تطبيق الذكاء الاصطناعي الخاص بك.
- ✓عندما تريد أن يستخدم الذكاء الاصطناعي معلومات خارجية للرد.
- ✓عندما تبني مساعدًا ذكيًا يستطيع استخدام أدوات (مثل الآلة الحاسبة أو البحث في الإنترنت).
رابط المهارة
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/llm-app-patterns/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“كيف أنظّم أجزاء تطبيق الذكاء الاصطناعي بحيث يستخدم البيانات والأدوات الخارجية بأمان؟”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يقدم خارطة طريق وأمثلة لربط أجزاء مختلفة من تطبيق الذكاء الاصطناعي. تحدد البيانات والأدوات التي يستطيع الذكاء الاصطناعي استخدامها وطريقة تصرفه، لضمان الأمان والدقة.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
🤖 LLM Application Patterns
Architecture and integration sketches for LLM applications, with explicit retrieval, tool, privacy and verification boundaries.
Detailed Guide
Read the detailed guide before executing this skill. It retains the complete procedure and reference material. Treat its safety, prerequisites, and validation requirements as mandatory. For focused work, load the relevant sections; for end-to-end work, read the guide completely.
When to Use This Skill
Use this skill when:
- Designing LLM-powered applications
- Implementing RAG (Retrieval-Augmented Generation)
- Building AI agents with tools
- Setting up LLMOps monitoring
- Choosing between agent architectures
Inputs, worked example and verification
Record provider/SDK versions, authorized data and tools, request/response schemas, latency/cost budgets and the expected task outcome. All code above is an integration sketch: llm, database, parser and provider-response adapters are project-owned and must be implemented explicitly. Never execute model-provided Python, expressions or fuzzy tool names; dispatch only exact registered tools after schema and authorization checks. Enforce per-call deadlines as well as loop limits.
Example: a planner first queues steps A and B, then after A replaces the remaining work with C. The executor must run A then C, never stale B. A parser step must apply the parser to the actual prior output. Two tenants with the same prompt must produce different cache keys, and cache reads/writes require an explicit reuse policy. These are concrete regression assertions; successful mocks still do not prove live provider behavior.
The limiter sketch is single-threaded and process-local. A distributed deployment needs a shared atomic limit and deadlines. Retry only retry-safe operations, honoring provider retry guidance; a timeout after a side effect is not evidence that nothing happened. See Tenacity retry predicates.
Limitations
- A retrieved source list does not prove each answer claim is supported; verify claim-to-source evidence and abstention behavior.
- Prompt text and JSON-shaped output are not authorization boundaries. Enforce permissions in the application.
- Provider failover can change output quality, tool schemas, cost and data residency; only use pre-approved compatible fallbacks.
- Caching must respect tenant access, data/prompt revisions and deletion policy; temperature zero does not make output deterministic.
- Model/SDK examples are not a complete service, benchmark or production-readiness certificate.
الأسئلة الشائعة
ما هو RAG؟
RAG (التوليد المعزَّز بالاسترجاع) تقنية تجعل الذكاء الاصطناعي يستخدم معلومات خارجية، مثل المستندات أو قواعد البيانات، ليقدم إجابات أدق وأحدث.
ما هي «الوكلاء مع الأدوات» (agents with tools)؟
هي أنظمة ذكاء اصطناعي تستطيع استخدام أدوات خارجية، مثل إجراء الحسابات أو البحث في الإنترنت، لإنجاز مهام أكثر تعقيدًا.
لماذا أهتم بالأمان والحدود؟
من المهم تحديد حدود واضحة لما يستطيع الذكاء الاصطناعي الوصول إليه وفعله. هذا يمنعه من الوصول إلى معلومات غير مناسبة أو تنفيذ إجراءات غير مرغوبة، ويضمن الاستخدام الآمن للبيانات والأدوات.
التفاصيل
الوصف الأصلي من المؤلف
Architecture and integration sketches for LLM applications, with explicit retrieval, tool, privacy and verification boundaries.
الشعبية
- نجوم GitHub
- 48k
- الترتيب
- #5076
- الترخيص
- MIT
- آخر تحديث
- 15/10/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
00-andruia-consultant
48kيساعد وكيلك على بدء مشاريع الذكاء الاصطناعي أو تحسينها. يحلل الكود ويقترح الأدوات ويُعد خطط عمل بالإسبانية.
007
48kيتيح لوكيلك إجراء تدقيقات أمنية ونمذجة التهديدات. مفيد لحماية المشاريع من الهجمات والثغرات الأمنية.
10-andruia-skill-smith
48kيساعد وكيلك على إنشاء أدوات الذكاء الاصطناعي أو تحسينها. يحدد طريقة عملها، ويكتب توثيقها، ويتحقق من بنيتها.
20-andruia-niche-intelligence
48kيتيح لوكيلك إعداد ملخص عن صناعة محددة. مفيد لفهم السياق والقواعد وأنماط الاستخدام والمخاطر لمشروع ما، باستخدام مصادر موثوقة.
مهارات مشابهة
add-model-provider
394kتتيح لوكيلك ربط مزوّد نموذج ذكاء اصطناعي جديد بـ OpenClaw باستخدام أوامر إعداد آمنة، وإبقاء مفاتيح API خارج النص العادي، وإجراء اختبار حي.
acp-router
394kيساعد وكيلك على إرسال مهمة إلى مساعد برمجة مثل Claude Code أو Cursor عبر OpenClaw، فيعمل العمل داخل تلك الأداة.
browser-automation
394kتعلّم وكيلك التحكم في صفحات الويب خطوة بخطوة، بما في ذلك تسجيل الدخول والتبويبات والتعافي عندما تتوقف الصفحة عن الاستجابة.