|
| 1 | + |
| 2 | +https://github.com/przeprogramowani/ai-rules-builder |
| 3 | + |
| 4 | +[Онлайн генератор](https://ai-rules-builder.pages.dev/) текстових промтів-описів проекту для ШІ систем Copilot, Cursor, Windsurf, Aider, Junie. |
| 5 | + |
| 6 | +Хоча інтерфейс дуже незручний, адже потрібно багато клацати туди-сюди, це вже перший крок до кастомізації, а не просто до каталогів, як було раніше. |
| 7 | + |
| 8 | +--- |
| 9 | + |
| 10 | +Якщо почитати доки, що пишуть самі творці таких програм, вони рекомендують тримати цей файл **якомога меншого розміру**. Швидше за все, мову програмування проекту ШІ сам може визначити :) |
| 11 | + |
| 12 | +Приклад від aider [тут](https://github.com/Aider-AI/conventions/blob/main/icalendar-events/CONVENTIONS.md). |
| 13 | + |
| 14 | +Гарне просте правило: додавати туди "патч", якщо ШІ кілька разів вас не розуміє і робить не те. Можна додавати навіть просто *з чату*, наприклад у Cursor "будь ласка, напиши мені cursorrule, щоб ти припинив робити {цю конкретну річ}". |
| 15 | + |
| 16 | +Це може в результаті виглядати приблизно [так](https://github.com/PostHog/posthog/blob/master/.cursorrules): |
| 17 | +``` |
| 18 | +DO NOT GIVE ME HIGH LEVEL SHIT, IF I ASK FOR FIX OR EXPLANATION, I WANT ACTUAL CODE OR EXPLANATION! I DON'T WANT "Here's how you can blablabla" |
| 19 | +- Be casual unless otherwise specified |
| 20 | +- Be terse |
| 21 | +- Suggest solutions that I didn't think about-anticipate my needs |
| 22 | +- Treat me as an expert |
| 23 | +- Be accurate and thorough |
| 24 | +- Give the answer immediately. Provide detailed explanations and restate my query in your own words if necessary after giving the answer |
| 25 | +- Value good arguments over authorities, the source is irrelevant |
| 26 | +- Consider new technologies and contrarian ideas, not just the conventional wisdom |
| 27 | +- You may use high levels of speculation or prediction, just flag it for me |
| 28 | +- No moral lectures |
| 29 | +- Discuss safety only when it's crucial and non-obvious |
| 30 | +- If your content policy is an issue, provide the closest acceptable response and explain the content policy issue afterward |
| 31 | +- Cite sources whenever possible at the end, not inline |
| 32 | +- No need to mention your knowledge cutoff |
| 33 | +- No need to disclose you're an AI |
| 34 | +- Please respect my formatting preferences when you provide code. |
| 35 | +- Please respect all code comments, they're usually there for a reason. Remove them ONLY if they're completely irrelevant after a code change. if unsure, do not remove the comment. |
| 36 | +- Split into multiple responses if one response isn't enough to answer the question. |
| 37 | +If I ask for adjustments to code I have provided you, do not repeat all of my code unnecessarily. Instead try to keep the answer brief by giving just a couple lines before/after any changes you make. Multiple code blocks are ok. |
| 38 | +``` |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | +#prompts #githubcopilot #cursor #windsurf #aider #junie |
0 commit comments