From 1283d449ad4f83bdaea73c232343c76f11c6fc71 Mon Sep 17 00:00:00 2001 From: outreach <280983584+hivecommons-hive[bot]@users.noreply.github.com> Date: Mon, 26 Oct 2026 05:00:02 -0400 Subject: [PATCH] docs: add a pull request template Surface the CONTRIBUTING.md rules (npm test with coverage thresholds, changelog.d fragments, README updates, pattern-file/src sync, the add-a-CLI file table, no committed dist/, DCO) when a PR is opened. Fixes #378 Signed-off-by: outreach <280983584+hivecommons-hive[bot]@users.noreply.github.com> --- .github/pull_request_template.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/pull_request_template.md diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..7af617d --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,23 @@ +## Summary + + + +Fixes # + +## Validation + + + +## Checklist + +See [CONTRIBUTING.md](https://github.com/hivecommons/pluk/blob/main/CONTRIBUTING.md) for details. +Do not report security vulnerabilities in a public PR. Follow [SECURITY.md](https://github.com/hivecommons/pluk/blob/main/SECURITY.md) instead. + +- [ ] `npm test` passes locally (it builds first and, on Node 22+, enforces the coverage thresholds: lines 99, branches 96, functions 98) +- [ ] If the change is user-visible: a `changelog.d/-.md` fragment is included (category one of `added`, `changed`, `deprecated`, `removed`, `fixed`, `security`; body is a `- ` bullet list) +- [ ] If CLI behavior or flags changed: README examples are updated +- [ ] If a pattern set changed: `patterns/.patterns` and its inline constant in `src/patterns.ts` are identical +- [ ] If a CLI was added: every file in CONTRIBUTING's "Adding a new CLI" table is updated +- [ ] Generated `dist/` output is not committed +- [ ] Behavior changes include tests +- [ ] Commits are signed off (`git commit -s`)