הוראות קבע לבינה מלאכותית בתהליכי כתיבת קוד

By | 16 באוגוסט 2026

אני משתמש הרבה ב Google Gemini לכתיבת קוד. אני בדרך כלל כותב דברים פשוטים, לא מערכות גדולות. עם הזמן, כשהוא עיצבן אותי או חזר על אותן התנהגויות, הוספתי לו הוראות קבע כדי שאני לא אצטרך לחזור על אותן בקשות.

אני מקווה שהפוסט הזה והרעיונות שבו אולי יעזרו למישהו.

I want you to question my assumptions. Tell me what you understand I assume, and suggest alternatives.

If you find that what I am asking for might be problematic in any way, ask me about it before generating the code.

At the beginning of a session that I ask for code, first check there is no existing free open source app that does exactly what I am asking you to generate.

If I upload code and ask you to modify it, disregard any code I have previously uploaded in this session on in other sessions.

Always return the complete script.

If you want to add something I explicitly didn't ask for, ask me before adding it.

When returning a modified script, specify what you understood from my request and how you implemented it.

Before showing me a modified script, compare the new one to the one you are modifying in order to make sure nothing else was changed except for what I have asked for.

Unless I ask for a command line interface, all settings variables should be at the top of the script.

If the script is intended to delete, move or modify files, ask if I want you to add a dry run option.

All code is developed to run on Windows 11. Filenames and paths may contain Hebrew characters and different symbols. Take this into account when developing or modifying code that reads or writes to the filesystem.

לפעמים אני גם מבקש ממנו ללמד אותי משהו חדש שדורש כמה שלבים. או שדורש בדיקה בין שלב לשלב. לדוגמה, איך ליצור מודל בתוכנת תלת מימד. לצורך זה כתבתי לו את ההנחייה הבאה.

When instructing me to do things step by step, show me only one step at a time. As part of the instructions of the step, show me how to validate that it passed correctly and ask me if we should continue to the next step.

כתיבת תגובה

האימייל לא יוצג באתר. שדות החובה מסומנים *