architecture-decision-records

Capture architectural decisions as structured ADR documents with context and rationale.

Updated Jun 24, 2026
One-click install
npx skills add https://github.com/mostafa-ismail-2004/codex-plugin --skill architecture-decision-records-mostafa-ismail-2004
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: architecture-decision-records
Source: https://github.com/mostafa-ismail-2004/codex-plugin/tree/main/skills/architecture-decision-records
Command: npx skills add https://github.com/mostafa-ismail-2004/codex-plugin --skill architecture-decision-records-mostafa-ismail-2004

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps teams preserve the reasoning behind important architecture choices so future work does not depend on memory, chat logs, or scattered PR comments.

Core Features & Use Cases

  • Record architectural decisions: Turn significant choices into structured ADRs with context, decision, alternatives, and consequences.
  • Review past decisions: Find and summarize existing ADRs when someone asks why a system, framework, or design approach was chosen.
  • Maintain an ADR log: Create and update an indexed decision history that stays alongside the codebase.
  • Use case: A team chooses PostgreSQL over MongoDB and wants a durable record of the rationale, trade-offs, and rejected alternatives.

Quick Start

Ask the AI to help document the architectural decision and draft an ADR for your chosen approach.

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 architectural decisions and trade-offs in my codebase?

Document architectural decisions by creating structured Architecture Decision Records that capture context, alternatives, rationale, and consequences. This approach preserves the reasoning behind significant engineering choices so future work does not depend on scattered chat logs or memory.

What is an Architecture Decision Record and when should I write one?

An Architecture Decision Record is a structured document that captures the context, decision, alternatives, and consequences of a significant technical choice. You should write one during planning discussions for technology selection, API design, data modeling, or infrastructure choices.

How do I maintain an indexed log of past architecture decisions?

Maintain an architecture decision log by reading existing ADR indexes, numbering new records sequentially, and preserving the full decision history alongside your codebase without writing files until the proposed decision is explicitly approved.

Can I use ADRs to record the rationale for choosing one database or framework over another?

Yes, you can use Architecture Decision Records to document technology selection choices like choosing PostgreSQL over MongoDB. The ADR captures the durable rationale, trade-offs, and rejected alternatives so the team understands why a specific framework was chosen.

Does this approach to decision documentation apply to API design and data modeling?

Architecture Decision Records apply directly to API design, data modeling, infrastructure choices, and other significant codebase trade-offs. They turn significant choices into structured documents with context, decision, alternatives, and consequences.

What are the limitations of relying on PR comments for architectural rationale?

Relying on PR comments or chat logs for architectural rationale limits future teams because context fades over time. Structured ADRs solve this by preserving the decision history and reasoning durably alongside the codebase.