Adr Writing logo

Adr Writing

Organization
shopwareLabs
adr-writing

Use this skill when the user asks to write, create, draft, or validate an Architecture Decision Record for the Shopware core repository — phrases like "write an ADR", "create an architecture decision record", "draft a decision record", "validate this ADR", "check ADR quality", or when they mention "ADR", "architecture decision record", or "decision record" in a context that calls for capturing or auditing an architectural decision. Interactively creates ADRs (simple or multi-domain structure) with proper YAML front matter and guided content, and validates existing ADRs against front matter rules, required coverage, structure, writing style, and Shopware-specific patterns.

Overview

PublishershopwareLabs
Repositoryai-coding-tools
Skill nameadr-writing
Stars
45
Forks
7
Bundled files
6
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.

  • 6 bundled files

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

  • Open source

    Published by shopwareLabs on GitHub. Read the source before you install it.

Installation

Install the Adr Writing 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/shopwareLabs/ai-coding-tools/tree/main/plugins/contributor-writing/skills/adr-writing
  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/shopwareLabs/ai-coding-tools.git /tmp/ai-coding-tools
mkdir -p .claude/skills
cp -r /tmp/ai-coding-tools/plugins/contributor-writing/skills/adr-writing .claude/skills/adr-writing
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Adr Writing 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 Writing 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 Writing 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 Writing

Mode Detection

  • Creation: "create", "write", "new", "draft"
  • Validation: "validate", "check", "verify", "review"

Front Matter

yaml
---
title: Short descriptive title
date: YYYY-MM-DD
area: core
tags: [relevant, tags]
---
  • title (required): Short, descriptive. Do NOT repeat as a Markdown # heading
  • date (required): YYYY-MM-DD
  • area (required): One of: core, checkout, admin, storefront, inventory, framework, discovery, infrastructure, process
  • tags (required): Lowercase technical terms, YAML array
  • authors, status (optional)

Required Coverage

Every ADR must address all 8 items:

  1. Complete description of the requirements
  2. All technical domains affected
  3. All affected logic in the system
  4. Pseudocode for new logic
  5. All public APIs to be created or changed
  6. How developers can extend the new APIs and what business cases you see
  7. The reason for the decision
  8. All consequences and their impact on developers

Writing Principles

  • Audience: Shopware developers familiar with the codebase — no need to explain DAL, Symfony, Vue, Criteria, SalesChannelContext
  • Voice: Direct, informal, developer-to-developer
  • Factual over promotional: Describe what changes and why ("simplifies the caching logic", "removes manual transaction handling"). Never use marketing language ("greatly enhanced", "stands to benefit significantly"). Quantitative claims only when backed by explicit data the author provides — never estimate or guess numbers
  • Prose for reasoning, plain bullets only for discrete independent items
  • One decision per ADR
  • Rationale focus: The "why" is the most valuable part

Load references/writing-style.md for voice examples, table/diagram guidance


Creation Workflow

Step 1: Gather Context

AskUserQuestion to collect: topic/title, area (present enum), tags, scope (single vs multi-domain).

If topic already provided, infer what you can before asking.

Step 2: Select Structure

Load references/structure-patterns.md for templates and examples

Single domain → Context / Decision / Consequences:

markdown
## Context
[Problem, background, constraints — problem before solution]

## Decision
[What was decided, pseudocode, public API definitions]

## Consequences
[Developer impact, backward compatibility, migration path]

Multi-domain → Domain-by-domain:

  1. ## heading per domain
  2. 1-2 sentences on relevance, then Problems (what logic to touch and why), then Solutions (how to change it with pseudocode)
  3. Extendability section
  4. Consequences section

Additional sections when appropriate: Extendability, Considered Alternatives, Backward Compatibility, Security Considerations.

Step 3: Draft ADR

  1. Front matter with today's date (use date +%Y-%m-%d via Bash)
  2. Context first — always explain problem before solution
  3. Address all 8 required coverage items
  4. Load references/code-in-adrs.md when writing code sections
  5. Load references/shopware-patterns.md for feature flags, cross-references, audience-specific consequences
  6. Load references/writing-rules-anti-ai-slop.md to internalize style constraints and anti-slop rules

Step 4: Self-Validate

Verify all 8 required coverage items are addressed. If gaps exist, ask user for missing information.

Also ask about optional concerns: feature flag gating, backward compatibility implications, alternative approaches considered, related ADRs to cross-reference.

Step 5: Validate and Write

  1. Anti-slop validation pass — load references/writing-rules-anti-ai-slop.md, then check the draft literally (not from memory):
    • First: search the draft text for em dash (—) and en dash (–) characters. Remove every instance. This is the most common violation and must be checked first as a literal character search, not a mental scan.
    • Then re-read each sentence against: banned vocabulary, banned sentence patterns, colon/semicolon overuse, sentence rhythm, concreteness, tone
    • If any violations found, rewrite the affected sentences and re-check
  2. Filename: YYYY-MM-DD-kebab-case-title.md
  3. Write to adr/ directory if it exists, otherwise ask user for target directory
  4. Confirm creation with file path

Validation Workflow

Step 1: Load and Parse

Read file, parse YAML front matter, identify ## section headings.

Step 2: Check Front Matter

Verify: title present, date valid YYYY-MM-DD, area from allowed enum, tags lowercase array, no # heading duplicating title.

Step 3: Check Content

Load references/validation-checklist.md for detailed criteria

Load references/writing-rules-anti-ai-slop.md for anti-slop checks

Check all 8 required coverage items, structure compliance, writing style, anti-slop rules, code quality, Shopware-specific patterns.

Step 4: Generate Report

ADR Validation Report
=====================

File: [filename]
Title: [title]

Front Matter: [✓/✗]
  [issues if any]

Required Coverage: [✓/⚠/✗]
  [per-item breakdown]

Structure: [✓/⚠]
  [type detected, issues]

Style: [✓/⚠]
  [issues if any]

Anti-Slop: [✓/⚠]
  [issues if any]

Shopware Patterns: [✓/⚠]
  [issues if any]

Recommendations:
  1. [actionable items]

Error Handling

  • No ADR directory: Ask user for target path
  • File exists (creation): Ask to overwrite or rename
  • Invalid front matter (validation): Report parsing errors
  • Missing file (validation): Report not found

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 Writing AI skill do?

Use this skill when the user asks to write, create, draft, or validate an Architecture Decision Record for the Shopware core repository — phrases like "write an ADR", "create an architecture decision record", "draft a decision record", "validate this ADR", "check ADR quality", or when they mention "ADR", "architecture decision record", or "decision record" in a context that calls for capturing or auditing an architectural decision. Interactively creates ADRs (simple or multi-domain structure) with proper YAML front matter and guided content, and validates existing ADRs against front matter...

Why use Adr Writing on TypingMind?

Because you install it once and use it with any model. Adr Writing 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 Writing in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/shopwareLabs/ai-coding-tools/tree/main/plugins/contributor-writing/skills/adr-writing. 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 Writing?

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 Writing?

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

Is the Adr Writing AI skill free?

Yes. It is published on GitHub by shopwareLabs 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 👇