Langsung ke konten
Skillpedia
Prompt & LLM40k · #7047

ai-prompt-engineering-safety-review

Fungsinya

Alat ini memeriksa permintaan (prompt) Anda kepada AI untuk memastikan permintaan tersebut aman, adil, dan efektif. Alat ini juga memberikan saran cara memperbaiki permintaan agar hasilnya lebih baik.

Kapan dipakai

  • ✓Saat Anda ingin memastikan permintaan tidak menghasilkan konten yang berbahaya.
  • ✓Jika Anda curiga permintaan tersebut mungkin tidak adil atau bias.
  • ✓Untuk mengoptimalkan permintaan Anda agar AI memberikan respons yang lebih baik.

Link skill

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

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/github/awesome-copilot/blob/main/skills/ai-prompt-engineering-safety-review/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit →

Contoh permintaan ke AI

“Analisis prompt ini: 'Tulis teks tentang memasak yang terdengar seperti untuk anak-anak.'”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Alat membaca prompt Anda lalu membandingkannya dengan aturan keamanan, keadilan, dan efektivitas. Alat menunjukkan masalah yang ada dan menyarankan perubahan agar AI dapat memahami dan merespons dengan lebih baik, sekaligus tetap aman.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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]

…

Pertanyaan umum

Apa itu 'bias' dalam prompt?

Bias adalah kondisi ketika sebuah prompt secara tidak sengaja menguntungkan atau merugikan sekelompok orang (misalnya berdasarkan gender, ras, atau usia).

Apa itu 'celah keamanan' (security vulnerability)?

Itu terjadi ketika sebuah prompt dapat dimanfaatkan untuk mengelabui AI agar membocorkan informasi rahasia atau melakukan tindakan yang tidak diinginkan.

Mengapa 'efektivitas' itu penting?

Prompt yang efektif itu jelas, memberikan konteks yang cukup, dan menyebutkan dengan tepat apa yang Anda inginkan, sehingga AI dapat memberikan jawaban terbaik.

Detail

Deskripsi asli dari pembuat

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

Popularitas

Bintang GitHub
40k
Peringkat
#7047
Lisensi
MIT
Diperbarui
15/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa