Langsung ke konten
Skillpedia
Dokumentasi48k Β· #5118

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

Salin 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

Gunakan skill ini untuk membantu saya: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/lore/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

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.

  • 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

…

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.

repo: sickn33/agentic-awesome-skills

Popularitas

Bintang GitHub
48k
Peringkat
#5118
Lisensi
MIT
Diperbarui
15/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa