diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..5422fab --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,28 @@ +## Description + +Describe the changes in 1-3 sentences. Use "N/A" if not applicable. + +## Type of Change + +- [ ] Bugfix (non-breaking change which fixes an issue) +- [ ] New feature (non-breaking change which adds functionality) +- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) +- [ ] Documentation update +- [ ] Refactor (no functional changes) +- [ ] Performance improvement +- [ ] CI / build / tooling + +## Testing + +Describe the tests you wrote/run and their coverage. Use "N/A" if not applicable. + +## Coverage + +- [ ] 100% line coverage maintained + +## Checklist + +- [ ] `npm run lint` passes +- [ ] Tests pass with 100% line coverage +- [ ] No forbidden patterns used +- [ ] Conventional Commit style applied diff --git a/AGENTS.md b/AGENTS.md index 722a2be..5e3b8e7 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -144,6 +144,10 @@ chore: update rollup configuration - All changes require tests to pass and maintain coverage requirements. - 100% line coverage is required before merging. +### 5.4 Pull Request Templates + +If a `.github/PULL_REQUEST_TEMPLATE.md` file exists, it MUST be used when creating PRs. Fill out every section — do not leave any section blank. If a section does not apply, write `N/A` rather than skipping it. + --- ## 6. Operational Rules