Command to Generate ADR Template Files

I created a Make command that generates ADR template files, so here's a quick note.

Command

The naming convention for ADR files is ADR<incremental-number>-title, so this command looks at the files under the adr directory and generates a new ADR template file with an appropriate file name.

For example, if there is a file named ADR1-foo.md, it will increment the number and create a file like ADR2-bar.md.

Other Notes

If you manage ADRs under git, it might become difficult to track the status of each ADR. Some measures may be necessary, such as:

  • Preparing a command to list ADRs by status
  • Organizing ADRs into directories by status
  • Including the status in the file name

Consider implementing one of these approaches to improve manageability.