Skip to content

Latest commit

 

History

43 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

STR Prompt Framework 🚀

📁 The Ultimate Production-Ready LLM Prompt Directory Structured by Stage, Task, and Rules. 💼 جامع‌ترین مرجع دوزبانه الگوهای پرامپت‌نویسی ساختاریافته برای هوش مصنوعی بر اساس متدولوژی نقش، وظیفه و قوانین.

GitHub stars GitHub license Awesome


🇮🇷 نسخه فارسی (Persian Version)

بزرگ‌ترین چالش بیشتر مردم در کار با مدل‌های زبانی بزرگ (LLM) مانند GPT-4o، Claude 3.5 و Gemini این است که ابزارها را مثل موتور جستجو فرض می‌کنند. برای گرفتن دقیق‌ترین و باکیفیت‌ترین پاسخ، شما نیاز به یک ساختار مهندسی‌شده دارید.

فریم‌ورک STR یک متدولوژی متن‌باز (Open-Source) است که پرامپت‌نویسی را به ۳ رکن اساسی تقسیم می‌کند: ۱. Stage (نقش/زمینه): تعیین کیستی و لحن هوش مصنوعی. ۲. Task (وظیفه): خروجی دقیق و اصلی مورد نیاز. ۳. Rules (قوانین و محدودیت‌ها): مرزها، فرمت خروجی و خطوط قرمز.

👉 مشاهده وب‌سایت و داکیومنت زنده پروژه

💡 ارکان فریم‌ورک STR

رکن هدف توضیحات
Stage (نقش) زمینه و پرسونای ابزار مشخص می‌کند هوش مصنوعی چه کسی است (نقش، سابقه کاری، لحن) و چرا این کار را انجام می‌دهد.
Task (وظیفه) خروجی اصلی و نهایی مشخص می‌کند دقیقاً چه خروجی، سند یا کدی باید به شما تحویل داده شود.
Rules (قوانین) محدودیت‌ها و فرمت مشخص می‌کند ابزار چطور باید رفتار کند (فرمت مارک‌داون، زبان، لحن، عدم استفاده از کلمات کلیشه‌ای).

🇬🇧 English Version

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

💡 The STR Pillars Explained

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).

📂 Project Categories / دسته‌بندی‌های پروژه

We have categorized production-ready prompt blueprints into 30 specialized domains. ما الگوهای پرامپت آماده پروداکشن را در ۳۰ حوزه تخصصی دسته‌بندی کرده‌ایم:

🌐 Business, Marketing & Operations

💻 Tech, Engineering & Data Science

🎨 Design, Media & Creative

🎓 Education, Growth & Personal Productivity


🤝 Contributing & Community / مشارکت در پروژه

This is a community-driven project! If you have a powerful prompt that follows the STR architecture, we welcome your contributions. این یک پروژه مشارکت‌محور است! اگر پرامپت قدرتمندی دارید که از ساختار STR پیروی می‌کند، خوشحال می‌شویم آن را اضافه کنید.

  1. Fork the repository.
  2. Add your prompt to the relevant category file in categories/.
  3. Open a Pull Request.

📄 License / مجوز

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!اگر این فریم‌ورک برای شما مفید بود، با دادن ستاره به دیده شدن آن کمک کنید!

About

The Ultimate Open-Source Blueprint for LLMs using the Stage-Task-Rules (STR) Methodology.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages