architecture-decision

Capture architectural decisions as ADRs and retain them in Hindsight.

1|Updated Mar 3, 2026
One-click install
npx skills add https://github.com/AndreJorgeLopes/devflow --skill architecture-decision-andrejorgelopes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: architecture-decision
Source: https://github.com/AndreJorgeLopes/devflow/tree/main/skills/architecture-decision
Command: npx skills add https://github.com/AndreJorgeLopes/devflow --skill architecture-decision-andrejorgelopes

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It prevents architectural decisions from getting lost over time by turning them into clear ADRs that can be recalled later and, when appropriate, enforced in the project’s CLAUDE.md.

Core Features & Use Cases

  • ADR authoring and review: Guides you to capture decision context, alternatives considered, rationale, and consequences in a consistent ADR format.
  • Persistent retention in Hindsight: Stores the ADR text as memory (e.g., Decision or Mental Model) so future work can reuse past reasoning without re-explaining.
  • Optional CLAUDE.md updates: Updates CLAUDE.md only when the decision establishes hard rules or patterns that must be followed.

Quick Start

Use architecture-decision to document a key decision for your project, then approve the review so it is retained into Hindsight and optionally updates CLAUDE.md.

Frequently Asked Questions about architecture-decision

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

FAQPage Schema
How do I document an architecture decision so the rationale isn't lost over time?

Documenting an architecture decision involves capturing context, alternatives considered, rationale, and consequences in a standardized ADR format. This approach ensures future work can reuse past reasoning without re-explaining the original technical choices.

What is an architectural decision record and when do I need one?

An architectural decision record (ADR) is a standardized document that captures major technical choices, selecting between alternatives and managing long-term consistency. You need one when software teams must document key decisions for future recall and project alignment.

How do I save architectural decisions so future work can reuse the reasoning?

Saving architectural decisions stores the ADR text as memory in Hindsight, retaining it as decision memory or mental models. This allows future development work to directly reuse past reasoning without requiring team members to re-explain the original context.

When should an architecture decision update the CLAUDE.md file?

An architecture decision should update CLAUDE.md only when the decision establishes a true hard rule or pattern that must be followed. Standard decisions are retained in Hindsight without modifying the project's CLAUDE.md configuration.

Can I use this ADR process for teams selecting between multiple technical alternatives?

Yes, the ADR process applies to software teams documenting major technical choices and selecting between alternatives. It parses decision inputs and generates a complete record to manage long-term consistency across different feature areas.

What are the limitations of retaining architecture decisions only in Hindsight?

Retaining ADRs in Hindsight stores decision memory for recall but does not enforce rules unless CLAUDE.md is updated. Decisions that require strict enforcement must trigger a CLAUDE.md update to establish hard patterns.