Logo van 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.

Overzicht

Uitgevererikaflowers
Repositoryinvestiture
Skillnaaminvest-adr
Sterren
55
Forks
9
Meegeleverde bestanden
Alleen instructies
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door erikaflowers op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Invest Adr in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/erikaflowers/investiture/tree/main/.claude/skills-optional/invest-adr
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

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
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Invest Adr in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Invest Adr automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Invest Adr niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

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.

Veelgestelde vragen

Wat doet de AI-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.

Waarom Invest Adr gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Invest Adr bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Invest Adr in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/erikaflowers/investiture/tree/main/.claude/skills-optional/invest-adr. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Invest Adr gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Invest Adr gebruiken?

Zoveel als je wilt. Je kunt Invest Adr gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Invest Adr gratis?

Deze skill is door erikaflowers op GitHub gepubliceerd. Bekijk de repository voor de licentievoorwaarden. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇