agentleFS
po4ykapo4yka/llm-wiki-skills/skills/llm-wiki-adr-memory/SKILL.md

llm-wiki-adr-memory

Skill6 starsChanged 5 months agoMITView on GitHub

Recover and maintain decision provenance in an LLM-Wiki. Use when the user asks why a technical/product decision was made, wants ADRs generated or connected, or needs PRs, issues, discussions, commits, and docs distilled into decision memory.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use status: draft unless an owner approves.

    line 91
  2. Distinctive:

    Do not invent rationale when evidence is missing.

    line 115
  3. Distinctive:

    Do not treat inferred motivation as extracted fact.

    line 116
  4. Distinctive:

    Do not rewrite official ADRs without review.

    line 117
  5. Distinctive:

    Do not expose private discussion excerpts unnecessarily.

    line 118

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

LLM-Wiki ADR Memory

Goal

Make architectural and product decisions traceable, searchable and durable.

When to use

  • Someone asks why a technical or product decision was made and no clear record exists.
  • A PR, issue, or discussion thread contains decision rationale that should be distilled into a durable ADR.
  • An existing ADR needs to be linked into the wiki or checked against newer commits/docs for stale assumptions.
  • A subsystem lacks decision provenance and the user wants it recovered from history before further changes land.

Inputs

  • Existing ADRs, docs, PRs, issues, discussions or commit history.
  • Target decision or subsystem.
  • Desired mode: recover, create draft ADR, update wiki, or answer a question.

Procedure

1. Identify decision scope

Clarify:

  • decision title;
  • affected system/domain;
  • approximate time window;
  • stakeholders if known;
  • current pain point.

2. Gather evidence

Search:

  • ADR files;
  • PR descriptions and review threads;
  • issues and discussions;
  • commit messages;
  • architecture docs;
  • wiki pages;
  • meeting notes if available.

3. Build decision timeline

Extract:

  • context;
  • options considered;
  • constraints;
  • trade-offs;
  • final decision;
  • consequences;
  • assumptions that may now be stale.

4. Create or update decision page

Recommended structure:

# Decision: <title>

## Status

## Context

## Options considered

## Decision

## Consequences

## Evidence

## Stale assumptions

## Follow-ups

Use status: draft unless an owner approves.

5. Link into wiki

Connect decision pages to concepts, entities, repo docs and relevant source pages. Add to wiki/index.md if important.

Output

## Decision memory summary

## Evidence reviewed

## Timeline

## Draft ADR or wiki page

## Unresolved questions

## Recommended owners

Safety gates

  • Do not invent rationale when evidence is missing.
  • Do not treat inferred motivation as extracted fact.
  • Do not rewrite official ADRs without review.
  • Do not expose private discussion excerpts unnecessarily.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.