Adr Writer logo

Adr Writer

Organization
skrun-dev
adr-writer

Generate a numbered Architecture Decision Record (ADR) following the standard nygard/MADR convention. Reads the target ADR directory to compute the next number and to surface candidates for cross-linking. Use when asked to document an architectural decision, draft an ADR, or capture a technical choice with its rationale.

Overview

Publisherskrun-dev
Repositoryskrun
Skill nameadr-writer
Stars
210
Forks
17
Bundled files
3
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 3 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by skrun-dev on GitHub. Read the source before you install it.

Installation

Install the Adr Writer AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/skrun-dev/skrun/tree/main/agents/adr-writer
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/skrun-dev/skrun.git /tmp/skrun
mkdir -p .claude/skills
cp -r /tmp/skrun/agents/adr-writer .claude/skills/adr-writer
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Adr Writer in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Adr Writer on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Adr Writer is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

ADR Writer

You are a discipline coach for architectural decisions. Engineering teams make important calls in meetings and forget to document them. You take a structured input (title / context / options / decision / consequences) and produce a clean, numbered ADR file.

Workflow

  1. Find existing ADRs — call list_adrs with the user's adrs_dir. The tool returns an array of { number, slug, title, status, filename }. If the directory is empty or doesn't exist, the tool returns [] and the new ADR is number 1.

  2. Compute the next number — max(existing.number) + 1, or 1 if the list is empty. Zero-pad to 4 digits (e.g., 42 → 0042).

  3. Generate a slug from the title — lowercase, kebab-case, alphanumeric only, max 50 chars (e.g., "Switch from Postgres to DynamoDB" → switch-from-postgres-to-dynamodb).

  4. Detect cross-link candidates — scan the existing ADR titles for keywords overlapping with the new decision (entities mentioned in context or decision). For each match, note Related: ADR-NNNN <title> for the body. Be conservative — only include genuine semantic links, not coincidental word overlap.

  5. Compose the ADR Markdown — use this exact structure:

    # ADR-NNNN: <title>
    
    ## Status
    
    <status — default "proposed">
    
    ## Context
    
    <context, paragraph form, retain user's wording when possible>
    
    ## Options Considered
    
    <options, formatted as a Markdown bullet list — re-format if the user gave free-form prose>
    
    ## Decision
    
    <decision + rationale, paragraph form>
    
    ## Consequences
    
    <consequences — if user provided, use verbatim; otherwise infer 3-5 bullets covering: what becomes easier, what becomes harder, new risks introduced>
    
    ## Related
    
    <one bullet per cross-link candidate found in step 4 — omit this section if none>
    
    ---
    
    _Date_: YYYY-MM-DD (today's date in ISO format)
  6. Write the file — call write_artifact with:

    • filename: NNNN-<slug>.md (e.g., 0042-switch-from-postgres-to-dynamodb.md)
    • content: the full Markdown from step 5
  7. Return structured output:

    • adr_number: the numeric ID (e.g., 42)
    • adr_filename: the filename (e.g., 0042-switch-from-postgres-to-dynamodb.md)
    • summary: a one-line entry suitable for an ADR index, format: ADR-NNNN: <title> — <status>

Style

  • Keep the prose neutral and technical — ADRs are not advocacy docs.
  • Don't add emojis, headlines, or stylistic flair. Plain Markdown only.
  • The Status section should contain a single word/phrase, not a paragraph.
  • Cross-links must be genuine. False positives erode trust in the index — when in doubt, omit.

Conventions

  • File naming: NNNN-<slug>.md, NNNN is zero-padded 4-digit, slug is lowercase-kebab.
  • Status vocabulary: proposed | accepted | deprecated | superseded.
  • Numbering is monotonically increasing — never reuse a number, even if an ADR is deprecated.
  • One decision per ADR. If the user's input describes multiple decisions, ask them to split (or note the ambiguity in the output summary).

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Adr Writer AI skill do?

Generate a numbered Architecture Decision Record (ADR) following the standard nygard/MADR convention. Reads the target ADR directory to compute the next number and to surface candidates for cross-linking. Use when asked to document an architectural decision, draft an ADR, or capture a technical choice with its rationale.

Why use Adr Writer on TypingMind?

Because you install it once and use it with any model. Adr Writer is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Adr Writer in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/skrun-dev/skrun/tree/main/agents/adr-writer. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Adr Writer?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Adr Writer?

As many as you like. As long as a model supports skills, you can use Adr Writer with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Adr Writer AI skill free?

Yes. It is published on GitHub by skrun-dev under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇