Logo von Invest Adr

Invest Adr

Community
erikaflowers
invest-adr

Generates a numbered Architecture Decision Record from a decision description, using VECTOR.md constraints, ARCHITECTURE.md stack context, and existing ADRs to avoid contradictions. Use when making an architectural or product decision that should be documented and stored.

Übersicht

Herausgebererikaflowers
Repositoryinvestiture
Skill-Nameinvest-adr
Sterne
55
Forks
9
Mitgelieferte Dateien
Nur Anweisungen
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • In sich abgeschlossen

    Alles, was das Modell braucht, steht in den Anweisungen — keine zusätzlichen Dateien zum Synchronisieren.

  • Open Source

    Von erikaflowers auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill Invest Adr in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner. Dabei liest die App SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/erikaflowers/investiture/tree/main/.claude/skills-optional/invest-adr
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format unterstützt, kann diesen Skill nutzen. Kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/erikaflowers/investiture.git /tmp/investiture
mkdir -p .claude/skills
cp -r /tmp/investiture/.claude/skills-optional/invest-adr .claude/skills/invest-adr
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Invest Adr in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Invest Adr automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Invest Adr nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Schlüsseln.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

Investiture Skill: Decision Record

You are capturing a decision before it becomes invisible. Architecture decisions made without records cause confusion months later when no one remembers why a choice was made — or worse, when the same decision gets relitigated. This skill takes a decision in flight and turns it into a permanent, numbered, cross-referenced ADR.

This skill runs on demand. It does not depend on invest-doctrine or invest-architecture having run first, but it reads doctrine files to inform the ADR. It writes to /vector/decisions/, which invest-backfill initializes. If doctrine files are missing, the skill flags what context is absent and continues.

Step 0: Get the Decision Description

If a decision description was passed as an argument, use it directly.

If no argument was provided, prompt the operator:

What decision are you capturing? Describe it as a question or a choice:
Examples:
  "Should we add Supabase or stay local-first with IndexedDB?"
  "Use React Query vs. manual fetch + useEffect for data loading"
  "Deploy as Cloudflare Worker vs. Netlify serverless function"

Step 1: Read Doctrine

Read the following files. They define the constraints and context within which this decision lives.

  1. VECTOR.md — Extract: constraints (hard limits), value proposition (what this product must do), design principles (philosophy that should guide decisions), project stage.
  2. ARCHITECTURE.md — Extract: current stack (what is already in use), declared preferences, existing patterns, "What Not to Do" prohibitions.
  3. /vector/decisions/ — List all existing ADR files. Read their titles and decisions. You need this to:
    • Number the new ADR correctly (next in sequence after the highest existing number)
    • Identify prior decisions this new one must not contradict
    • Find prior decisions this one supersedes or relates to

If VECTOR.md or ARCHITECTURE.md is missing, flag it and continue — you can still write a useful ADR, but note which context is missing.

If /vector/decisions/ does not exist, create it. The new ADR will be the first: ADR-001.

Step 2: Determine the ADR Number and Slug

Numbering: Find the highest existing ADR number in /vector/decisions/. The new ADR is that number + 1, zero-padded to three digits: 001, 002, 031, 100.

If no ADRs exist, start at ADR-001.

Slug: Derive from the decision description. Lowercase, hyphenated, 3-6 words:

  • "Should we add Supabase or stay local-first with IndexedDB?" → supabase-vs-indexeddb
  • "Use React Query vs. manual fetch" → react-query-vs-manual-fetch
  • "Deploy as Cloudflare Worker vs. Netlify" → cloudflare-worker-vs-netlify

Filename: ADR-[NNN]-[slug].md

Step 3: Analyze the Decision

Before writing the ADR, think through the decision using the doctrine context:

Options identification: What are the real alternatives? There are almost always at least two, sometimes three. Name them clearly. "Do nothing / keep the current approach" is always a valid option and often worth including.

Constraint filtering: Which options are ruled out by VECTOR.md constraints or ARCHITECTURE.md prohibitions? For example, if VECTOR.md says "no external dependencies," cloud-hosted databases are eliminated. State this explicitly — eliminating options based on declared constraints is faster than evaluating them.

Stack compatibility: Which options fit the existing stack without friction? Which require new dependencies, new patterns, or new expertise?

Value prop alignment: Does one option better serve the core value proposition in VECTOR.md? If yes, that's a meaningful signal, not just a technical preference.

Prior ADR cross-reference: Does any existing ADR constrain this decision? For example, a prior ADR establishing "local-first architecture" would weigh heavily against a cloud-hosted option. If a prior ADR is directly relevant, reference it by number.

Step 4: Draft the ADR

Write a complete ADR using this structure:

markdown
# ADR-[NNN]: [Decision Title — present tense, descriptive]

**Date:** [today's date]
**Status:** [proposed | accepted | deprecated | superseded by ADR-NNN]
**Deciders:** [OPERATOR: List who was involved in this decision, or remove this line]

## Context

[2-4 sentences. What is the situation that requires a decision? What problem are we solving? What constraints apply from VECTOR.md or ARCHITECTURE.md? What is the cost of not deciding?]

## Decision Drivers

[Bullet list of the factors that matter most for this decision. These come from VECTOR.md constraints, ARCHITECTURE.md preferences, and project stage. Be specific — not "performance" but "must render under 100ms on low-end devices."]

- [Driver 1 — sourced from doctrine if possible]
- [Driver 2]
- [Driver 3]

## Options Considered

### Option A: [Name]

[1-2 sentences describing this option.]

**Pros:**
- [Concrete advantage — specific to this project, not generic]
- [Another advantage]

**Cons:**
- [Concrete disadvantage or risk]
- [Another disadvantage]

### Option B: [Name]

[Same structure]

### Option C: [Name, if applicable]

[Same structure]

## Decision

**We will [chosen option].**

[2-3 sentences explaining why this option was chosen. Reference the decision drivers that it best satisfies. If a constraint from VECTOR.md or a prior ADR was the deciding factor, say so explicitly.]

## Consequences

**Positive:**
- [What gets better or easier]
- [What new capability this enables]

**Negative:**
- [What this forecloses — options that are now off the table]
- [Technical debt or tradeoffs this introduces]
- [What will need to be revisited if circumstances change]

**Neutral:**
- [Side effects that aren't good or bad, just worth knowing]

## Related Decisions

[List any ADRs that this decision relates to, supersedes, or is constrained by. Format: `ADR-NNN: [Title]`. Or "None." if this is the first ADR.]

On the [OPERATOR: ...] bracket in Deciders: Leave it exactly as written. Do not guess or fill in who was involved — that's for the operator to provide. If you do not know who made the decision, leave the bracket.

Status field:

  • proposed — Decision is being considered, not yet finalized. Default if no --status flag was passed.
  • accepted — Decision is final.
  • deprecated — The decision is no longer in effect but wasn't superseded by a specific newer ADR.
  • superseded by ADR-NNN — A newer decision replaced this one.

If --status was passed as an argument, use that value.

Step 5: Present for Confirmation

Output the drafted ADR to the terminal in full. Then ask:

ADR-[NNN]-[slug].md drafted above.
Write to /vector/decisions/ADR-[NNN]-[slug].md? (yes/no)

If --dry-run was passed: Output the ADR to the terminal and stop. Do not write the file, do not ask for confirmation.

Step 6: Write the File

On confirmation, write to /vector/decisions/ADR-[NNN]-[slug].md.

Create /vector/decisions/ if it does not exist.

Output the final ADR to the terminal and save it to /vector/decisions/ADR-[NNN]-[slug].md. Each ADR is a new sequential file — do not overwrite existing ADRs.

After writing, output:

ADR-[NNN] written to /vector/decisions/ADR-[NNN]-[slug].md

[If this supersedes a prior ADR:]
Note: You may want to update ADR-[prior NNN] to set its status to "superseded by ADR-[NNN]."

Arguments

  • No arguments: Interactive — prompts for decision description, uses --status proposed by default
  • [decision description]: Uses the argument as the decision description, skips the prompt
  • --status [proposed|accepted|deprecated|superseded]: Sets the ADR status field
  • --dry-run: Drafts and displays the ADR without writing the file

Output

/vector/decisions/ADR-[NNN]-[slug].md

When to Run

  • Before committing to a new dependency or external service
  • Before adopting a new architectural pattern that will propagate across the codebase
  • Before making a choice that is hard to reverse
  • When the same decision keeps coming up — record it so it stops being relitigated
  • After a significant pivot — record what changed and why

Principles

  • One decision, one ADR. Don't bundle multiple choices into a single record. If you're deciding both the state management library AND the data fetching strategy, write two ADRs.
  • Constraints are filters, not opinions. If VECTOR.md rules something out, say so clearly. You're not making a judgment call — you're applying declared doctrine.
  • "Do nothing" is always an option. Including the status quo as an evaluated option makes the decision more honest.
  • Specificity over generality. "Fast enough for our users" is not a decision driver. "Must render initial content under 200ms on a 3G connection" is.
  • Consequences matter as much as the decision. The point of an ADR is not just to record the choice — it's to record what it forecloses. Future contributors need to know what they're inheriting.

Häufig gestellte Fragen

Was macht der KI-Skill Invest Adr?

Generates a numbered Architecture Decision Record from a decision description, using VECTOR.md constraints, ARCHITECTURE.md stack context, and existing ADRs to avoid contradictions. Use when making an architectural or product decision that should be documented and stored.

Warum Invest Adr in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Invest Adr besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Invest Adr in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/erikaflowers/investiture/tree/main/.claude/skills-optional/invest-adr ein. TypingMind liest die Datei SKILL.md und installiert den Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Invest Adr nutzen?

Jedes Modell, das Sie mit TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Invest Adr verwenden?

So viele Sie möchten. In TypingMind können Sie Invest Adr mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill Invest Adr kostenlos?

Der Skill wird von erikaflowers auf GitHub veröffentlicht. Prüfen Sie im Repository, ob dort Lizenzbedingungen angegeben sind. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇