Write an Architectural Decision Record in this repo's docs/adr/ following its Log4brains conventions — filename, title, metadata, and the sections that are required versus optional.

MITAuto-check passedDevelopment

Install Add Adr

skills CLI
$ npx skills add SSWConsulting/SSW.VerticalSliceArchitecture --skill add-adr -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install SSWConsulting/SSW.VerticalSliceArchitecture add-adr --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/SSWConsulting/SSW.VerticalSliceArchitecture.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/add-adr .claude/skills/add-adr && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
add-adr
GitHub stars
407
Token cost
~1.5k tokens
SKILL.md length
704 words
Files
1
Skills in repo
5
Repo updated
First seen
Licence
MIT

At a glance

Write an Architectural Decision Record in this repo's docs/adr/ following its Log4brains conventions — filename, title, metadata, and the sections that are required versus optional.

  • Works in 6 steps: Filename → Start from the template → Title → …
  • The user says add an ADR
  • SKILL.md covers When it earns an ADR, 1. Filename, 2. Start from the template and 3. Title, plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Add Adr is an agent skill from SSWConsulting/SSW.VerticalSliceArchitecture. Write an Architectural Decision Record in this repo's docs/adr/ following its Log4brains conventions — filename, title, metadata, and the sections that are required versus optional. Use when the user says "add an ADR", "record this decision", "write an ADR", "document why we chose X", or when a discussion settles an architecturally significant choice that nothing currently writes down.

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Architecture decision records. The repository describes itself as: An enterprise ready solution template for Vertical Slice Architecture. This template is just one way to apply the Vertical Slice Architecture. The licence is MIT.

When your agent uses it

  • The user says add an ADR
  • Record this decision
  • Document why we chose X
  • A discussion settles an architecturally significant choice that nothing currently writes down

Example prompts

  • “add an ADR”
  • “record this decision”
  • “write an ADR”
  • “/add-adr”

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Filename
  2. Start from the template
  3. Title
  4. Metadata
  5. Sections
  6. Writing style

What it can do on your machine

Read from SKILL.md and the folder at commit 42e7a70. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Add Adr loads about 1.5k tokens when it runs. Until then it costs about 99 tokens; SKILL.md has 704 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~99
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from SSWConsulting/SSW.VerticalSliceArchitecture at commit 42e7a70, republished under its MIT licence (© SSWConsulting). 704 words, ~1,494 tokens.

Download SKILL.mdSave it as .claude/skills/add-adr/SKILL.md (or your agent's skills folder).
name
add-adr
description
Write an Architectural Decision Record in this repo's docs/adr/ following its Log4brains conventions — filename, title, metadata, and the sections that are required versus optional. Use when the user says "add an ADR", "record this decision", "write an ADR", "document why we chose X", or when a discussion settles an architecturally significant choice that nothing currently writes down.

Add an ADR

An ADR captures one architecturally significant decision — what was decided, why, and what was rejected. The set lives in docs/adr/, is managed by Log4brains (.log4brains.yml), and is published as a static site from main.

ADRs are immutable. Once merged, the only thing that changes is the status. A decision that gets reversed doesn't get edited — it gets a new ADR, and the old one is marked superseded by [link]. Write it as a record of what was true on the date, not as living documentation.

When it earns an ADR

Write one when the decision constrains future work and someone will later ask "why is it like this?" — a framework or library choice, a persistence or hosting pattern, a convention every slice has to follow. Skip it for reversible implementation details, bug fixes, and anything a code comment covers.

1. Filename

YYYYMMDD-<kebab-slug>.md, where the date is when the decision was made, not when the record was written.

The slug usually leads with the category, but it isn't mandatory — both shapes exist in the repo:

20251018-api-use-fastendpoints-instead-of-minimal-apis.md
20260515-vertical-slices-use-a-folder-per-slice.md
20260612-use-aggregate-specification-classes-with-factory-methods.md

2. Start from the template

Copy docs/adr/template.md. It carries the full section structure with inline <!-- --> guidance on what each part is for and which are optional. Don't hand-roll the skeleton — the template is the source of truth for the shape.

docs/adr/index.md is the Log4brains site homepage, not a manual index. There is nothing to register — dropping the file in docs/adr/ is enough.

3. Title

H1, pattern [Category] - [Decision], or just the decision when no category fits:

  • API - Use FastEndpoints instead of Minimal APIs
  • Database - Use SQL Temporal Tables when data auditing is required
  • Use Aggregate Specification Classes with Factory Methods

Categories in use: API, Project, Vertical Slices. Introduce a new one when the decision genuinely doesn't fit — don't force it into an existing category.

4. Metadata

markdown
- Status: accepted
- Deciders: Daniel Mackay, Anton Polkanov
- Date: 2026-06-12
- Tags: domain, specifications

Technical Story: <GitHub issue link>   <!-- optional -->

Status is one of draft, proposed, accepted, rejected, deprecated, or superseded by [xxx](yyyymmdd-xxx.md). Don't invent a deciders list — ask who was involved, or leave the placeholder for the PR author to fill in.

Tags are free-form and lowercase. Existing ones cluster around technology (dotnet, sql, azure), architecture (vsa, clean-architecture), domain (api, database, security), and process (testing, deployment, observability).

5. Sections

Required: Context and Problem Statement, Considered Options, Decision Outcome. Everything else in the template is optional — include it when it adds something.

  • Context and Problem Statement — the situation that forced a choice. Enough for a reader who wasn't there. Often lands best as a question.
  • Considered Options — every option genuinely evaluated, including the status quo when "do nothing" was on the table. One that lists a single option isn't a decision record, it's an announcement.
  • Decision Outcome — lead with Chosen option: "X", because <reasoning>, then the consequences.
  • Pros and Cons / Consequences — ✅ for positive, ❌ for negative. Every option gets honest cons; an option with no downsides means the analysis is thin.
Show full SKILL.md (231 more words)Show less

6. Writing style

  • Write for a team member who joins in two years and wasn't in the room.
  • Active voice, concrete nouns, no jargon you haven't defined.
  • Use the vocabulary from CONTEXT.md and avoid the synonyms it lists under Avoid — a slice is a slice, not a module or a handler.
  • Link to real code (src/WebApi/Features/Heroes/CreateHero/) and to related ADRs by relative path. Images go in docs/adr/l4b-static/ — Log4brains serves that folder at the site root, so reference them as /l4b-static/<file> with alt text. The folder doesn't exist yet; create it with the first image.
  • Keep code examples minimal and focused on the decision, not the implementation.

Repo context worth referencing

The decisions that keep recurring here, and where the existing patterns live:

  • Slice organisation — one folder per use case under src/WebApi/Features/{Feature}/, with CreateHero as the reference shape. See ADR 20260515-vertical-slices-use-a-folder-per-slice.
  • API surface — FastEndpoints with typed request/response, FluentValidation running automatically, OpenAPI via Summary classes. See ADR 20251018-api-use-fastendpoints-instead-of-minimal-apis.
  • Persistence — EF Core on SQL Server, strongly typed IDs via Vogen, queries through Ardalis.Specification factory methods. See ADR 20260612-use-aggregate-specification-classes-with-factory-methods.
  • Domain modelling — aggregate roots, domain events, value objects, Guid.CreateVersion7().
  • Testing — unit, integration (Testcontainers + Respawn), architecture (NetArchTest).
  • Orchestration — .NET 10 with Aspire: AppHost, ServiceDefaults, an AddEFMigrations migrations resource, and a run-mode-only Seeder.

If the new ADR contradicts an existing one, say so explicitly rather than quietly overriding it — name the ADR and argue why it's worth reopening.

© SSWConsulting, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/add-adr of SSWConsulting/SSW.VerticalSliceArchitecture.

Open the folder on GitHubat commit 42e7a70

Compare with similar skills

Add Adr next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Add Adr compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Add Adr this skillSSWConsulting/SSW.VerticalSliceArchitecture407—~1.5kAutomated safety check: PassMIT
PR Design DocOpenHands/OpenHands90k—~2.4kAutomated safety check: PassMIT
Cto AdvisorIbrahim-3d/orchestrator-supaconductor3804 repos~2.4kAutomated safety check: PassMIT
Improve Codebase Architectureywwynm/EverythingDone14415 repos~1.3kAutomated safety check: PassGPL-3.0
Domain Modelingbrim-borium/spotify_sdk1665 repos~806Automated safety check: PassApache-2.0
Design Doc MermaidSpillwaveSolutions/design-doc-mermaid1751 repos~5.6kAutomated safety check: PassNone

Similar skills

  • PR Design Doc

    OpenHands/OpenHands

    For a non-trivial pull request, write a self-contained HTML design doc under the temporary .pr/ directory and link a visibility-appropriate preview in the PR description, so maintainers grasp the…

    90k GitHub stars~2.4k tokensUpdated today
    DevelopmentAuto-check passed
  • Cto Advisor

    Ibrahim-3d/orchestrator-supaconductor

    Technical leadership guidance for engineering teams, architecture decisions, and technology strategy.

    380 GitHub starsUsed in 4 repos~2.4k tokens
    DevelopmentAuto-check passed
  • Improve Codebase Architecture

    ywwynm/EverythingDone

    Find deepening opportunities in a codebase, informed by the domain language in CONTEXT.md and the decisions in docs/adr/.

    144 GitHub starsUsed in 15 repos~1.3k tokens
    DevelopmentAuto-check passed
  • Domain Modeling

    brim-borium/spotify_sdk

    Build and sharpen a project's domain model. An agent skill from brim-borium/spotify_sdk.

    166 GitHub starsUsed in 5 repos~806 tokens
    DevelopmentAuto-check passed
  • Design Doc Mermaid

    SpillwaveSolutions/design-doc-mermaid

    Create Mermaid diagrams (flowchart, sequence, class, ER, state, C4, architecture) from text or source code.

    175 GitHub starsUsed in 1 repo~5.6k tokens
    DevelopmentAuto-check passed
  • Learning Opportunities

    DrCatHicks/learning-opportunities

    Facilitates deliberate skill development during AI-assisted coding.

    2.5k GitHub stars~2.5k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed

More from SSWConsulting/SSW.VerticalSliceArchitecture

  • Add Entity

    SSWConsulting/SSW.VerticalSliceArchitecture

    Scaffold a new domain entity or aggregate in this Vertical Slice Architecture template — the entity itself, its strongly typed ID, errors, specification, EF Core configuration, DbSet, the mandatory…

    407 GitHub stars~1.9k tokensUpdated today
    Auto-check passed
  • Add Slice

    SSWConsulting/SSW.VerticalSliceArchitecture

    Scaffold a slice in this Vertical Slice Architecture template — one use case in its own folder, with its FastEndpoints endpoint, request, response, validator, and summary, plus the Feature and Group…

    407 GitHub stars~2.3k tokensUpdated today
    Auto-check passed
  • Aspire

    SSWConsulting/SSW.VerticalSliceArchitecture

    A skill your agent uses when the user is working with an Aspire distributed application and needs to operate the AppHost or its resources through the Aspire CLI: start, restart, stop, or wait on the…

    407 GitHub starsUsed in 1 repo~2k tokens
    Auto-check passed
  • Bump Version

    SSWConsulting/SSW.VerticalSliceArchitecture

    Bump the SSW.VerticalSliceArchitecture.Template NuGet package version to cut a new release.

    407 GitHub stars~841 tokensUpdated today
    Auto-check passed

Categories

Questions about Add Adr

What does Add Adr do?

Write an Architectural Decision Record in this repo's docs/adr/ following its Log4brains conventions — filename, title, metadata, and the sections that are required versus optional. VerticalSliceArchitecture. Write an Architectural Decision Record in this repo's docs/adr/ following its Log4brains conventions — filename, title, metadata, and the sections that are required versus optional.

When should I use Add Adr?

Add Adr fits situations like: the user says add an ADR; record this decision; document why we chose X; A discussion settles an architecturally significant choice that nothing currently writes down.

How do I install Add Adr in Claude Code?

Run `npx skills add SSWConsulting/SSW.VerticalSliceArchitecture --skill add-adr -a claude-code`. Or copy the skill folder (.claude/skills/add-adr in SSWConsulting/SSW.VerticalSliceArchitecture) into .claude/skills/add-adr in your project. Claude Code loads it when a task matches its description.

How do I install Add Adr in Codex?

Run `npx skills add SSWConsulting/SSW.VerticalSliceArchitecture --skill add-adr -a codex`. Or copy the skill folder (.claude/skills/add-adr in SSWConsulting/SSW.VerticalSliceArchitecture) into .agents/skills/add-adr in your project. Codex loads it when a task matches its description.

Can I use Add Adr in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add SSWConsulting/SSW.VerticalSliceArchitecture --skill add-adr -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/add-adr, .gemini/skills/add-adr, .github/skills/add-adr and .opencode/skills/add-adr in your project.

What does Add Adr need to run?

SKILL.md names no scripts, command-line tools or credentials: Add Adr is instructions for the agent only.

Does Add Adr access the network?

SKILL.md names 1 domain. As links in the text: github.com. This is read from the text; nothing was executed.

Is Add Adr safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Add Adr use?

Add Adr is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Add Adr use?

About 1.5k tokens (SKILL.md is roughly 6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Add Adr?

Skills that share tags, products or a category with Add Adr: PR Design Doc (OpenHands/OpenHands, 90k stars), Cto Advisor (Ibrahim-3d/orchestrator-supaconductor, 380 stars), Improve Codebase Architecture (ywwynm/EverythingDone, 144 stars) and Domain Modeling (brim-borium/spotify_sdk, 166 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Add Adr?

SSWConsulting (a GitHub organization) maintains it in SSWConsulting/SSW.VerticalSliceArchitecture, which has 407 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on October 8, 2026.

Source: SSWConsulting/SSW.VerticalSliceArchitecture on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.