rsun-adr

Create Architecture Decision Records documenting technical choices using the Nygard format.

Updated May 20, 2026
One-click install
npx skills add https://github.com/EZoneLai/claude-plugin-ronsunai-os --skill rsun-adr-ezonelai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rsun-adr
Source: https://github.com/EZoneLai/claude-plugin-ronsunai-os/tree/main/commands/rsun-adr
Command: npx skills add https://github.com/EZoneLai/claude-plugin-ronsunai-os --skill rsun-adr-ezonelai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Major technical decisions—database selection, architecture patterns, authentication schemes, deployment platforms—often lose their rationale over time, causing teams to revisit settled questions or repeat past mistakes. This Skill captures the context, options, trade-offs, and consequences of each significant decision in a standardized Architecture Decision Record (ADR). ## Core Features & Use Cases - Nygard Lightweight ADR Format: Generates structured ADR documents with status, date, context, considered options, decision, and honest consequences (including negative impacts). - Decision Trees for Common Choices: Provides quick-reference selection guides for databases (PostgreSQL vs MongoDB vs Redis), architecture patterns (Monolith vs Modular Monolith vs Microservices), CAP theorem trade-offs, caching strategies, API styles (REST vs GraphQL vs gRPC), authentication (JWT vs Session vs OAuth), and deployment platforms (Cloudflare Pages, Vercel, Fly.io). - Organized Storage & Indexing: Saves ADRs to docs/adr/ with numbered kebab-case filenames (e.g., ADR-001-use-postgresql-as-primary-database.md) and maintains an index README. - Use Case: When deciding whether to adopt Next.js App Router for a client project, invoke this Skill to produce ADR-002 documenting the alternatives considered, the rationale, and the accepted constraints. ## Quick Start Ask the AI to create an ADR for your current technology decision, such as choosing a database or deployment platform, and save it under docs/adr/.

Frequently Asked Questions about rsun-adr

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

FAQPage Schema
How do I write an Architecture Decision Record?

An ADR follows the Nygard lightweight format: state the context and constraints, list considered options with pros and cons, declare the decision with rationale, and honestly document consequences including negative impacts. Save it as a numbered Markdown file like ADR-001-use-postgresql.md.

When should I write an ADR for a technical decision?

Write an ADR for decisions that are hard to reverse: database selection, architecture patterns, third-party services, authentication schemes, deployment platforms, or abandoning a technology. Skip ADRs for routine library choices, easily reversible decisions, and naming conventions.

Should I choose a Monolith or Microservices architecture?

For teams under five people with a single business domain and early-stage product, start with a Monolith. For multiple business domains needing independent deployment, use a Modular Monolith first. Reserve Microservices for large teams over 20 people with stable domains, since operational cost is high.

PostgreSQL vs MongoDB: which database should I pick?

Choose PostgreSQL when you need complex JOIN queries and ACID transactions, which covers most CRUD applications. Choose MongoDB or Firestore when you need flexible schemas and JSON document storage. For caching or sessions use Redis, and for full-text search consider Elasticsearch or pgvector.

Can an accepted ADR be modified later?

No. Once an ADR reaches Accepted status, its body must not be edited. If a decision is overturned, create a new ADR and mark the old one as Superseded with a link pointing to the replacement record.