Skillpedia
الوكلاء48k · #5076

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) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/llm-app-patterns/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“كيف أنظّم أجزاء تطبيق الذكاء الاصطناعي بحيث يستخدم البيانات والأدوات الخارجية بأمان؟”

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.

repo: sickn33/agentic-awesome-skills

الشعبية

نجوم GitHub
48k
الترتيب
#5076
الترخيص
MIT
آخر تحديث
15‏/10‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة