Idioma / Language: Español | English
Un kit de desarrollo guiado por especificaciones para constructores humanistas.
Deja de reconstruir tu criterio cada vez que comienzas una nueva sesión con IA.
- Motivación
- Qué es Lore
- Problema: experiencia efímera
- Principio fundamental
- Arquitectura de Lore
- Flujo de trabajo
- Idioma del Lore
- Instalación
- Documentación adicional
- Estructura del repositorio
- Invariantes compartidas
- Lore vs README
- Por qué “Lore”
- Origen
Todo proyecto desarrollado con inteligencia artificial acumula experiencia adquirida con esfuerzo:
- decisiones arquitectónicas;
- incidentes en producción;
- experimentos fallidos;
- estándares de desarrollo;
- y decenas de momentos de «nunca volvamos a hacer esto».
La mayor parte de esa experiencia desaparece.
La siguiente sesión comienza con una comprensión incompleta del proyecto, obligándote a ti —y a tu IA— a redescubrir decisiones que ya habías pagado con tiempo y esfuerzo.
Lore existe para evitar eso.
No generando más documentación,
sino preservando el criterio que debe seguir participando en las decisiones futuras.
La experiencia solo crea valor cuando puede volver a participar en una decisión futura.
Lore es un kit ligero de Spec-Driven Development (SDD) para Claude Code.
Proporciona:
- una convención sencilla para organizar el criterio de un proyecto;
- cinco skills que automatizan ese proceso;
- y un flujo continuo para destilar la experiencia en criterios reutilizables.
A diferencia de la documentación tradicional, Lore no intenta describirlo todo.
Solo conserva aquello que modifica el comportamiento futuro.
Si una frase no restringe una decisión futura, no es Lore.
La documentación tradicional responde preguntas como:
¿Qué es esto?
¿Cómo se instala?
¿Qué API debo utilizar?
Lore responde una pregunta completamente distinta:
¿Qué aprendimos que nunca deberíamos tener que volver a aprender?
Esa diferencia lo cambia todo:
- Un README almacena información.
- Lore preserva criterio.
- Ese criterio continúa participando en decisiones futuras.
Todo problema resuelto contiene dos cosas:
- la solución;
- y la razón por la que esa solución existe.
La mayoría de la documentación conserva únicamente la primera.
Lore conserva la segunda.
En lugar de registrar acontecimientos, Lore los destila en Pistas Invariantes: pequeñas restricciones que siguen siendo útiles mucho tiempo después de que el contexto original haya desaparecido.
Por ejemplo, en lugar de recordar:
«Tuvimos un problema de hidratación en Next.js.»
Lore conserva:
«Nunca utilices estado del cliente para controlar la opacidad inicial.»
El evento desaparece.
El criterio permanece.
Lore organiza el criterio de cada proyecto en artefactos claramente separados y heredables.
Cada proyecto organiza su criterio utilizando exactamente seis artefactos:
| Artefacto | Propósito | Ubicación |
|---|---|---|
identidad.md |
Identidad del proyecto y estándar mínimo de calidad | lore/ |
principios.md |
Reglas permanentes de ingeniería y negocio | lore/ |
| Módulos temáticos | Experiencia destilada organizada por dominio | lore/ |
index.md |
Mapa de navegación del Lore | lore/ |
FASES.md |
Estado actual y hoja de ruta del proyecto | raíz |
CLAUDE.md |
Contrato de colaboración y referencias operativas | raíz |
Los nombres mostrados son las formas canónicas en español; en tu idioma se localizan (p. ej.
identity.md,principles.md,PHASES.mden inglés).CLAUDE.md,lore/eindex.mdno cambian nunca. Véase Idioma del Lore.
Cada artefacto tiene una única responsabilidad.
Ninguno duplica a otro.
Lore escala mediante Áreas.
Un Área es una carpeta madre que posee su propio Lore.
Los proyectos heredan ese criterio en lugar de copiarlo:
Desarrollo/
│
├── lore/
│
├── Proyecto A/
│ └── lore/
│
├── Proyecto B/
│ └── lore/
│
└── Proyecto C/
└── lore/
Los criterios generales existen una sola vez.
Cada proyecto conserva únicamente aquello que le pertenece.
Así el sistema permanece DRY sin perder la experiencia acumulada.
Lore opera mediante cinco skills para Claude Code.
Punto de entrada.
Explica el modelo de Lore y te guía hacia el skill adecuado.
Crea una nueva Área con su propio Lore compartido.
Crea un proyecto dentro de una Área.
Los proyectos heredan el criterio del Área en lugar de duplicarlo.
El flujo más importante.
Después de resolver un problema realmente valioso:
«save to lore»
El skill extrae el criterio detrás de esa solución.
- Las lecciones específicas permanecen dentro del proyecto.
- Las lecciones genéricas pueden proponerse para ser promovidas al Área.
- Nada se promueve automáticamente.
Migra proyectos existentes hacia la arquitectura Lore.
Dispone de tres modos:
- add → crea el Lore faltante.
- clean → elimina módulos redundantes que ya pertenecen al Área.
- translate → estandariza el idioma de un Lore existente, traduciendo el contenido y renombrando los artefactos a un único idioma, sin alterar estructura ni significado.
El Lore habla tu idioma.
Los skills están escritos en inglés, pero el Lore que generan no: tanto el contenido como los nombres de los artefactos se escriben en el idioma en el que trabajas. identidad.md, principios.md, FASES.md son las formas canónicas en español; en inglés, por ejemplo, serían identity.md, principles.md, PHASES.md.
Lo que permanece fijo en todos los idiomas:
CLAUDE.md(convención de Claude Code),lore/(el nombre del kit),index.mdygolden-paths.md;- la estructura y la profundidad de las rutas relativas;
- los términos técnicos de uso general en inglés (workflow, commit, stack, scaffold…).
Dentro de un Área o proyecto existente, mandan los nombres ya establecidos: nunca se mezclan esquemas. Si un Lore quedó en el idioma equivocado —o mezclado—, se estandariza con transmute-lore (modo translate), que traduce contenido y renombra artefactos a la vez.
/plugin marketplace add andresanemic/lore-plugin
/plugin install lore@lore-pluginLore es, en esencia, Markdown.
Cada skill está compuesto por:
- un encabezado YAML (frontmatter);
- instrucciones escritas en Markdown.
El empaquetado del plugin es específico de Claude Code.
La arquitectura de Lore no lo es.
Puedes adaptar Lore copiando cualquier skill a la herramienta de IA que prefieras.
Este README cubre la motivación y la arquitectura. Para el resto, hay tres documentos dedicados (en español e inglés), en la raíz del repositorio:
| Documento | Para qué sirve |
|---|---|
USAGE_es.md / USAGE_en.md |
Guía práctica de uso día a día: instalación, ciclo de trabajo, y cada skill con ejemplos. |
REFERENCE_es.md / REFERENCE_en.md |
Referencia técnica: conceptos, especificación exacta de cada artefacto y cada skill. |
MIGRATION_es.md / MIGRATION_en.md |
Cómo migrar un proyecto existente hacia Lore con transmute-lore. |
lore-plugin/
.claude-plugin/
plugin.json
marketplace.json
skills/
using-lore/
create-area/
create-project/
save-to-lore/
transmute-lore/
README.md
LICENSE
Todos los skills siguen las mismas reglas:
- El Lore se escribe en el idioma del usuario.
- El criterio nunca se inventa.
- Todo proviene de experiencia real.
- El ruido descartado se informa; nunca se elimina silenciosamente.
- Todo cambio pasa por un HARD-GATE antes de escribirse.
- Nada realiza commit automáticamente.
- El ser humano siempre revisa el diff final.
Un README explica un proyecto.
Lore modifica cómo se trabajará en el futuro.
| README | Lore |
|---|---|
| Explica el proyecto | Restringe decisiones futuras |
| Almacena información | Preserva criterio |
| Está escrito para humanos | Es compartido entre humanos e IA |
| Describe el pasado | Da forma al futuro |
En los videojuegos, el lore es aquello que da coherencia a un universo.
No son las mecánicas.
Es la historia acumulada.
Las reglas que siguen influyendo en todo lo que puede ocurrir después.
Lore aplica esa misma idea al desarrollo de software.
Transforma la experiencia en criterio compartido.
Los acontecimientos originales dejan de ser importantes.
El criterio permanece.
Lore nació como una destilación de LUS (Lore User System), un programa de investigación que estudia cómo un ser humano y una IA acumulan criterio compartido a lo largo de una colaboración prolongada.
LUS estudia la relación.
Lore es una implementación operativa surgida de esa investigación.
Su principio central puede resumirse en una sola idea:
La experiencia solo crea valor cuando puede volver a participar en una decisión futura.
El objetivo de Lore es convertir esa idea en una práctica cotidiana para el desarrollo asistido por IA.
Entre las principales influencias del programa se encuentran:
- Martin Buber — Yo y Tú
- Claude Shannon y Warren Weaver — The Mathematical Theory of Communication
- Gregory Bateson — «Una diferencia que produce una diferencia»
- Andy Clark y David Chalmers — The Extended Mind
Puedes explorar la investigación detrás de Lore en el NotebookLM de LUS:
A specification‑driven development kit for humanist builders.
Stop rebuilding your criteria every time you start a new session with AI.
- Motivation
- What is Lore
- Problem: Ephemeral Experience
- Core Principle
- Lore Architecture
- Workflow
- Lore Language
- Installation
- Further Documentation
- Repository Structure
- Shared Invariants
- Lore vs README
- Why “Lore”
- Origin
Any project developed with artificial intelligence accumulates hard‑won experience:
- architectural decisions;
- production incidents;
- failed experiments;
- development standards;
- and dozens of “let’s never do that again” moments.
Most of that experience disappears.
The next session starts with an incomplete understanding of the project, forcing you —and your AI— to rediscover decisions you already paid for with time and effort.
Lore exists to prevent that.
Not by generating more documentation,
but by preserving the criteria that must keep participating in future decisions.
Experience only creates value when it can participate in a future decision.
Lore is a lightweight Spec‑Driven Development (SDD) kit for Claude Code.
It provides:
- a simple convention for organizing a project’s criteria;
- five skills that automate that process;
- and a continuous flow to distill experience into reusable criteria.
Unlike traditional documentation, Lore does not try to describe everything.
It only preserves what changes future behavior.
If a sentence does not constrain a future decision, it is not Lore.
Traditional documentation answers questions like:
What is this?
How do I install it?
Which API should I use?
Lore answers a completely different question:
What did we learn that we should never have to learn again?
That difference changes everything:
- A README stores information.
- Lore preserves criteria.
- Those criteria keep participating in future decisions.
Every solved problem contains two things:
- the solution;
- and the reason that solution exists.
Most documentation preserves only the first.
Lore preserves the second.
Instead of recording events, Lore distills them into Invariant Clues: small constraints that remain useful long after the original context has disappeared.
For example, instead of remembering:
“We had a hydration issue in Next.js.”
Lore keeps:
“Never use client‑side state to control initial opacity.”
The event disappears.
The criteria remain.
Lore organizes each project’s criteria into clearly separated and inheritable artifacts.
Each project uses exactly six artifacts:
| Artifact | Purpose | Location |
|---|---|---|
identidad.md |
Project identity and minimum quality standard | lore/ |
principios.md |
Permanent engineering and business rules | lore/ |
| Thematic modules | Distilled experience organized by domain | lore/ |
index.md |
Navigation map for Lore | lore/ |
FASES.md |
Current state and project roadmap | root |
CLAUDE.md |
Collaboration contract and operational references | root |
The names shown are the Spanish canonical forms; in your language they localize (e.g.
identity.md,principles.md,PHASES.mdin English).CLAUDE.md,lore/, andindex.mdnever change. See Lore Language.
Each artifact has a single responsibility.
None of them duplicates another.
Lore scales through Areas.
An Area is a parent folder that owns its own Lore.
Projects inherit that criteria instead of copying it:
Development/
│
├── lore/
│
├── Project A/
│ └── lore/
│
├── Project B/
│ └── lore/
│
└── Project C/
└── lore/
General criteria exist only once.
Each project keeps only what belongs to it.
This keeps the system DRY without losing accumulated experience.
Lore operates through five skills for Claude Code.
Entry point.
Explains Lore’s model and guides you to the appropriate skill.
Creates a new Area with its own shared Lore.
Creates a project inside an Area.
Projects inherit the Area’s criteria instead of duplicating it.
The most important flow.
After solving a genuinely valuable problem:
“save to lore”
The skill extracts the criteria behind that solution.
- Specific lessons stay inside the project.
- Generic lessons can be proposed for promotion to the Area.
- Nothing is promoted automatically.
Migrates existing projects into Lore’s architecture.
It has three modes:
- add → creates missing Lore artifacts.
- clean → removes redundant modules that already belong to the Area.
- translate → standardizes the language of an existing Lore, translating content and renaming artifacts into a single language, without altering structure or meaning.
Lore speaks your language.
The skills are written in English, but the Lore they generate is not: both the content and the artifact filenames are written in the language you work in. identidad.md, principios.md, FASES.md are the Spanish canonical forms; in English, for example, they become identity.md, principles.md, PHASES.md.
What stays fixed in every language:
CLAUDE.md(a Claude Code convention),lore/(the kit’s own name),index.md, andgolden-paths.md;- structure and relative-path depth;
- English terms of general technical use (workflow, commit, stack, scaffold…).
Inside an existing Area or project, the established names win: naming schemes are never mixed. If a Lore ended up in the wrong language —or mixed— it is standardized with transmute-lore (translate mode), which translates content and renames artifacts together.
/plugin marketplace add andresanemic/lore-plugin
/plugin install lore@lore-pluginAt its core, Lore is Markdown.
Each skill is made of:
- a YAML header (frontmatter);
- instructions written in Markdown.
The plugin packaging is specific to Claude Code.
Lore’s architecture is not.
You can adapt Lore by copying any skill into the AI tool of your choice.
This README covers motivation and architecture. For everything else, there are three dedicated documents (in Spanish and English), at the repository root:
| Document | What it's for |
|---|---|
USAGE_en.md / USAGE_es.md |
Practical day‑to‑day usage guide: installation, core loop, and each skill with examples. |
REFERENCE_en.md / REFERENCE_es.md |
Technical reference: core concepts, the exact spec for each artifact and each skill. |
MIGRATION_en.md / MIGRATION_es.md |
How to migrate an existing project into Lore using transmute-lore. |
lore-plugin/
.claude-plugin/
plugin.json
marketplace.json
skills/
using-lore/
create-area/
create-project/
save-to-lore/
transmute-lore/
README.md
LICENSE
All skills follow the same rules:
- Lore is written in the user's language.
- Criteria are never invented.
- Everything comes from real experience.
- Discarded noise is reported; it is never silently removed.
- Every change passes through a HARD GATE before being written.
- Nothing commits automatically.
- A human always reviews the final diff.
A README explains a project.
Lore changes how future work will be done.
| README | Lore |
|---|---|
| Explains the project | Constrains future decisions |
| Stores information | Preserves criteria |
| Written for humans | Shared between humans and AI |
| Describes the past | Shapes the future |
In video games, lore is what gives a universe coherence.
It is not the mechanics.
It is the accumulated story.
The rules that keep influencing everything that can happen afterwards.
Lore applies that same idea to software development.
It turns experience into shared criteria.
The original events stop being important.
The criteria remain.
Lore was born as a distillation of LUS (Lore User System), a research program that studies how a human and an AI accumulate shared criteria over a long‑term collaboration.
LUS studies the relationship.
Lore is an operational implementation that emerged from that research.
Its core principle can be summarized in a single idea:
Experience only creates value when it can participate in a future decision.
Lore’s goal is to turn that idea into everyday practice for AI‑assisted development.
Some of the main influences behind the program are:
- Martin Buber — I and Thou
- Claude Shannon and Warren Weaver — The Mathematical Theory of Communication
- Gregory Bateson — “A difference that makes a difference”
- Andy Clark and David Chalmers — The Extended Mind
You can explore the research behind Lore in the LUS NotebookLM:
