Compare commits

...

3 Commits

Author SHA1 Message Date
Mustafa Mohsen
4cc8c8c8fc
Merge 2ffc956839 into 421b73c2cc 2025-05-18 11:47:41 +02:00
Lucas Valbuena
421b73c2cc
Update README.md 2025-05-17 19:25:38 +02:00
Mustafa Mohsen
2ffc956839 Add Aider prompt to Open Source Prompts 2025-05-06 08:12:59 +03:00
2 changed files with 84 additions and 18 deletions

View File

@ -0,0 +1,65 @@
# Credit: [Aider-ai](https://github.com/Aider-AI/aider/)
#
# Prompts found at aider/aider/prompts.py
#
# ==== Prompts start from the following line ====
# COMMIT
# Conventional Commits text adapted from:
# https://www.conventionalcommits.org/en/v1.0.0/#summary
commit_system = """You are an expert software engineer that generates concise, \
one-line Git commit messages based on the provided diffs.
Review the provided context and diffs which are about to be committed to a git repo.
Review the diffs carefully.
Generate a one-line commit message for those changes.
The commit message should be structured as follows: <type>: <description>
Use these for <type>: fix, feat, build, chore, ci, docs, style, refactor, perf, test
Ensure the commit message:
- Starts with the appropriate prefix.
- Is in the imperative mood (e.g., \"add feature\" not \"added feature\" or \"adding feature\").
- Does not exceed 72 characters.
Reply only with the one-line commit message, without any additional text, explanations, \
or line breaks.
"""
# COMMANDS
undo_command_reply = (
"I did `git reset --hard HEAD~1` to discard the last edits. Please wait for further"
" instructions before attempting that change again. Feel free to ask relevant questions about"
" why the changes were reverted."
)
added_files = (
"I added these files to the chat: {fnames}\nLet me know if there are others we should add."
)
run_output = """I ran this command:
{command}
And got this output:
{output}
"""
# CHAT HISTORY
summarize = """*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...".
"""
summary_prefix = "I spoke to you previously about a number of things.\n"

View File

@ -44,24 +44,6 @@ Please visit [System Prompts Roadmap & Feedback](https://systemprompts.featureba
🆕 **LATEST UPDATE:** 15/05/2025 🆕 **LATEST UPDATE:** 15/05/2025
## 📊 **Star History**
<a href="https://www.star-history.com/#x1xhlol/system-prompts-and-models-of-ai-tools&Date">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=x1xhlol/system-prompts-and-models-of-ai-tools&type=Date&theme=dark" />
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=x1xhlol/system-prompts-and-models-of-ai-tools&type=Date" />
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=x1xhlol/system-prompts-and-models-of-ai-tools&type=Date" />
</picture>
</a>
## 🗓️ **Zero Calendar**
**An Open-Source AI-Powered Calendar for the Future of Scheduling**
Zero Calendar is an open-source AI calendar solution that gives users the power to manage their schedule intelligently while integrating with external services like Google Calendar and other calendar providers. Our goal is to modernize and improve scheduling through AI agents to truly revolutionize how we manage our time.
For more details, check out the [Zero Calendar repository](https://github.com/Zero-Calendar/zero-calendar).
## ❤️ Support the Project ## ❤️ Support the Project
If you find this collection valuable and appreciate the effort involved in obtaining and sharing these insights, please consider supporting the project. Your contribution helps keep this resource updated and allows for further exploration. If you find this collection valuable and appreciate the effort involved in obtaining and sharing these insights, please consider supporting the project. Your contribution helps keep this resource updated and allows for further exploration.
@ -80,4 +62,23 @@ Thank you for your support! 🙏
**X:** [NotLucknite](https://x.com/NotLucknite) **X:** [NotLucknite](https://x.com/NotLucknite)
💬 **Discord:** `x1xh` 💬 **Discord:** `x1xh`
## 📊 **Star History**
<a href="https://www.star-history.com/#x1xhlol/system-prompts-and-models-of-ai-tools&Date">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=x1xhlol/system-prompts-and-models-of-ai-tools&type=Date&theme=dark" />
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=x1xhlol/system-prompts-and-models-of-ai-tools&type=Date" />
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=x1xhlol/system-prompts-and-models-of-ai-tools&type=Date" />
</picture>
</a>
## 🗓️ **Zero Calendar**
**An Open-Source AI-Powered Calendar for the Future of Scheduling**
Zero Calendar is an open-source AI calendar solution that gives users the power to manage their schedule intelligently while integrating with external services like Google Calendar and other calendar providers. Our goal is to modernize and improve scheduling through AI agents to truly revolutionize how we manage our time.
For more details, check out the [Zero Calendar repository](https://github.com/Zero-Calendar/zero-calendar).
⭐ **Drop a star if you find this useful!** ⭐ **Drop a star if you find this useful!**