Skip to main content

Create Implementation Decision Records

Project description

idr-tools

Tooling to support Implementation Decision Records (IDRs), for humans and machines.

IDRs give you structured context that explains what you're building and why, without creating documentation debt.

idr new "Add OAuth support"
# Creates: idrs/202601051430-add-oauth-support.md

Opens a template like this:

# 2026-01-05: Add OAuth support

Owner: Your Name <you@example.com>

## Overview

### Problem Statement

<!-- What problem are we solving? -->

### Goals

<!-- What are we trying to achieve? -->

### Proposed Solution

<!-- High-level approach -->

## Detailed Design (as needed)

<!-- Technical details, API design, etc. -->

## Implementation (ephemeral)

<!-- What actually happened during implementation -->

Use this template as a starting point:

  • ✏️ Fill it in (get an LLM to help if you like)
  • 🔄 Update as you work (especially the implementation section)
  • Commit it with your code
  • 🚀 Move on after it lands

IDRs are moments in time, a record of what was done. They are not intended to be permanent documentation of the system "as it is".

Why IDRs?

This is an experiment to try and find a middle ground between proposals, documentation, and implementation.

Traditional design docs are useful for larger decisions that require a great deal of discussion and alternatives. ADRs are great for documenting decisions but usually lack implementation detail. IDRs bridge the gap: detailed enough to guide implementation, ephemeral enough to not become stale documentation.

In some ways an IDR is analogous to a very large commit message. However, it is generally easier to scan, parse, and search as a permanent historical record.

Usage

Create a new IDR:

idr new "Your Feature Title"

This will create a new markdown file in the idrs/ directory with:

  • A UTC timestamp prefix (e.g., 202512301600)
  • A slugified version of your title
  • Pre-filled template with your git author name

Example:

idr new "Add last modified metadata"
# Creates: idrs/202512301600-add-last-modified-metadata.md

The IDR template includes sections for:

  • Problem Statement
  • Context
  • Goals and Non-Goals
  • Proposed Solution
  • Detailed Design
  • Implementation notes (ephemeral)

The comments are useful reminders for both humans and LLMs, but you can opt to not include them by passing --no-comments or setting the environment variable IDR_NO_COMMENTS=1.

Examples

This feature was itself implemented using an IDR—see idrs/202601031709-init.md for more about the IDR format and philosophy.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

idr_tools-0.1.0.tar.gz (40.0 kB view details)

Uploaded Source

File details

Details for the file idr_tools-0.1.0.tar.gz.

File metadata

  • Download URL: idr_tools-0.1.0.tar.gz
  • Upload date:
  • Size: 40.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for idr_tools-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2b2670a82970a9e31315749a4827eaf086e9c418a33f08d1942c77136d055046
MD5 f29fae0d72405e044090d94857b7ca25
BLAKE2b-256 b5d62c20ffd8c278a7daea09d455520c25591205177b4d9b8e1b8b842a8d49c8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page