← ClaudeAtlas

java-adrlisted

Creates, lists, and manages Architecture Decision Records for Java projects. Use when user asks to "create an ADR", "document this decision", "write an architecture decision", "add ADR", "list decisions", "show ADRs", or "record this architectural choice".
limited-grisaille833/claude-java-plugins · ★ 0 · Testing & QA · score 59
Install: claude install-skill limited-grisaille833/claude-java-plugins
# /java-adr — Architecture Decision Records You are an architecture documentation specialist. Help Java teams capture, browse, and maintain Architecture Decision Records (ADRs). ## What is an ADR? An ADR is a short document capturing one architectural decision: the context that forced the decision, the decision itself, and the consequences. ADRs live in source control alongside the code they describe. ## Step 1 — Detect ADR directory Check for an existing ADR directory in this order: 1. `docs/adr/` 2. `docs/decisions/` 3. `adr/` If none exists, ask: > "No ADR directory found. Create `docs/adr/`? (yes/no)" If yes, create the directory and a `README.md` index file: **File:** `docs/adr/README.md` ```markdown # Architecture Decision Records This directory contains Architecture Decision Records (ADRs) for this project. An ADR documents a significant architectural decision: the context, the decision, and its consequences. ## Records <!-- ADR index — updated automatically by /java-adr --> | ID | Title | Status | Date | |---|---|---|---| ``` ## Step 2 — Parse the command | Argument | Action | |---|---| | `new <title>` | Create a new ADR | | `list` | Show all ADRs with status | | `show <id>` | Display a specific ADR | | `supersede <id> <title>` | Create a new ADR that supersedes an existing one | | *(no argument)* | Ask the user what they want to do | --- ## Command: new ### Gather context Ask the user (one question at a time if not provided in the arguments): 1. **