Aller au contenu
Skillpedia
Documentation48k · #5118

lore

Ce qu’il fait

C'est une façon de conserver des informations importantes sur un projet logiciel afin que l'intelligence artificielle (IA) s'en souvienne. Il enregistre des détails sur la structure du projet, les décisions prises et la manière dont le code doit être écrit.

Quand l’utiliser

  • ✓Au début d'un nouveau projet, pour noter sa structure.
  • ✓Après une décision importante concernant le projet.
  • ✓Lorsque vous voulez que l'IA retienne des conventions de codage précises.

Lien du skill

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

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/lore/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Retiens cette décision concernant l'architecture du projet.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

Les informations sont enregistrées dans des fichiers texte (Markdown) placés dans un dossier nommé `.lore/`. Toute IA capable de lire des fichiers peut accéder à ces informations.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis 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

…

Questions fréquentes

Quelle est la différence entre « lore » et un journal de développement ?

« Lore » se concentre sur les informations à long terme du projet (architecture, décisions, conventions), et non sur un journal des activités quotidiennes.

Dois-je utiliser toutes les commandes de « lore » ?

Non, vous utilisez les commandes selon vos besoins : `init` pour démarrer, `sync` pour enregistrer les modifications, `query` pour poser une question, `audit` pour vérifier, `compress` pour résumer et `mirror` pour mettre à jour la documentation.

Que se passe-t-il si je n'utilise pas « lore » ?

L'IA risque d'oublier des détails importants du projet, ce qui peut entraîner des incohérences ou des décisions répétées.

Détails

Description originale de l’auteur

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

Popularité

Étoiles GitHub
48k
Position au classement
#5118
Licence
MIT
Mis à jour
15/10/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires