Logo vun Domain Memory

Domain Memory

Communautéit
timharris707
domain-memory

When design decisions close, review findings are declined, the decider corrects a session's assumption, a new task starts in a repo with a bound memory home, work resumes in a bound repo, or memory exceeds its size bound, record or retrieve project terms and decisions, and propose consolidation when needed.

Iwwersiicht

Editeurtimharris707
Repositoryskills
Skill-Nummdomain-memory
Stären
45
Forks
7
Matgeliwwert Fichieren
2
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 2 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    Vum timharris707 op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Domain Memory an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/timharris707/skills/tree/main/plugins/clickai-codex/skills/orient/domain-memory
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/timharris707/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/plugins/clickai-codex/skills/orient/domain-memory .claude/skills/domain-memory
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Domain Memory an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Domain Memory automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Domain Memory net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Domain memory

Read the Codex desktop binding when this workflow needs harness mechanics, model routing, or recovery.

Per-repo institutional memory: what the repo's words mean, and why its settled decisions went the way they did. It is written as side effects of work, never as a documentation chore. router and setup orient a session on the pack and the repo's bindings; this skill is the third orientation instrument beside them, and it orients the session on the domain.

This skill is the portable protocol: two artifacts in one store, the write and read moments that keep it alive, and evolution rules that keep it honest. Where the store lives, when consolidation is offered, and whether backfill runs are binding slots the team-workflow setup interview fills.

Read the team-workflow binding doc first; its domain-memory section names the memory home.

1. One store, two artifacts

  • The glossary: one small, opinionated file of domain terms, each entry a canonical term, a tight definition, and the synonyms to avoid (the rules live in references/formats.md). It updates in place: a term means one thing now, and the file says what.
  • Decision records: one small file per settled decision, title, date, the decision, the load-bearing reason, and links to the ticket or PR that carried it. A record costs under a minute to write, in plain English a non-engineer decider reads without translation. The reason is the record's value: a future session needs to know why, so it can tell new evidence from re-litigation.

Formats for both live in references/formats.md. Files are created lazily: the glossary when the first term settles, the decisions directory when the first record lands; an empty store on day one is the correct starting state.

The store is repo files at the memory home the binding names: a decisions directory plus a terms file (e.g. docs/decisions/ + docs/terms.md). The tracker holds work in flight; the repo carries the durable why: a decision's record outlives the ticket that produced it. And it is one store: in repos also bound to codebase-review, that skill's rejection-memory slot points at this memory home, so rejected candidates are decision records here, never a second store.

2. Write moments: side effects, never a chore

Memory is written at exactly three moments, each one a moment where a decision has just crystallised out loud:

  1. A grilling closes. The grilling close-record mints memory: each settled decision becomes a decision record, and new or sharpened terms enter the glossary.
  2. A review disposition lands. A codebase-review rejection or an adversarial-review declined finding becomes a decision record with its load-bearing reason; the record is what stops the next review from re-raising settled ground.
  3. The decider corrects a session. When the decider corrects a session's wrong assumption mid-flight, the session offers to record the correction: written down, the assumption is wrong exactly once. A diagnose root cause that overturns a standing assumption is the same correction class with reality as the corrector; the lane offers it as a fact record the same way, riding this moment rather than adding a fourth.

Lane close-outs are deliberately not a write moment: a lane executes a decision already recorded upstream, and recording every close-out buries the load-bearing records in noise.

These three are the routine writes. The store has exactly two maintenance writes beside them, an approved consolidation pass (§4) and accepted backfill drafts (§5), and each happens only under an explicit decider disposition: never skipped once the decider has given one, never performed without one.

3. Read moments

  1. Session start or compaction recovery: the orchestrator's startup checklist reads the glossary and skims recent decision records; any other session reaches the store through the binding doc's memory-home pointer.
  2. Grilling pre-round: the griller reads the relevant records before asking, so a settled question is never re-asked; it reopens on new evidence, never on repetition.
  3. Lane briefs: briefs point at the memory home, so a lane starts on the repo's terms and settled decisions instead of rediscovering them.
  4. Review layers: finders and skeptics read the relevant active decision records, so a review reads the why before contesting the what.

At every read moment, follow the supersession chain: only the latest unsuperseded record is active; a superseded decision or rejection is history, never authority.

4. Evolution: supersede, never edit

A decision record is superseded, never edited: a change of mind gets a new record carrying a "supersedes" link to the old one, and the old record gains a superseded marker pointing forward. Adding that Superseded-by marker is the one edit a record ever receives outside an approved consolidation pass (references/formats.md states the two supersession steps). History stays readable: you can watch a decision change and see each reason standing at its own date. The glossary is the opposite case and updates in place: it says what a term means now, and its history is git's job.

Past the size bound the binding names, the skill offers a consolidation pass: a proposal to merge superseded chains, retire records whose subject no longer exists, and tighten the glossary, presented to the decider for disposition like any other proposal. The store shrinks only on the decider's yes, never on a session's tidying instinct.

5. Backfill: on request, by disposition

An existing repo starts empty and grows forward; that is the default, and it is correct. On the decider's request, a one-time backfill lane mines closed PRs, issues, and handoffs and drafts candidate records, presented card by card, grilling-style, for disposition. Nothing becomes memory without the decider's yes: an accepted draft becomes a record, a rejected one is dropped, and the lane never writes to the store directly.

6. Binding slots (the setup interview fills these per-repo)

  • Memory home: where the store lives, a decisions directory plus a terms file the repo tracks.
  • Size bound: the store size past which sessions offer the consolidation pass.
  • Backfill (optional): whether the one-time backfill lane has been requested, and when.

Done when (checkable)

  • Every settled decision from the triggering write moment (grilling close, review disposition, or decider correction) is a record at the memory home carrying title, date, decision, the load-bearing reason, and links where a ticket or PR exists (a decider-correction record often has neither), or was declined by the decider; none is silently skipped.
  • New or sharpened terms from the moment are in the glossary: canonical form, avoid-list, no implementation detail.
  • No existing record was edited outside an approved consolidation pass, save adding a Superseded-by forward marker per formats.md's supersession steps: changes of mind are new records with supersedes links, and each superseded record carries its marker.
  • The read moment in play actually read: session start, pre-round, lane brief, or review layer consulted the store, and nothing re-asked or re-raised a recorded decision without new evidence.
  • A store past its size bound has the consolidation offer on the decider's table, and nothing was consolidated without disposition.
  • Backfill drafts, where the lane ran, were each dispositioned card by card; nothing entered the store without a yes.

Attribution

Adapted from Matt Pocock's domain-modeling (MIT). The mechanism is his: a repo glossary plus lightweight decision records (his CONTEXT.md, renamed GLOSSARY.md in his v1.3.0, and ADRs) as the two artifacts, written the moment a term or decision crystallises (a side effect of design work, not a documentation chore), files created lazily when the first entry exists, the glossary rules his GLOSSARY-FORMAT.md (called CONTEXT-FORMAT.md until v1.3.0) states (opinionated canonical terms with avoid-lists, tight definitions, project-specific concepts only) plus his SKILL.md's rule that the glossary stays devoid of implementation detail, and the record-can-be-a-paragraph bar of his ADR-FORMAT.md: the value is recording that and why, not filling out sections.

What this repo changes: the write/read moment matrix wired into the pack (grilling close-records, review dispositions, and decider corrections in; session start, grilling pre-round, lane briefs, and review layers out), supersede-never-edit in place of editable ADR statuses, the consolidation pass offered past a size bound and dispositioned by the decider, the backfill-by-disposition lane, the unified store with codebase-review's rejection memory, the plain-English-for-the-decider bar, and the binding slots.

Matgeliwwert Fichieren

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Domain Memory?

When design decisions close, review findings are declined, the decider corrects a session's assumption, a new task starts in a repo with a bound memory home, work resumes in a bound repo, or memory exceeds its size bound, record or retrieve project terms and decisions, and propose consolidation when needed.

Firwat Domain Memory op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Domain Memory besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Domain Memory an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/timharris707/skills/tree/main/plugins/clickai-codex/skills/orient/domain-memory an. TypingMind liest d'Datei SKILL.md, bündelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Domain Memory benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Domain Memory benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Domain Memory domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Domain Memory gratis?

Jo. De Skill gëtt vum timharris707 ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇