📁 The Ultimate Production-Ready LLM Prompt Directory Structured by Stage, Task, and Rules. 💼 جامعترین مرجع دوزبانه الگوهای پرامپتنویسی ساختاریافته برای هوش مصنوعی بر اساس متدولوژی نقش، وظیفه و قوانین.
بزرگترین چالش بیشتر مردم در کار با مدلهای زبانی بزرگ (LLM) مانند GPT-4o، Claude 3.5 و Gemini این است که ابزارها را مثل موتور جستجو فرض میکنند. برای گرفتن دقیقترین و باکیفیتترین پاسخ، شما نیاز به یک ساختار مهندسیشده دارید.
فریمورک STR یک متدولوژی متنباز (Open-Source) است که پرامپتنویسی را به ۳ رکن اساسی تقسیم میکند: ۱. Stage (نقش/زمینه): تعیین کیستی و لحن هوش مصنوعی. ۲. Task (وظیفه): خروجی دقیق و اصلی مورد نیاز. ۳. Rules (قوانین و محدودیتها): مرزها، فرمت خروجی و خطوط قرمز.
👉 مشاهده وبسایت و داکیومنت زنده پروژه
| رکن | هدف | توضیحات |
|---|---|---|
| Stage (نقش) | زمینه و پرسونای ابزار | مشخص میکند هوش مصنوعی چه کسی است (نقش، سابقه کاری، لحن) و چرا این کار را انجام میدهد. |
| Task (وظیفه) | خروجی اصلی و نهایی | مشخص میکند دقیقاً چه خروجی، سند یا کدی باید به شما تحویل داده شود. |
| Rules (قوانین) | محدودیتها و فرمت | مشخص میکند ابزار چطور باید رفتار کند (فرمت مارکداون، زبان، لحن، عدم استفاده از کلمات کلیشهای). |
Stop treating Advanced LLMs like a basic Google search. To get 10x more predictable, accurate, and high-quality outputs, you need a structured architecture.
The STR Framework is an open-source methodology designed to break down prompt engineering into three non-negotiable pillars: Stage, Task, and Rules.
👉 View the Live Documentation Site Here
| Pillar | Purpose | Description |
|---|---|---|
| Stage | Persona & Context | Defines who the AI is (role, seniority, tone) and why it is performing the action. |
| Task | The Core Deliverable | Defines what exact action needs to be taken and the required core output. |
| Rules | Boundaries & Constraints | Defines how the AI must behave (formatting, word limits, anti-hallucination guardrails). |
We have categorized production-ready prompt blueprints into 30 specialized domains. ما الگوهای پرامپت آماده پروداکشن را در ۳۰ حوزه تخصصی دستهبندی کردهایم:
categories/01-social-media-marketing.mdcategories/02-seo-and-blogging.mdcategories/03-copywriting-and-ads.mdcategories/04-email-and-sms-marketing.mdcategories/10-startup-and-fundraising.mdcategories/11-product-management.mdcategories/12-sales-and-negotiation.mdcategories/13-human-resources-hr.mdcategories/14-customer-support.mdcategories/29-real-estate.mdcategories/30-e-commerce-operations.md
categories/05-frontend-development.mdcategories/06-backend-development.mdcategories/07-databases-and-sql.mdcategories/08-devops-and-cloud.mdcategories/09-cybersecurity.mdcategories/19-data-analysis-and-bi.mdcategories/20-machine-learning.mdcategories/21-ai-agents-and-automation.md
categories/15-ui-ux-design.mdcategories/16-generative-art-prompts.mdcategories/17-creative-writing.mdcategories/18-video-and-audio-production.md
categories/22-academic-research.mdcategories/23-education-and-teaching.mdcategories/24-translation-and-localization.mdcategories/25-time-management.mdcategories/26-finance-and-investment.mdcategories/27-health-and-fitness.mdcategories/28-legal-and-contracts.md
This is a community-driven project! If you have a powerful prompt that follows the STR architecture, we welcome your contributions. این یک پروژه مشارکتمحور است! اگر پرامپت قدرتمندی دارید که از ساختار STR پیروی میکند، خوشحال میشویم آن را اضافه کنید.
- Fork the repository.
- Add your prompt to the relevant category file in
categories/. - Open a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details. Completely open-source and free for personal and commercial projects.
⭐ If you find this framework useful, give it a star to help others discover it! ⭐ اگر این فریمورک برای شما مفید بود، با دادن ستاره به دیده شدن آن کمک کنید!