mit einem Klick
manage-adr
// Manage Architecture Decision Records (ADRs). Use this to initialize, create, list, and link ADRs to document architectural evolution. Requires 'adr-tools' to be installed.
// Manage Architecture Decision Records (ADRs). Use this to initialize, create, list, and link ADRs to document architectural evolution. Requires 'adr-tools' to be installed.
Upgrade outdated npm dependencies in the pnpm monorepo (recursive update, latest, targeted packages). Use when the user asks to upgrade dependencies, bump packages, refresh lockfile, pnpm update, outdated packages, latest versions, or dependency refresh—not monorepo release versions.
Format code, run linters and static analysis, and find unused code (ESLint + Knip). Use when the user asks to fix lint, format code, run formatters, find dead code, unused exports, run knip, fix style, tidy code, or run eslint --fix.
Use at the end of a coding session to summarize outcomes, failures, inefficiencies, and root causes, then output a concise postmortem report with ranked improvements for next time. Output only in chat; do not edit project files unless the user explicitly asks. Skip nit-picks and one-off mistakes.
Interactively bump package versions for the parser package. Use when the user asks to bump version, increment version, set release version, or release dbt-artifacts-parser.
Regenerates TypeScript types from dbt artifact JSON schemas. Use when the user asks to update parsers, sync with upstream, refresh types, or regenerate parser types from existing schemas.
Interactive deep research and decision support: frame the real problem (XY-aware), ask exactly 10 multiple-choice questions one at a time, then produce a rigorous comparative evaluation (default 5 approaches, 0–100 scores) and recommendation. Use when the user wants structured discovery before committing to a solution, a scored comparison of approaches, or to avoid jumping straight to an answer—especially for architecture, strategy, or high-stakes trade-offs.
| name | manage-adr |
| description | Manage Architecture Decision Records (ADRs). Use this to initialize, create, list, and link ADRs to document architectural evolution. Requires 'adr-tools' to be installed. |
Architecture Decision Records (ADRs) are a lightweight way to document the "why" behind significant technical choices.
Use ADRs for decisions that meet one or more of the following criteria:
Do NOT use ADRs for:
A clear distinction must be maintained:
When an ADR requires implementation, link to design docs or relevant code in the References section.
Put these in code, package README, or config instead:
tokens.css (or equivalent)list).mend-adrmanage-adr is for authoring and lifecycle (create, supersede, link, organize).
mend-adr is the drift workflow.
Run mend-adr when behavior may no longer match an Accepted ADR. It audits intent and
stable facts first; volatile implementation detail belongs in living sources
(config, code, READMEs). Amendments should be short and decision-level, not copies
of eslint tables or file inventories. Optional docs/design/ notes are fine for deep
maps if the team maintains them; otherwise use coarse pointers only.
If ADRs are not yet initialized in the project, run:
adr init docs/adr
This ensures records are created in docs/adr.
To create a new ADR, use the provided script to ensure non-interactive creation:
.claude/skills/manage-adr/scripts/create-adr.sh "Title of the ADR"
After creation, the script will output the filename. You MUST then edit the file to fill in the Context, Decision, and Consequences.
If a new decision replaces an old one, use the -s flag:
.claude/skills/manage-adr/scripts/create-adr.sh -s <old-adr-number> "New Decision Title"
To link two existing ADRs (e.g., ADR 12 amends ADR 10):
adr link 12 Amends 10 "Amended by"
adr listread_file docs/adr/NNNN-title.mdadr generate tocadr generate graph | dot -Tpng -o adr-graph.pngUse Mermaid diagrams to visualize architectural decisions, system designs, and relationships. Diagrams render automatically in GitHub and most Markdown viewers.
mermaid language identifier:### Architecture
\`\`\`mermaid
graph TB
A[Component A] --> B[Component B]
B --> C[Component C]
\`\`\`
See references/mermaid-diagrams.md for comprehensive examples including:
Common diagram types for ADRs:
graph TB or graph LR: System/software architecture, component relationshipssequenceDiagram: Interaction flows, API sequences, decision processesflowchart TD: Decision trees, workflows, process flowsstateDiagram-v2: State transitions, lifecycle processesclassDiagram: Type relationships, class hierarchiesreferences/adr-granularity.md for guidance on ADR granularity.references/mermaid-diagrams.md for diagram examples and patterns.references/adr-concepts.md for ADR philosophy and external links.assets/template.md as a structural guide for new records.