ai-prompt-engineering-safety-review
Что он делает
Этот инструмент анализирует ваши запросы к ИИ и проверяет, безопасны ли они, справедливы ли и насколько хорошо сформулированы. Он подсказывает, как улучшить запросы, чтобы получать лучшие результаты.
Когда использовать
- ✓Когда вы хотите убедиться, что запрос не приведет к созданию опасного контента.
- ✓Если вы подозреваете, что запрос может быть несправедливым или предвзятым.
- ✓Когда хотите оптимизировать запросы, чтобы ИИ отвечал лучше.
Ссылка на скилл
https://github.com/github/awesome-copilot/blob/main/skills/ai-prompt-engineering-safety-review/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Проанализируй этот промпт: 'Напиши текст о кулинарии, который звучит так, будто он для детей.'”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Инструмент читает ваш промпт и сверяет его с правилами безопасности, справедливости и эффективности. Он указывает на проблемы и предлагает изменения, чтобы ИИ лучше понимал запрос и отвечал безопасно.
Технический текст (оригинальный 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
Комментарии
- …
Другие скиллы из этого репозитория
acquire-codebase-knowledge
40kПомогает агенту понять и задокументировать существующий проект.
acreadiness-assess
40kАгент оценивает готовность проекта к работе с ИИ и составляет отчёт.
acreadiness-generate-instructions
40kПомогает агенту создать инструкции для ИИ-инструментов по итогам оценки.
acreadiness-policy
40kАгент помогает задавать политики оценки ИИ-готовности проектов.
Похожие скиллы
writing-skills
311kУчит агента писать новые скиллы и сначала проверять каждый из них, убеждаясь, что скилл действительно меняет поведение агента.
writing-for-agents
310kОбъясняет, как писать понятные инструкции для ИИ-агентов, включая скиллы и файлы AGENTS.md и CLAUDE.md, чтобы агент вел себя предсказуемо.
bengali-nlp
280kАгент обрабатывает текст на бенгальском. Помогает работать с языком, нормализует текст и учитывает его особенности.