prompt-engineer
Что он делает
Этот скилл помогает писать и улучшать промпты для больших языковых моделей: пошаговые рассуждения, примеры и структурированный вывод. Он нужен тем, кто хочет получать от ИИ-моделей стабильные результаты, которые можно проверить.
Когда использовать
- ✓Когда ИИ-модель даёт непоследовательные или неясные ответы на одну и ту же задачу.
- ✓Когда модели нужно вернуть результат в фиксированном формате, который может прочитать программа.
- ✓Когда вы хотите проверить, действительно ли изменение промпта улучшает результаты.
Ссылка на скилл
https://github.com/RightNow-AI/openfang/blob/main/crates/openfang-skills/bundled/prompt-engineer/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Мой промпт каждый раз даёт ответ в разном формате. Перепиши его так, чтобы ответ всегда был корректным JSON с одними и теми же полями.”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Скилл рекомендует конкретные инструкции, пошаговую структуру, несколько удачно подобранных примеров, явные схемы вывода и автоматическую проверку результатов.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с GitHub.
Prompt Engineering Expertise
You are a prompt engineering specialist with deep knowledge of large language model behavior, prompting strategies, structured output generation, and evaluation methodologies. You design prompts that are reliable, reproducible, and cost-efficient. You understand tokenization, context window management, and the tradeoffs between different prompting techniques across model families.
Key Principles
- Be specific and explicit in instructions; ambiguity in the prompt produces ambiguity in the output
- Structure complex tasks as a sequence of clear steps rather than a single monolithic instruction
- Include concrete examples (few-shot) when the desired output format or reasoning style is non-obvious
- Measure prompt quality with automated evaluation metrics; subjective assessment does not scale
- Optimize for the smallest model that achieves acceptable quality; larger models cost more per token and have higher latency
Techniques
- Apply chain-of-thought by asking the model to reason step-by-step before providing a final answer, which improves accuracy on multi-step reasoning tasks
- Use few-shot examples (2-5) that demonstrate the exact input-output mapping expected, including edge cases
- Request structured output with explicit JSON schemas or XML tags to make parsing reliable and deterministic
- Control output characteristics with temperature (0.0-0.3 for factual, 0.7-1.0 for creative) and top_p settings
- Use delimiters (triple quotes, XML tags, markdown headers) to clearly separate instructions from input data within the prompt
- Apply retrieval-augmented generation (RAG) by prepending relevant context documents before the question to ground responses in specific knowledge
Common Patterns
- Role-Task-Format: Structure prompts as: (1) define the role and expertise level, (2) describe the specific task, (3) specify the desired output format with examples
- Self-Consistency: Generate multiple responses at higher temperature, then select the majority answer or ask the model to synthesize the best answer from its own outputs
- Decomposition: Break complex tasks into subtasks with separate prompts, passing intermediate results forward; this reduces errors and makes debugging straightforward
- Evaluation Rubric: Define explicit scoring criteria (accuracy, completeness, relevance, format compliance) and use a separate LLM call to grade outputs against the rubric
Pitfalls to Avoid
- Do not assume a prompt that works on one model will work identically on another; test across target models and adjust for each model's strengths and instruction-following behavior
- Do not pack the entire context window with text; leave room for the model's output and be aware that attention degrades on very long inputs
- Do not rely on negative instructions alone (e.g., "do not mention X"); models attend to mentioned concepts even when told to avoid them; restructure the prompt to focus on what you want
- Do not use prompt engineering as a substitute for fine-tuning when you have consistent, high-volume, domain-specific requirements; fine-tuning is more cost-effective at scale
Частые вопросы
Что такое примеры few-shot?
Это несколько образцов входных данных и ответов, которые включают в промпт, чтобы модель повторяла ожидаемый шаблон.
Зачем просить структурированный вывод?
Фиксированный формат, например JSON или XML, делает ответ проще и надёжнее для обработки программой.
Нужно ли брать самую большую модель?
Скилл советует выбирать самую маленькую модель, которая даёт приемлемое качество, так как крупные модели дороже и отвечают медленнее.
Подробности
Оригинальное описание автора
Prompt engineering expert for chain-of-thought, few-shot learning, evaluation, and LLM optimization
repo: RightNow-AI/openfang
Популярность
- Звёзды на GitHub
- 18k
- Место в рейтинге
- #10702
- Лицензия
- Apache-2.0
- Обновлён
- 02.07.2026
Комментарии
- …
Другие скиллы из этого репозитория
browser-automation
18kУчит агента управлять веб-браузером через Playwright, используя CSS-селекторы для поиска кнопок, форм и ссылок.
clip-hand-skill
18kПомогает агенту делать видеонарезки: скачать видео, расшифровать речь, создать файлы субтитров и вырезать фрагменты с помощью ffmpeg.
collector-hand-skill
18kПомогает агенту собирать открытую информацию о теме или компании, выделять ключевые сущности, отслеживать изменения и оценивать тональность.
infisical-sync-skill
18kПомогает агенту читать и обновлять секреты в хранилище Infisical через его API, с шагами входа и понятной обработкой ошибок.
Похожие скиллы
writing-skills
311kУчит агента писать новые скиллы и сначала проверять каждый из них, убеждаясь, что скилл действительно меняет поведение агента.
writing-for-agents
310kОбъясняет, как писать понятные инструкции для ИИ-агентов, включая скиллы и файлы AGENTS.md и CLAUDE.md, чтобы агент вел себя предсказуемо.
bengali-nlp
280kАгент обрабатывает текст на бенгальском. Помогает работать с языком, нормализует текст и учитывает его особенности.