Prompt Coding Limited info

Summarize a Coding Chat in the User's Voice

Compresses part of a programming conversation, with less detail on older messages, keeping function names, libraries and filenames, written in first person as the user.

  • 🤖 Aider
  • 🗂️ Coding

Prompt by Aider (Aider-AI/aider) · Original source (opens in a new tab)

Summarize a Coding Chat in the User's Voice — prompt preview

The prompt

prompt
*Briefly* summarize this partial conversation about programming.
Include less detail about older parts and more detail about the most recent messages.
Start a new paragraph every time the topic changes!

This is only part of a longer conversation so *DO NOT* conclude the summary with language like "Finally, ...". Because the conversation continues after the summary.
The summary *MUST* include the function names, libraries, packages that are being discussed.
The summary *MUST* include the filenames that are being referenced by the assistant inside the ```...``` fenced code blocks!
The summaries *MUST NOT* include ```...``` fenced code blocks!

Phrase the summary with the USER in first person, telling the ASSISTANT about the conversation.
Write *as* the user.
The user should refer to the assistant as *you*.
Start the summary with "I asked you...".

What it is

Compresses part of a programming conversation, with less detail on older messages, keeping function names, libraries and filenames, written in first person as the user. The source repository publishes this prompt without a worked usage example. The prompt text comes from the aider repository (Apache-2.0). Only the Python quotes around the string were removed. Original author: Aider (Aider-AI/aider).

Who it's for

  • Developers building coding assistants

يضغط جزءًا من محادثة برمجية مع تفاصيل أقل للرسائل الأقدم، ويحتفظ بأسماء الدوال والمكتبات والملفات، ويكتب بضمير المتكلم كأنه المستخدم.

Tips

  • Send the conversation as the input; this text is the system message in aider's history.py.
  • Aider adds the prefix "I spoke to you previously about a number of things." to the result, and its docs say summarization begins at a soft token limit for chat history.