This project includes a set of issue and pull request templates to help contributors open well-formed issues and PRs.
- Issue templates:
.github/ISSUE_TEMPLATE/ - PR templates:
.github/PULL_REQUEST_TEMPLATE/
When you click New issue in GitHub you'll be shown the available issue templates. You can also open a template directly using the template query parameter. Example:
https://github.com/binit2-1/Composter/issues/new?template=bug_report.md
When opening a pull request in the browser you can choose a template from the dropdown. You can also pre-select a template by adding ?template=NAME to the compare URL. Example:
https://github.com/binit2-1/Composter/compare/main...branch-name?template=bug_fix.md
To automatically close an issue when your PR is merged, include one of these keywords followed by the issue number in your PR description (anywhere in the body):
Closes #123Fixes #123Resolves #123
Replace 123 with the issue number. This will cause GitHub to automatically close the referenced issue when the PR is merged into the default branch.
- Always reference the issue you are solving in the PR description using
Closes #<issue>. - Pick the most appropriate issue template when opening issues (bug, feature, docs, etc.).
- Use the
Good First Issuetemplate for beginner-friendly tasks. - For PRs that change UI, include before/after screenshots in the PR template.
- If a template doesn't appear in the dropdown, ensure the filename ends with
.mdand lives in the correct directory:.github/PULL_REQUEST_TEMPLATE/or.github/ISSUE_TEMPLATE/. - Use the
?template=URL parameter to force selection of a specific template.
.github/ISSUE_TEMPLATE/.github/PULL_REQUEST_TEMPLATE/
If you'd like, we can extend this page with examples for common PRs or a short checklist for maintainers.