Skillpedia
التوثيق48k · #5118

lore

ما الذي تفعله

هي طريقة لتخزين معلومات مهمة عن مشروع برمجي حتى يتذكرها الذكاء الاصطناعي. تحفظ تفاصيل بنية المشروع، والقرارات المتخذة، وطريقة كتابة الكود.

متى تستخدمها

  • ✓عند بدء مشروع جديد لتسجيل بنيته.
  • ✓بعد اتخاذ قرار مهم في المشروع.
  • ✓عندما تريد أن يتذكر الذكاء الاصطناعي اصطلاحات كتابة الكود المحددة.

رابط المهارة

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/lore/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/lore/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“تذكّر هذا القرار المتعلق ببنية المشروع.”

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.

  • sync proposes 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.
  • compress appends a [COMPRESS NOTICE] to sync proposals when entries > 500, SUMMARY.md is missing, or last compression > 30 days ago.
  • sync emits [ALERT] markers when an active entry conflicts with current code or with a candidate change.
  • mirror regenerates automatically during compress if auto_mirror: true is 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.

repo: sickn33/agentic-awesome-skills

الشعبية

نجوم GitHub
48k
الترتيب
#5118
الترخيص
MIT
آخر تحديث
15‏/10‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة