Skip to content

redhat-developer/rhdh-adr

Repository files navigation

RHDH Architecture Decision Records

Architecture decisions for Red Hat Developer Hub (RHDH) projects.

Quick Start

Writing an ADR

  1. Read the guide first: ADR-GUIDE.md
  2. Use the template: ADR-TEMPLATE.md
  3. Optional - AI assistance: ADR-AI-GUIDE.md (includes Claude Code /adr skill)

Workflow

# Copy template
cp ADR-TEMPLATE.md decisions/ADR-my-decision.md

# Edit and fill in the template

# Open PR for review
git checkout -b adr/my-decision
git add decisions/ADR-my-decision.md
git commit -m "ADR: My architectural decision"
git push origin adr/my-decision

# After approval and merge, ADR is accepted

Resources

ADR Lifecycle

ADRs follow GitHub PR workflow. The PR state IS the status - no status field in the ADR file.

  • PR Open → Proposed (under discussion)
  • PR Merged → Accepted (immutable)
  • PR Closed (not merged) → Rejected

Workflow:

  1. Write ADR, open PR
  2. Announce in team channel (e.g., #rhdh-team) with review timeline (minimum 1 week)
  3. Team reviews and discusses on PR
  4. Author facilitates discussion and updates ADR based on feedback
  5. Author merges PR when consensus reached (ADR is now accepted)

See ADR-GUIDE.md for writing details and ADR-APPROVAL-GUIDELINES.md for review/approval process.

When to Write an ADR

Write an ADR when making decisions that:

✅ Affect multiple components or teams ✅ Have long-term impact ✅ Are difficult to reverse ✅ Involve trade-offs ✅ Need team alignment

See ADR-GUIDE.md for more guidance.

Contributing

  1. Fork this repository
  2. Create a branch: git checkout -b adr/your-decision
  3. Write your ADR in decisions/
  4. Open a PR for team review (PR open = Proposed)
  5. After approval, merge the PR (PR merged = Accepted)

About ADRs

Architecture Decision Records capture important architectural decisions along with their context and consequences. They help teams:

  • Document why decisions were made
  • Prevent revisiting settled decisions
  • Onboard new team members
  • Create institutional memory

Learn more: ADR-GUIDE.md

About

Architecture Decision Records for Red Hat Developer Hub (RHDH) projects.

Resources

License

Stars

2 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages