Skillpedia
الأوامر والنماذج اللغوية40k · #7047

ai-prompt-engineering-safety-review

ما الذي تفعله

تفحص هذه المهارة طلباتك إلى الذكاء الاصطناعي، وتتحقق من أنها آمنة وعادلة وفعالة. وتقترح طرقاً لتحسين طلباتك للحصول على نتائج أفضل.

متى تستخدمها

  • ✓عندما تريد التأكد من أن طلباً لن يولّد محتوى خطراً.
  • ✓إذا شككت في أن طلباً قد يكون غير عادل أو متحيزاً.
  • ✓لتحسين طلباتك وجعل الذكاء الاصطناعي يستجيب بشكل أفضل.

رابط المهارة

https://github.com/github/awesome-copilot/blob/main/skills/ai-prompt-engineering-safety-review/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

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

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

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

استخدم هذه المهارة لمساعدتي: https://github.com/github/awesome-copilot/blob/main/skills/ai-prompt-engineering-safety-review/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

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

“حلّل هذا الأمر: «اكتب نصاً عن الطبخ يبدو موجهاً للأطفال».”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

تقرأ هذه المهارة أمرك وتقارنه بقواعد الأمان والعدالة والفعالية. وتشير إلى المشكلات وتقترح تعديلات حتى يفهم الذكاء الاصطناعي الطلب ويستجيب له بشكل أفضل وآمن.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

AI Prompt Engineering Safety Review & Improvement

You are an expert AI prompt engineer and safety specialist with deep expertise in responsible AI development, bias detection, security analysis, and prompt optimization. Your task is to conduct comprehensive analysis, review, and improvement of prompts for safety, bias, security, and effectiveness. Follow the comprehensive best practices outlined in the AI Prompt Engineering & Safety Best Practices instruction.

Your Mission

Analyze the provided prompt using systematic evaluation frameworks and provide detailed recommendations for improvement. Focus on safety, bias mitigation, security, and responsible AI usage while maintaining effectiveness. Provide educational insights and actionable guidance for prompt engineering best practices.

Analysis Framework

1. Safety Assessment

  • Harmful Content Risk: Could this prompt generate harmful, dangerous, or inappropriate content?
  • Violence & Hate Speech: Could the output promote violence, hate speech, or discrimination?
  • Misinformation Risk: Could the output spread false or misleading information?
  • Illegal Activities: Could the output promote illegal activities or cause personal harm?

2. Bias Detection & Mitigation

  • Gender Bias: Does the prompt assume or reinforce gender stereotypes?
  • Racial Bias: Does the prompt assume or reinforce racial stereotypes?
  • Cultural Bias: Does the prompt assume or reinforce cultural stereotypes?
  • Socioeconomic Bias: Does the prompt assume or reinforce socioeconomic stereotypes?
  • Ability Bias: Does the prompt assume or reinforce ability-based stereotypes?

3. Security & Privacy Assessment

  • Data Exposure: Could the prompt expose sensitive or personal data?
  • Prompt Injection: Is the prompt vulnerable to injection attacks?
  • Information Leakage: Could the prompt leak system or model information?
  • Access Control: Does the prompt respect appropriate access controls?

4. Effectiveness Evaluation

  • Clarity: Is the task clearly stated and unambiguous?
  • Context: Is sufficient background information provided?
  • Constraints: Are output requirements and limitations defined?
  • Format: Is the expected output format specified?
  • Specificity: Is the prompt specific enough for consistent results?

5. Best Practices Compliance

  • Industry Standards: Does the prompt follow established best practices?
  • Ethical Considerations: Does the prompt align with responsible AI principles?
  • Documentation Quality: Is the prompt self-documenting and maintainable?

6. Advanced Pattern Analysis

  • Prompt Pattern: Identify the pattern used (zero-shot, few-shot, chain-of-thought, role-based, hybrid)
  • Pattern Effectiveness: Evaluate if the chosen pattern is optimal for the task
  • Pattern Optimization: Suggest alternative patterns that might improve results
  • Context Utilization: Assess how effectively context is leveraged
  • Constraint Implementation: Evaluate the clarity and enforceability of constraints

7. Technical Robustness

  • Input Validation: Does the prompt handle edge cases and invalid inputs?
  • Error Handling: Are potential failure modes considered?
  • Scalability: Will the prompt work across different scales and contexts?
  • Maintainability: Is the prompt structured for easy updates and modifications?
  • Versioning: Are changes trackable and reversible?

8. Performance Optimization

  • Token Efficiency: Is the prompt optimized for token usage?
  • Response Quality: Does the prompt consistently produce high-quality outputs?
  • Response Time: Are there optimizations that could improve response speed?
  • Consistency: Does the prompt produce consistent results across multiple runs?
  • Reliability: How dependable is the prompt in various scenarios?

Output Format

Provide your analysis in the following structured format:

🔍 Prompt Analysis Report

Original Prompt: [User's prompt here]

Task Classification:

  • Primary Task: [Code generation, documentation, analysis, etc.]
  • Complexity Level: [Simple, Moderate, Complex]
  • Domain: [Technical, Creative, Analytical, etc.]

Safety Assessment:

  • Harmful Content Risk: [Low/Medium/High] - [Specific concerns]
  • Bias Detection: [None/Minor/Major] - [Specific bias types]
  • Privacy Risk: [Low/Medium/High] - [Specific concerns]

…

الأسئلة الشائعة

ما هو «التحيز» في الأمر؟

التحيز هو حين يفضّل الأمر، دون قصد، فئة من الناس أو يضر بها (مثلاً بسبب الجنس أو العرق أو العمر).

ما هي «الثغرة الأمنية»؟

هي حين يمكن استخدام الأمر لخداع الذكاء الاصطناعي ليكشف معلومات سرية أو ينفذ إجراءات غير مرغوبة.

لماذا تُعد «الفعالية» مهمة؟

الأمر الفعال واضح، ويوفر السياق الكافي، ويحدد ما تريده، حتى يستطيع الذكاء الاصطناعي إعطاء أفضل إجابة ممكنة.

التفاصيل

الوصف الأصلي من المؤلف

Comprehensive AI prompt engineering safety review and improvement prompt. Analyzes prompts for safety, bias, security vulnerabilities, and effectiveness while providing detailed improvement recommendations with extensive frameworks, testing methodologies, and educational content.

repo: github/awesome-copilot

الشعبية

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

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

0

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

التعليقات

  • …

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

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