adr-writing

adr-writing is a skill for Claude Code, Codex from shopwareLabs/ai-coding-tools. It costs 135 tokens per session (1,505 once invoked), scanned A, original, MIT.

A writing and validation guide for Architecture Decision Records (ADRs), short documents that explain important software design choices in the Shopware core repository. It defines the required structure, metadata, and topics an ADR must cover.

In plain words
What is it for?
Use it to draft or review an ADR covering requirements, affected systems, APIs, extension points, rationale, and consequences.
Why use it?
It helps developers produce decision records that are complete and consistent with the repository's standards. It also distinguishes creating an ADR from checking an existing one.

Skill for Claude CodeCodex

Part of the contributor-writing plugin — 5 skills shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/shopwarelabs/ai-coding-tools/adr-writing
Any agent
npx skills add shopwareLabs/ai-coding-tools --skill adr-writing
Clone the repo
git clone --depth 1 https://github.com/shopwareLabs/ai-coding-tools

Made for: Claude Code, Codex.

Or install contributor-writing, the plugin that ships this one along with the rest of its 5 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for adr-writing

README.md
[![agentmods](https://agentmods.dev/badge/skills/shopwarelabs/ai-coding-tools/adr-writing.svg)](https://agentmods.dev/skills/shopwarelabs/ai-coding-tools/adr-writing)
Your own site
<a href="https://agentmods.dev/skills/shopwarelabs/ai-coding-tools/adr-writing"><img src="https://agentmods.dev/badge/skills/shopwarelabs/ai-coding-tools/adr-writing.svg" alt="Measured on agentmods" height="20"></a>
Per session 135 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,505 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00135 $0.01505
Opus 5 $0.00068 $0.00753
Sonnet 5 $0.00027 $0.00301
Haiku 4.5 $0.00014 $0.00151

Measured 5d ago against content hash c2089fdf1f22, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

adr-writing scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/contributor-writing/skills/adr-writing/SKILL.md · 177 lines

How it starts

The opening of the file, as written. The whole thing — 177 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ADR Writing

Mode Detection

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

Front Matter

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

Read the full file on GitHub · 177 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 177 lines · 135 tokens per session scan A c2089fdf1f22

Subscribe to this mod's changes

adr-writing is a skill published in the GitHub repository shopwareLabs/ai-coding-tools (43 stars, last pushed today), licensed MIT. It adds 135 tokens to every session and 1,505 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

plan

Produce structured implementation plans with goal, approach, test strategy, blast-radius assessment, parallelism analysis, and a user approval gate before any code is written. Persisting PLAN.md for fresh-session handoff. Use when: 'plan this', 'architect this', 'how should we implement', 'implementation plan', 'write…

melodic-software/claude-code-plugins · 100 tokens

implement

Execute approved plans, fix bugs, and make code changes inline with incremental validation. TDD by default, build+test after each logical block, commit at green checkpoints, and divergence detection that routes back to planning instead of pushing through a broken approach. Use when: 'implement this', 'execute the…

melodic-software/claude-code-plugins · 110 tokens

batch-simplify

Batch-run simplification across changed files, or across an entire repository, grouped by ecosystem and dependency order. Use when: 'batch simplify', 'simplify recent changes', 'simplify everything', 'forgot to run simplify', 'catch up on simplify', 'simplify my branch changes', 'simplify the whole repo', 'simplify…

melodic-software/claude-code-plugins · 170 tokens

audit-permission-state

Report the Claude Code permission state actually in effect. Discovers every settings scope (managed policy, user-global, project, local, and the pre-v2.1.211 start-directory copy), merges them into the effective allow/ask/deny set with each rule's source and precedence mechanic named, and classifies which allow rules…

melodic-software/claude-code-plugins · 158 tokens

audit-native-overlap

Map native Claude Code surfaces (built-in CLI commands, bundled skills, plugin-backed built-ins, session-provided skills) against the current repo's plugin skills and agents, so a custom component never silently duplicates what Claude Code itself now ships. Bare invocation is a READ-ONLY report: overlap candidates…

melodic-software/claude-code-plugins · 242 tokens

audit-encapsulation

Audit and remediate skill-encapsulation violations. External citations reaching into private surfaces inside .claude/skills/ / or plugins/ /skills/ / (marketplace monorepos) beyond the slash invocation. Use when: 'audit encapsulation', 'find skill leaks', 'skill boundary violation', 'who is reaching into ', 'check…

melodic-software/claude-code-plugins · 92 tokens