Логотип Prompt Engineer

Prompt Engineer

Сообщество
aakashg
prompt-engineer

Use when the user asks to improve, optimize, rewrite, debug, or shorten a prompt, or asks why a prompt is producing bad output. Do NOT use for writing a Claude Code SKILL.md — that needs skill structure rules, not prompt techniques.

Add to TypingMind

Обзор

Издательaakashg
Репозиторийpm-claude-skills
Название навыкаprompt-engineer
Звёзды
116
Форки
35
Файлы в комплекте
1
ЛицензияMIT
Ссылки
  • Инструкции в формате Markdown

    Модель загружает файл SKILL.md по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Файлы в комплекте: 1

    Скрипты, шаблоны и справочные материалы, которые модель может читать во время работы. Файлы доступны только для чтения и никогда не выполняются.

  • Открытый исходный код

    Издатель навыка на GitHub — aakashg. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Prompt Engineer в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/aakashg/pm-claude-skills/tree/main/skills/prompt-engineer
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/aakashg/pm-claude-skills.git /tmp/pm-claude-skills
mkdir -p .claude/skills
cp -r /tmp/pm-claude-skills/skills/prompt-engineer .claude/skills/prompt-engineer
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Prompt Engineer в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Prompt Engineer, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Prompt Engineer не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

Prompt Engineer

Diagnose a prompt, rewrite it, and show exactly what changed and why.

Step 0 — Read first

SourcePathWhat to extract
The promptwhatever the user pastedActual wording — never paraphrase before diagnosing
Failing outputthe output they got, if providedThe failure mode; this determines the fix
Project contextCLAUDE.mdAudience, product, banned words, output preferences
Technique referencereferences/techniques.mdFull before/after examples for each technique

If the user pasted a prompt but no failing output, ask for one example of what it produced. Diagnosing from the prompt alone guesses at the failure mode.

Constraints

Mandatory.

  • Always show before and after. The user must see the diff, not just the result.
  • Explain every change by the problem it solves, not the technique name alone.
  • Preserve the user's intent. Improve how they ask, never what they are asking for.
  • Right-size the fix. A 10-line prompt that works beats a 50-line prompt that confuses.
  • Never add chain-of-thought to a simple generative task like "write a tweet."
  • Never write "be thorough and comprehensive." Name exactly what to cover.
  • Never add a role that does not match the task.
  • Never add a few-shot example below the quality bar you expect back. Bad examples teach bad patterns.
  • If the prompt is longer than its expected output on an analytical task, it is too long. Cut it.

Existence check

Before rewriting, verify:

  1. The prompt itself — the literal text, not a description of it.
  2. The goal — what the user wants the output to do or be used for.
  3. The failure — what the current output gets wrong, ideally with a sample.

If two of three are missing, do not rewrite. Ask for exactly those. Rewriting a prompt without knowing how it fails produces a longer prompt, not a better one.

Step 1 — Diagnose

Score the prompt across these dimensions. Name which ones fail.

DimensionWhat to check
RoleIs there a specific persona? Generic "you are an expert" does not count.
ContextDoes the model have enough background to do the task well?
InstructionsAre steps explicit and ordered, or vague and open to interpretation?
Output formatIs structure defined — headers, fields, length, tone?
ExamplesAre there input/output pairs showing what good looks like?
ConstraintsAre there explicit DO/DON'T rules? Edge cases handled?
EvaluationCan the model self-check its output against clear criteria?

Step 2 — Match the failure to the fix

If the user provided failing output, use this table instead of guessing.

SymptomCauseFix
Generic, "could be anyone"Missing role or weak contextAdd a specific persona with domain details
Misses the point entirelyAmbiguous — model chose a valid but wrong readingAdd a "Your goal is..." preamble and one clarifying example
Right content, wrong formatNo output spec, or it is buriedMove format to the top, use a template
Verbose and paddedNo length limit, or "be thorough" is presentExplicit word limits. Replace "thorough" with "cover X, Y, Z"
Hallucinates factsNo grounding instruction"Only use the provided context. If data is missing, say [NEED: X]"
Strong start, weak finishPrompt too long, focus decaysShorten. Move examples before instructions. Cut redundancy.
Ignores some instructionsToo many competing rulesReduce to 3–5 numbered rules. Add "These rules are mandatory."

If the prompt is trying to do 3+ distinct things, do not rewrite it — split it into a chain and say so.

Step 3 — Apply techniques

Match technique to the diagnosed problem. Not every prompt needs every technique. Full before/after examples for each are in references/techniques.md.

  • Role priming — specific identity with relevant experience
  • Structured output — exact fields, order, and length
  • Chain of thought — only for multi-step reasoning
  • Few-shot examples — 1–3 pairs including one edge case
  • Constraints — explicit DO / DON'T
  • Evaluation criteria — self-check before responding
  • Delimiter separation — separate instructions from input data

Output template

Exact sections, exact order.

## Diagnosis
[2-3 sentences. Which dimensions fail and what that causes in the output.]

## Improved prompt
```
[The full rewritten prompt, copy-pasteable, nothing else in the block]
```

## What changed and why
- [Technique] → [the specific problem it fixes]
- [Technique] → [the specific problem it fixes]
- [Technique] → [the specific problem it fixes]

## How to test it
Run it with [specific input]. You should see [specific difference].
If it still fails, try [fallback].

Example

Before:

Write a competitive analysis of Notion.

Diagnosis: No role, no structure, no audience, no scope, no output format. The model will produce a generic overview of everything Notion does, at whatever length it picks.

After:

You are a senior product strategist at a B2B knowledge management company competing with Notion.

Analyze Notion's AI features specifically. Structure your analysis as:

1. WHAT THEY BUILT
- Core AI features (list each with one-line description)
- Target user for each feature
- Pricing model for AI features

2. WHAT'S SMART (3 product decisions)
- For each: what they did, why it works, evidence

3. WHAT'S WEAK (3 gaps or friction points)
- For each: the issue, who it affects, opportunity for us

4. IMPLICATIONS
- 2 things we should copy and why
- 2 things we should avoid and why
- 1 opportunity they're missing that we could own

Rules:
- Be specific. "Good UX" is not analysis. Name the interaction and explain why it works.
- If you don't have data, say "[NEED: data on X]" instead of guessing.
- Keep total output under 800 words.

What changed and why:

  • Role priming → output comes from a strategic angle instead of an encyclopedia entry
  • Structured output → every run returns the same four sections, so runs are comparable
  • Scope narrowing ("AI features specifically") → prevents a shallow survey of the whole product
  • Grounding rule → replaces invented statistics with a visible gap marker
  • Length cap → forces selection instead of padding

How to test it: Run both versions. The original will open with "Notion is an all-in-one workspace." The rewrite will open with a named feature and a pricing tier.

Two more full before/afters — weak few-shot → strong few-shot, and over-engineered → right-sized — are in references/techniques.md.

Shortcuts Claude takes

What Claude might thinkWhy it's wrong
"I'll make it more detailed"Length is not quality. Most broken prompts get better by cutting.
"Add a role to be safe"An irrelevant role ("world-class neurosurgeon" on a marketing brief) adds noise.
"The user knows what changed, skip the diff"The diff is the teaching. Without it they cannot improve the next prompt themselves.
"I'll improve the task while I'm here"Never change what they are asking for. Only how they ask it.
"One example is enough, I'll write it quickly"A sloppy example teaches sloppiness. The example is the quality bar.
"This prompt does five things, I'll just tighten it"Five things needs a chain, not a tighter paragraph. Say so.

Exit checklist

Not complete until every box is checked. Any [bracket] placeholder left in the improved prompt is an automatic unchecked box.

  • Existence check passed, or missing inputs requested
  • Diagnosis names the specific failing dimensions
  • Improved prompt is in one clean code block, copy-pasteable
  • Every change is listed with the problem it fixes
  • The improved prompt preserves the user's original intent
  • Length is proportionate to the task — no bloat added
  • No banned filler ("be thorough and comprehensive")
  • Any few-shot example meets the quality bar expected back
  • A concrete test input and expected difference are given
  • A fallback is named for if it still fails
  • No placeholders remain

Next

  • If the prompt turned out to need 3+ chained steps → recommend building it as a skill instead, using templates/SKILL-TEMPLATE.md.
  • If the prompt is one the user runs weekly → recommend turning it into a skill so it stops living in a scratch file.
  • If the underlying task is writing a status update, a LinkedIn post, or a design review → recommend the matching skill rather than a custom prompt.

Файлы в комплекте

Модель читает эти файлы по мере необходимости, пока навык загружен. Они доступны только для чтения и никогда не выполняются.

Часто задаваемые вопросы

Что делает навык ИИ Prompt Engineer?

Use when the user asks to improve, optimize, rewrite, debug, or shorten a prompt, or asks why a prompt is producing bad output. Do NOT use for writing a Claude Code SKILL.md — that needs skill structure rules, not prompt techniques.

Зачем использовать Prompt Engineer в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Prompt Engineer — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Prompt Engineer в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/aakashg/pm-claude-skills/tree/main/skills/prompt-engineer. TypingMind прочитает файл SKILL.md, включит сопутствующие файлы в пакет и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Prompt Engineer?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Prompt Engineer?

С любым количеством. В TypingMind вы можете использовать Prompt Engineer с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Prompt Engineer?

Да. Навык опубликован на GitHub по лицензии MIT. Издатель — aakashg. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все
Логотип openclaw

Openclaw Refactor Docs

openclaw
ОрганизацияПопулярный

Переработайте существующую страницу документации OpenClaw: сохраните подтверждённую источниками информацию, измените структуру и проверьте результат.

82.2K
391K
Инструкции
Открыть
Логотип openclaw

Openclaw Repair Sweep

openclaw
ОрганизацияПопулярный

Проводите кампании по исправлению выбранных проблем и PR в OpenClaw: координируйте исполнителей, устанавливайте первопричины и вносите исправления или закрывайте проверенные задачи в пределах запрошенных полномочий.

82.2K
391K
Файлы: 1
Открыть
Логотип openclaw

Openclaw Test Performance

openclaw
ОрганизацияПопулярный

Сравнивайте производительность, диагностируйте проблемы и оптимизируйте время выполнения тестов OpenClaw и набора тестов плагинов, узкие места при импорте, загрузку CPU и RSS, рост кучи и медленные пути покрытия кода.

82.2K
391K
Файлы: 1
Открыть
Логотип openclaw

Openclaw Testing

openclaw
ОрганизацияПопулярный

Выбирайте подходящие по масштабу тесты и проверки OpenClaw, диагностируйте сбои и направляйте вопросы, зависящие от окружения, и подтверждение релиза ответственным за них специалистам.

82.2K
391K
Файлы: 2
Открыть

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇