architecture-decision-records

Capture architectural decisions as structured ADR documents during design discussions and coding sessions.

1|Updated Apr 7, 2026
One-click install
npx skills add https://github.com/riftzen-bit/gemini-setup --skill architecture-decision-records-riftzen-bit
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: architecture-decision-records
Source: https://github.com/riftzen-bit/gemini-setup/tree/main/skills/architecture-decision-records
Command: npx skills add https://github.com/riftzen-bit/gemini-setup --skill architecture-decision-records-riftzen-bit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Architectural decisions and their rationales often live in ephemeral places like chat threads, PR comments, or engineers' memories; this Skill captures those moments and produces structured Architecture Decision Records (ADRs) that live alongside the codebase so future contributors understand why choices were made.

Core Features & Use Cases

  • Decision detection & drafting: Detects decision moments during planning, code reviews, or conversations and drafts an ADR with context, alternatives, and consequences.
  • Safe repository workflow: Prompts for confirmation before creating docs/adr/, assigns incremental ADR numbers by scanning existing files, and only writes files after explicit user approval while updating the ADR index.
  • Read and reference: Locates and presents existing ADR Context and Decision sections when asked why a particular choice was made, and suggests creating an ADR when architecture changes are proposed.
  • Use case: When a team chooses a database or a framework, use this Skill to produce a concise ADR that records the alternatives considered and the reasons for the selection.

Quick Start

Ask the architecture-decision-records skill to record the decision to adopt PostgreSQL over MongoDB and draft an ADR for review.

Frequently Asked Questions about architecture-decision-records

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I document architecture decisions in my repository?▼

To document architecture decisions, the Skill detects decision signals during design discussions or pull request reviews, gathers context and alternatives, and drafts structured ADR files in a docs/adr directory after explicit user confirmation.

What is an Architecture Decision Record and when do I need one?▼

An Architecture Decision Record (ADR) is a structured document that captures the context, alternatives, and reasons behind a repository-level choice. You need one when selecting frameworks, databases, API designs, or deployment patterns so future contributors understand the rationale.

How do I create ADRs without overwriting existing decision records?▼

To create ADRs safely, the Skill scans existing files in the docs/adr directory to assign incremental ADR numbers and updates the README index. It prompts for user confirmation before writing any files to prevent overwriting prior decision records.

Can I retrieve the rationale for a past design decision during a code review?▼

Yes, you can retrieve past design decision rationale by asking the Skill to locate and present the Context and Decision sections of existing ADRs. It also suggests creating a new ADR when architecture changes are proposed during reviews.

Does this ADR workflow require any specific developer tools or dependencies?▼

No specific developer tools or dependencies are required. The ADR workflow operates by scanning your repository files, assigning incremental numbering, and updating the docs/adr README index directly within your existing coding sessions.

What is the best way to record database or framework selection rationale?▼

The best way to record database or framework selection rationale is to draft a concise ADR that captures the alternatives considered and the consequences of the choice. The Skill initiates this during developer conversations or planning meetings for review.