OpenParable
Skip to content
← Back to skills

Create Adr

Business
create-adr

Create Adr is an Agent Skill for business published in the microsoft/fhir-server repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Synthesize viable investigations into a concise proposed ADR. Use when user says "create ADR for {feature-name}". Reads all investigations, identifies viable ones, generates ADR with Context/Options/Decision/Consequences sections.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/microsoft/fhir-server/blob/HEAD/.github/skills/create-adr/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/create-adr, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Create ADR from Investigations

Synthesize viable investigations into a concise proposed ADR.

Usage: When user says "create ADR for {feature-name}"

Instructions

  1. Generate ADR number: Use format {YYMM} based on current date (e.g., 2512 for Dec 2025)

  2. Create ADR at docs/arch/adr-{YYMM}-{topic}.md:

# ADR-{YYMM}: {Title}

**Status**: Proposed
**Date**: {YYYY-MM-DD}
**Feature**: {feature-name}

## Context
{1-2 paragraphs: The problem from _feature.md, key constraints}

## Options Considered

1. **{Approach A}** - {one line summary} *(rejected: brief reason)*
2. **{Approach B}** - {one line summary} *(viable)*
3. **{Approach C}** - {one line summary} *(viable)*

## Decision

{1-2 paragraphs: What approach we chose and why. Reference the winning investigation(s).}

## Consequences

- {Impact on codebase}
- {What becomes easier}
- {What becomes harder or needs follow-up}
  1. Keep it concise: No code snippets, no implementation checklists, no phase tracking. Just the decision and rationale.

  2. Output: Show the ADR content and confirm next steps (implement, then accept ADR)

ADR Principles

  • Context: Why we needed to decide (not how we'll implement)
  • Decision: What we chose and why (not the full investigation details)
  • Consequences: What changes as a result (both positive and negative)