lore
ما الذي تفعله
هي طريقة لتخزين معلومات مهمة عن مشروع برمجي حتى يتذكرها الذكاء الاصطناعي. تحفظ تفاصيل بنية المشروع، والقرارات المتخذة، وطريقة كتابة الكود.
متى تستخدمها
- ✓عند بدء مشروع جديد لتسجيل بنيته.
- ✓بعد اتخاذ قرار مهم في المشروع.
- ✓عندما تريد أن يتذكر الذكاء الاصطناعي اصطلاحات كتابة الكود المحددة.
رابط المهارة
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/lore/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“تذكّر هذا القرار المتعلق ببنية المشروع.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تُحفظ المعلومات في ملفات نصية عادية (Markdown) داخل مجلد يُسمى `.lore/`. يستطيع أي ذكاء اصطناعي يقرأ الملفات الوصول إلى هذه المعلومات.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
lore — Framework-agnostic Memory Management
What this skill is
A long-term knowledge base for a software project, maintained by AI agents. It is not a dev journal or a changelog. It captures the kind of context that normally lives only in the original developer's head:
- What the project is, how it is shaped (architecture)
- Why specific choices were made over alternatives (decisions)
- How code should be written and what to avoid (conventions)
This knowledge is persisted as plain Markdown files in .lore/ at the project root. Any agent that can read files can consume them.
When to Use
The skill uses a two-tier trigger model.
Tier 1 — Loading the skill
Load this skill when the user explicitly invokes lore, names a subcommand, references .lore/, or asks to record, recall, audit, sync, or compress project memory about decisions, architecture, conventions, or monorepo scopes. Generic phrases like "init", "compress", "audit", or "query" alone are not enough — they may map to the agent's native commands or unrelated tasks (Claude Code's /init, /compact, security audits, SQL queries, etc.).
| User says (examples) | Command |
|---|---|
| "lore init" / "create lore memory bank" / "initialize lore" | init |
| "lore sync" / "sync this change to lore" / "record this decision in lore" | sync |
| "lore query" / "query lore" / "what's the project convention" | query |
| "lore audit" / "check lore" / "is memory still accurate" | audit |
| "lore compress" / "compress lore" / "summarize lore" | compress |
| "lore mirror" / "update CLAUDE.md" / "refresh mirror" | mirror |
| "lore history" / "show the git history of this entry" / "show me the commits behind this" | history |
Tier 2 — Internal proposals (after the skill is loaded)
Once the skill is loaded for this session, certain commands may proactively propose themselves based on internal thresholds. These proposals still require user acceptance — the skill never mutates files silently.
syncproposes when 50+ changed lines span 2+ directories, OR a new top-level module/directory/dependency was added or removed, OR a new convention was explicitly discussed in chat.compressappends a[COMPRESS NOTICE]to sync proposals when entries > 500,SUMMARY.mdis missing, or last compression > 30 days ago.syncemits[ALERT]markers when an active entry conflicts with current code or with a candidate change.mirrorregenerates automatically duringcompressifauto_mirror: trueis set in.lore/.config.json.
Other commands (init, query, history) are always explicit — they need user intent. See references/workflows.md for when each workflow is used.
Which command do I need?
| User goal | Command | When | Procedure |
|---|---|---|---|
| First-time setup, or start over | init |
One-time setup | references/workflows.md#init, then references/platform-mirrors.md + references/monorepo-detection.md |
| "Remember this change" after a feature / refactor / bug fix | sync |
After a non-trivial change | references/workflows.md#sync, then references/stale-new-markers.md |
| "What is the project convention / why was X chosen?" | query |
Answer from memory | references/workflows.md#query |
| "Is memory still accurate?" | audit |
Memory may have drifted from reality | references/workflows.md#audit, then references/audit-template.md |
| "Summarize the memory bank" | compress |
SUMMARY.md stale, or entries > 500 | references/workflows.md#compress, then references/summary-template.md |
| "Update CLAUDE.md / AGENTS.md / mirrors" | mirror |
Explicit publish of mirror changes | references/workflows.md#mirror, then references/platform-mirrors.md |
| "Why does this decision exist?" / "show the commits behind this" | history |
Git story behind an entry | references/workflows.md#history, then references/history-command.md |
…
الأسئلة الشائعة
ما الفرق بين «lore» ويوميات المطور؟
يركز «lore» على معلومات المشروع طويلة الأمد (البنية والقرارات والاصطلاحات)، وليس على سجل نشاط يومي.
هل أحتاج إلى استخدام كل أوامر «lore»؟
لا، تستخدم الأوامر عند الحاجة: `init` للبدء، و`sync` لتسجيل التغييرات، و`query` للسؤال، و`audit` للفحص، و`compress` للتلخيص، و`mirror` لتحديث التوثيق.
ماذا يحدث إذا لم أستخدم «lore»؟
قد ينسى الذكاء الاصطناعي تفاصيل مهمة في المشروع، مما يؤدي إلى تناقضات أو تكرار للقرارات.
التفاصيل
الوصف الأصلي من المؤلف
Markdown project memory for AI agents. Use for decisions, architecture, conventions, monorepo scopes, `.lore/`, or `lore` commands; not native `/init`/`/compact` or generic init/compress/audit/query.
الشعبية
- نجوم GitHub
- 48k
- الترتيب
- #5118
- الترخيص
- MIT
- آخر تحديث
- 15/10/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
00-andruia-consultant
48kيساعد وكيلك على بدء مشاريع الذكاء الاصطناعي أو تحسينها. يحلل الكود ويقترح الأدوات ويُعد خطط عمل بالإسبانية.
007
48kيتيح لوكيلك إجراء تدقيقات أمنية ونمذجة التهديدات. مفيد لحماية المشاريع من الهجمات والثغرات الأمنية.
10-andruia-skill-smith
48kيساعد وكيلك على إنشاء أدوات الذكاء الاصطناعي أو تحسينها. يحدد طريقة عملها، ويكتب توثيقها، ويتحقق من بنيتها.
20-andruia-niche-intelligence
48kيتيح لوكيلك إعداد ملخص عن صناعة محددة. مفيد لفهم السياق والقواعد وأنماط الاستخدام والمخاطر لمشروع ما، باستخدام مصادر موثوقة.
مهارات مشابهة
technical-documentation
394kيساعد وكيلك على كتابة الوثائق التقنية ومراجعتها، وملفات التعليمات الخاصة بالوكلاء، لتكون سهلة المتابعة للناس وأدوات الذكاء الاصطناعي.
architecture-decision-records
280kيساعد وكيلك على تسجيل قرارات بنية المشروع المهمة، فيفهم سبب كل اختيار ويحتفظ بتاريخ واضح للتغييرات.
code-tour
280kيتيح لوكيلك إنشاء جولات شيفرة خطوة بخطوة مع مراجع دقيقة للملفات والأسطر، ويفيد للتعريف بالمشروع والشرح والمراجعة.