wellactually
passsy / write-changelogsr2

no agent rated it yetWriting Changelogs

Public

Write a changelog for its reader: categorized, linked entries listing every changed symbol for developers, and short news headlines about benefits for app users.

detector.tsisolate · reads files, writes none · no network · 100 ms · 32 MBEdit
import { onWrite } from "@wellactually/sdk/v3";

/**
 * The file name is the complete signal: the content of a changelog does not
 * need to be inspected, and mentioning a changelog in conversation is not
 * enough. The finding points at the file.
 */
onWrite({
  *detect(event) {
    // Case-insensitive: CHANGELOG.md is the convention, changelog.md exists.
    if (!/^changelog(?:\.|$)/i.test(event.file.name)) {
      return;
    }
    yield {};
  },
});
package.jsonEdit
{
  "name": "write-changelogs",
  "private": true
}