lore
Fungsinya
Cara menyimpan informasi penting tentang sebuah proyek perangkat lunak agar kecerdasan buatan (AI) dapat mengingatnya. Informasi yang disimpan mencakup struktur proyek, keputusan yang sudah diambil, dan cara kode seharusnya ditulis.
Kapan dipakai
- βSaat memulai proyek baru untuk mencatat strukturnya.
- βSetelah membuat keputusan penting dalam proyek.
- βSaat Anda ingin AI mengingat konvensi penulisan kode tertentu.
Link skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/lore/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βIngat keputusan ini tentang arsitektur proyek.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Informasi disimpan dalam file teks biasa (Markdown) di dalam folder bernama `.lore/`. Setiap AI yang bisa membaca file dapat mengakses informasi ini.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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 |
β¦
Pertanyaan umum
Apa perbedaan 'lore' dengan jurnal pengembangan?
'Lore' berfokus pada informasi proyek jangka panjang (arsitektur, keputusan, konvensi), bukan catatan aktivitas harian.
Apakah saya harus memakai semua perintah 'lore'?
Tidak. Anda menggunakan perintah sesuai kebutuhan: `init` untuk memulai, `sync` untuk mencatat perubahan, `query` untuk bertanya, `audit` untuk memeriksa, `compress` untuk merangkum, dan `mirror` untuk memperbarui dokumentasi.
Apa yang terjadi jika saya tidak menggunakan 'lore'?
AI mungkin melupakan detail penting proyek, yang bisa menyebabkan ketidakkonsistenan atau keputusan yang diulang-ulang.
Detail
Deskripsi asli dari pembuat
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.
Popularitas
- Bintang GitHub
- 48k
- Peringkat
- #5118
- Lisensi
- MIT
- Diperbarui
- 15/10/2026
Komentar
- β¦
Skill lain dari repositori ini
00-andruia-consultant
48kMembantu agent Anda memulai atau meningkatkan proyek AI. Agent menganalisis kode, menyarankan tools, dan membuat rencana aksi dalam bahasa Spanyol.
007
48kMemungkinkan agent Anda melakukan audit keamanan dan threat modeling. Berguna untuk melindungi proyek dari serangan dan celah keamanan.
10-andruia-skill-smith
48kMembantu agent Anda membuat atau meningkatkan tools AI. Agent mendefinisikan cara kerja tools, menulis dokumentasi, dan memvalidasi strukturnya.
20-andruia-niche-intelligence
48kMemungkinkan agent Anda membuat ringkasan industri tertentu. Berguna untuk memahami konteks, aturan, pola penggunaan, dan risiko proyek dengan sumber terpercaya.
Skill serupa
technical-documentation
394kMembantu agent Anda menulis dan meninjau dokumentasi teknis serta file instruksi agent yang jelas, agar orang dan alat AI dapat mengikutinya dengan mudah.
architecture-decision-records
280kMembuat agent Anda mencatat keputusan penting terkait struktur proyek. Membantu memahami alasan di balik pilihan dan menjaga riwayat perubahan yang jelas.
code-tour
280kMembuat agent Anda menyusun panduan kode langkah demi langkah dengan referensi file dan nomor baris yang tepat. Berguna untuk pengenalan, penjelasan, dan review.