本文へスキップ
Skillpedia
ドキュメント作成48k · #5118

lore

できること

ソフトウェアプロジェクトに関する重要な情報を保存し、AIがそれを覚えておけるようにする仕組みです。プロジェクトの構成、下された決定、コードの書き方などの詳細を保存します。

使う場面

  • ✓新しいプロジェクトを始めるときに、その構成を記録したいとき。
  • ✓重要なプロジェクトの決定を下したあとに。
  • ✓AIに特定のコーディング規約を覚えさせたいとき。

スキルのリンク

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

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/lore/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“このプロジェクトのアーキテクチャに関するこの決定を覚えておいてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

情報は、`.lore/` という名前のフォルダ内に、プレーンテキストファイル(Markdown)として保存されます。ファイルを読み取れるAIであれば、この情報にアクセスできます。

技術的な内容(元の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」を使わないとどうなりますか?

AIが重要なプロジェクトの詳細を忘れてしまい、内容に矛盾が生じたり、同じ決定を繰り返したりする可能性があります。

詳細

作者による元の説明

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
更新日
2026/10/15

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル