Formatting Tips
این پرامپت برای کدنویسی، بازبینی و رفع اشکال سریعتر نوشته شده است. چیزی که از مدل میخواهد: «Output the following outside of a code block.»
متن پرامپت
```markdown Output the following outside of a code block. Begin by printing the following markdown code:  Underneath that, create a numbered list with “1. Text formatting”, “2. Special Outputs”, the indented dot-points “Separators”, “Tables”, and “Code Blocks” (indent dot-points with 4 spaces), and “3. Hyperlinks and Images”. Underneath that, write “---”. Underneath that, display the following: # Heading 1 starts with \# Underneath that, write the subtitle “## Heading 2 starts with \##”, the sub-subtitle "### Heading 3 starts with \###", the sub-sub-subtitle “#### Heading 4 starts with \####”, the sub-sub-sub-subtitle “##### Heading 5 starts with \#####”, and a new line with "###### Heading 6 starts with \###### and is the same as regular text.". Underneath that, in regular text, write a new line with “`Make an inline code-block using backticks`”, and a new line with “Use the escape character “\\” to write special characters such as \` or \#.” Underneath that, write "You can emphasise your text using *italics*, **bolding** or ***both***, by using asterisks, and ~strikethrough~ your text using a tilde (\~)." Underneath that, write "> Blockquotes begin with the ">" character", a new line with "> ", a new line with "> > and can be nested like so." Underneath that, leave a line break. Underneath that, write a new line with “---“. Underneath that, write “The separator line above is formed with “---“ or "***" on a new line”. Underneath that, write “ChatGPT can make:”. Underneath that, make an list containing “1. Numbered lists”, the indented item ” * indented list items”, the indented item " + including dot points within numbered lists and vice versa", the indented item " - dot points can be formatted with "-", "*", or "+"", “2. Dot points”, “3. [ ] unchecked list items (these work with dot point lists, too)” and “4. [x] checked list items (these work with dot point lists, too)”. Underneath that, write “Asking ChatGPT to create a markdown table works 99% of the time.” Underneath that, create a markdown table listing 2 pros and cons to presenting information in tables. Underneath that, inside of a code block surrounded by backticks write “Asking ChatGPT to write inside of a code block usually works, though they can also be formatted with backticks” Underneath that, write a new line with “***". Underneath that, write “ChatGPT can produce [hyperlinks](https://discord.gg/chatgpt-prompt-engineering-1051259432199266374) and images using Markdown. Some useful image APIs include pollinations (for AI generated images), Unsplash (for stock photos), and placid (for titles).” Underneath that, write “ ” Underneath that, write "### [Join my Discord server!](https://discord.gg/chatgpt-prompt-engineering-1051259432199266374)" ```
جایخالیهایی که باید پر کنی
[IMG]«IMG» را با مقدار واقعی خودت جایگزین کنچطور از این پرامپت استفاده کنم؟
این یک پرامپت در سطح «پیشرفته» از دسته برنامهنویسی و توسعه نرمافزار است. برای اینکه بهترین نتیجه را بگیری، این مسیر را دنبال کن:
۱) کپی کن. روی دکمه «کپی پرامپت» بزن تا کل متن دقیقاً همانطور که هست در کلیپبورد قرار بگیرد. حذف کردن جملههای ابتدایی معمولاً کیفیت خروجی را پایین میآورد، چون همانها نقش و لحن مدل را تعیین میکنند.
۲) در یک گفتگوی تازه بچسبان. این پرامپت را به عنوان اولین پیام یک چت جدید بفرست. اگر آن را وسط یک گفتگوی طولانی بگذاری، مدل هنوز تحت تأثیر موضوع قبلی است و از نقش خواستهشده بیرون میزند.
۳) جایخالیها را پر کن. در این متن 1 جایخالی وجود دارد: [IMG]. هر کدام را با اطلاعات واقعی خودت جایگزین کن و علامتهای کروشه یا آکولاد را هم پاک کن. هرچه این مقادیر مشخصتر باشند (مثلاً «مدیر فروش یک شرکت نرمافزاری B2B» به جای «یک مدیر») خروجی دقیقتر میشود.
۴) به مدل زمینه بده. مخاطب، زبان خروجی (مثلاً «به فارسی جواب بده»)، طول تقریبی و لحن مورد نظرت را اضافه کن. بیشتر جوابهای ضعیف نتیجه نبودِ همین سه خط اضافهاند، نه ضعف خودِ پرامپت.
۵) یک بار اصلاح کن. جواب اول را نهایی فرض نکن. بنویس «این بخش را کوتاهتر کن»، «مثال واقعی اضافه کن» یا «سه نسخه متفاوت بده». دور دوم تقریباً همیشه بهتر از دور اول است.
۶) کد را قبل از اجرا بخوان. خروجی را در یک شاخه جدا تست کن و بهویژه به مدیریت خطا و ورودیهای مرزی نگاه کن؛ مدلها معمولاً مسیر خوشبینانه را مینویسند.
نمونه استفاده واقعی
چه خروجیای باید بگیری
نکتههای حرفهای
- اگر خروجی کلی و بیروح بود، یک نمونه از «خروجی خوب از نظر خودت» به مدل نشان بده؛ یک نمونه بیشتر از ده خط توضیح اثر دارد.
- برای متن فارسی، جمله «به فارسی روان و بدون ترجمه تحتاللفظی بنویس» را انتهای پرامپت اضافه کن.
- جایخالیها را خالی نگذار؛ اگر مقداری را نمیدانی، به جای حذفش بنویس «فرض کن ...» تا مدل سرخود چیزی از خودش نسازد.
- این پرامپت طولانی است؛ روی مدلهای قویتر (مثل Claude Opus یا GPT-5) نتیجه محسوساً بهتری میدهد.
- نسخه زبان و فریمورک را صریح بنویس (مثلاً «Node.js 24 و TypeScript 5») تا کد قدیمی تحویل نگیری.