Logo: Prompt Context Engineer

Prompt Context Engineer

Organisatioun
pnp
prompt-context-engineer

Maacht aus all rauem Prompt, all Ufro oder Iddi e gutt strukturéierten, kontextoptiméierte Prompt no de Context-Engineering-Prinzipie vum Andrej Karpathy. Benotzt dëse Skill ëmmer, wann Dir de Prompt verbesseren, nei formuléieren, nei strukturéieren oder optiméiere wëllt, oder en „engineere“ wëllt; wann Dir Prompt-Engineering oder Context-Engineering ernimmt; wann Dir e Prompt afügt an ëm Verbesserung frot; wann Dir Hëllef braucht, fir e System-Prompt oder Instruktioune fir eng KI ze schreiwen; oder wann Dir Saache seet wéi „maach e gudde Prompt doraus“, „maach dëse Prompt méi effektiv“ oder „Claude liwwert net dat, wat ech wëll, wann ech dëse Prompt benotzen“. Benotzt en och, wann Dir eng vague Ufro deelt an ausdrécklech wëllt, datt se an e wiederverwendbaren, héichwäertege Prompt ëmgewandelt gëtt. Benotzt dëse Skill NET, fir den urspréngleche Prompt ze beäntweren oder auszeféieren, allgemeng Dokumenter ze schreiwen, déi näischt mat Prompts ze dinn hunn, oder Code oder Inhalter ze generéieren, déi net d'Formuléiere vun engem Prompt betreffen.

Add to TypingMind

Iwwersiicht

Editeurpnp
Repositorycopilot-prompts
Skill-Nummprompt-context-engineer
Stären
894
Forks
307
Matgeliwwert Dateien
5
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 5 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    pnp huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Prompt Context Engineer an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/pnp/copilot-prompts/tree/main/samples/skills/prompt-context-engineer
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/pnp/copilot-prompts.git /tmp/copilot-prompts
mkdir -p .claude/skills
cp -r /tmp/copilot-prompts/samples/skills/prompt-context-engineer .claude/skills/prompt-context-engineer
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Prompt Context Engineer an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Prompt Context Engineer automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Prompt Context Engineer net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Prompt Context Engineer

Convert a raw prompt or request into a structured prompt built on context engineering principles.

The guiding idea, from Andrej Karpathy: context engineering is "the delicate art and science of filling the context window with just the right information for the next step." A prompt is not one clever sentence — it is everything the model sees. The job is to supply each piece of context the task genuinely needs (task framing, background, examples, constraints, output format) and ruthlessly exclude everything it doesn't. Too little or wrongly-formed context and the model can't perform; too much or irrelevant context and quality degrades and cost rises.

Workflow

Follow these four steps in order.

Step 1 — Diagnose the raw prompt

Read the user's original prompt or request and determine:

  1. Target type — Is this a one-off prompt for a chat assistant, or a reusable system prompt / API instruction? Cues: "system prompt", "for my app", "API", "agent" → system prompt. Otherwise default to a chat prompt. If building a system prompt, also identify what the user turns will contain.
  2. Task type — generation (writing, code), transformation (summarize, translate, rewrite), extraction/analysis, classification, conversation/roleplay, or agentic/multi-step.
  3. Component audit — Check the raw prompt against the context component checklist below. Mark each component as PRESENT, INFERABLE (you can supply a sensible default), or UNCLEAR (genuinely ambiguous and materially affects the output).

Context component checklist:

ComponentWhat it answers
Task definitionWhat exactly should the model do? What does "done" look like?
Role / perspectiveWhat expertise or persona should the model adopt, if any?
Background / dataWhat facts, documents, or domain knowledge does the task depend on?
AudienceWho consumes the output, and at what expertise level?
Examples (few-shot)Would 1–3 input→output examples disambiguate the task?
ConstraintsLength, tone, scope, things to avoid, edge-case handling
Output formatStructure: prose, list, JSON, table, markdown, specific template
State / historyFor multi-turn or agentic prompts: what prior state must be carried?
Success criteriaHow will the user judge whether the output is good?

Not every prompt needs every component. A component is only worth including if its absence would plausibly change the output. Adding components a task doesn't need is itself a context engineering failure — it dilutes the signal.

Step 2 — Resolve gaps (infer first, ask rarely)

For each missing component:

  • INFERABLE → supply a sensible default. Choose what a thoughtful expert would assume given the task and any conversation context. Record every inference you make.
  • UNCLEAR → only mark a component UNCLEAR when reasonable defaults would diverge wildly (e.g., "write something about our product" — for whom? marketing copy or internal docs?). These get an open question.

Then, before writing the final prompt, present a single compact confirmation block:

  • List your inferences as yes/no confirmations, batched together (aim for 2–4, never more than 5). Example: "I've assumed: (1) audience is non-technical executives — yes? (2) output should be under one page — yes? (3) formal tone — yes?"
  • Append any open questions for the UNCLEAR items (at most 1–2).
  • If an interactive question/options tool is available in the environment, use it for this step; otherwise ask in plain text.

If the user confirms everything or doesn't care ("just go ahead"), proceed with the inferences. If the raw prompt is already complete and unambiguous, skip the questions entirely and go straight to Step 3 — don't manufacture questions for their own sake.

Exception — speed mode: if the user says anything like "don't ask, just rewrite it", skip all questions, infer everything, and list the assumptions beneath the finished prompt instead.

Step 3 — Engineer the prompt

Assemble the structured prompt. Apply these principles:

  1. Right information, right form. Every section earns its place. Cut anything the model doesn't need for this task. A concise summary of background beats a dump of raw material.
  2. Structure with clear delimiters. Use labeled sections. For prompts aimed at Claude, XML-style tags are the strongest delimiter (<task>, <context>, <examples>, <output_format>). Markdown headers are an acceptable alternative if the user prefers. Separate instructions from data — never interleave them.
  3. Instructions before data, format last. Order sections: role → task → background/context → examples → constraints → output format. Put long documents/data in their own clearly-tagged block.
  4. Examples over adjectives. One concrete input→output example beats three sentences of description. Include examples whenever the task has a non-obvious style or format. Write realistic, minimal examples — not bloated ones.
  5. Positive instruction. Say what to do, not only what to avoid. "Write in plain conversational sentences" beats "don't be too formal".
  6. Make success checkable. Where possible, state acceptance criteria the user (or the model itself) can verify.
  7. Placeholders for variable inputs. In reusable/system prompts, mark slots with {{VARIABLE_NAME}} and explain each slot briefly.
  8. Compression pass. Re-read the draft and delete redundant or low-value lines. Shorter prompts with high information density outperform long diluted ones.

Use the template skeletons in references/templates.md as starting points — read that file when you reach this step, pick the skeleton matching the task type, and adapt it. Don't force a skeleton onto a task it doesn't fit.

Step 4 — Deliver

Present the result in this structure:

  1. The engineered prompt in a single fenced code block so it can be copied in one click. Nothing else inside the block.
  2. What changed — 2–4 sentences (not bullets) explaining the most important structural improvements and why they matter for output quality.
  3. Assumptions made — only if any inferences were not yet confirmed; one short line each.
  4. Optional tuning levers — at most 2 suggestions for components the user could add later (e.g., "adding 2 real examples of past reports would lock in the format"), only if genuinely valuable.

Keep the commentary brief. The prompt is the deliverable; the explanation is a footnote.

Quality bar

A successfully engineered prompt should pass this self-check before delivery:

  • Could a capable model with no other context produce the desired output from this prompt alone?
  • Is every sentence in the prompt load-bearing? (If a line could be deleted without changing the output, delete it.)
  • Are instructions and data clearly separated?
  • Is the desired output format unambiguous?
  • Is it the user's intent, not a generic improvement? (The engineered prompt must stay faithful to what they asked for — don't expand scope.)

What this skill is not

  • It does not answer the original prompt. If the user says "improve this prompt: summarize this article", produce a better prompt — don't summarize the article. If intent is ambiguous (they pasted a prompt with no instruction), ask one short question: "Do you want me to restructure this as a prompt, or answer it?"
  • It does not pad. If the raw prompt is already excellent, say so, make only marginal improvements, and keep it short.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Prompt Context Engineer?

Maacht aus all rauem Prompt, all Ufro oder Iddi e gutt strukturéierten, kontextoptiméierte Prompt no de Context-Engineering-Prinzipie vum Andrej Karpathy. Benotzt dëse Skill ëmmer, wann Dir de Prompt verbesseren, nei formuléieren, nei strukturéieren oder optiméiere wëllt, oder en „engineere“ wëllt; wann Dir Prompt-Engineering oder Context-Engineering ernimmt; wann Dir e Prompt afügt an ëm Verbesserung frot; wann Dir Hëllef braucht, fir e System-Prompt oder Instruktioune fir eng KI ze schreiwen; oder wann Dir Saache seet wéi „maach e gudde Prompt doraus“, „maach dëse Prompt méi effektiv“ ode...

Firwat Prompt Context Engineer op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Prompt Context Engineer besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Prompt Context Engineer an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/pnp/copilot-prompts/tree/main/samples/skills/prompt-context-engineer an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Prompt Context Engineer benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Prompt Context Engineer benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Prompt Context Engineer domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Prompt Context Engineer gratis?

Jo. pnp huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇