Create adr

From majesticlabs-dev/majestic-marketplace · View interactive version

Create adr is an AI agent skill from the GitHub repository majesticlabs-dev/majestic-marketplace. Create Architecture Decision Records (ADRs) to document significant technical decisions, their context, alternatives considered, and consequences. Use when making architectural choices, selecting libraries/frameworks, or designing system components.

How to use this skill

Skill file

Create ADR Skill

Purpose: Document architectural decisions to provide context for future developers and maintain institutional knowledge about why technical choices were made.

When to Use This Skill

Trigger this skill when:

Skip ADR Creation If

Workflow

1. Gather Context

Review the implementation to understand:

If reviewing existing code:

git diff main...HEAD
git log --oneline main..HEAD

2. Investigate Further

If the diff doesn't provide enough context:

3. Create the ADR

Location: docs/adr/NNNN-descriptive-title.md

Naming convention:

Examples:

4. Use the Template

Use the template from assets/adr-template.md to structure the document.

Key sections to complete:

Quality Guidelines

Good ADRs have:

Avoid:

Example

User: "Document the decision to use Redis for caching"

Skill activates:

  1. Review caching implementation
  2. Identify alternatives considered (Memcached, in-memory, etc.)
  3. Document trade-offs (complexity vs performance)
  4. Create docs/adr/0005-redis-for-application-cache.md

Integration

Works well with:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.