Skip to content

Create pull request template for contributions#125

Merged
SamXop123 merged 1 commit into
SamXop123:mainfrom
Nitya-003:main
Feb 23, 2026
Merged

Create pull request template for contributions#125
SamXop123 merged 1 commit into
SamXop123:mainfrom
Nitya-003:main

Conversation

@Nitya-003

@Nitya-003 Nitya-003 commented Feb 22, 2026

Copy link
Copy Markdown
Contributor

Add a pull request template to standardize submissions.

Related Issue

Closes #122

Description

This PR introduces a standardized Pull Request Template (.github/pull_request_template.md).

As RigCrafter grows during the DSCWOC '26 period, we need a consistent way to review contributions. This template ensures that every contributor provides technical context regarding the Next.js 15 frontend and the compatibility logic in the lib/ folder before their code is reviewed.

Key Changes

  1. Standardized Format: Added sections for "Type of Change" and "Description."
  2. Logic Safeguards: Included a specific section for impacts on lib/compatibility.ts and lib/suggestions.ts to protect the "brain" of the app.
  3. Media Requirement: Added a placeholder for screenshots/recordings (critical for verifying Framer Motion animations).
  4. Checklist: Integrated npm run lint and mobile responsiveness verification.
  5. Event Tagging: Added specific instructions for DSCWOC '26 scoring and tagging.

Quality Checklist

  • File created in .github/pull_request_template.md.
  • Verified Markdown rendering in GitHub.
  • Added Mermaid.js rendering verification task.
  • Explicitly mentioned DSCWOC '26 requirements.

Summary by CodeRabbit

  • Documentation
    • Added a standardized pull request template to guide contributors through the submission process with structured sections for descriptions, change types, compatibility information, proof of work, and contributor checklists.

Add a pull request template to standardize submissions.
@vercel

vercel Bot commented Feb 22, 2026

Copy link
Copy Markdown
Contributor

@Nitya-003 is attempting to deploy a commit to the Dot_NotSam's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions

Copy link
Copy Markdown

Thanks for creating a PR for your Issue! ☺️

We'll review it as soon as possible.
In the meantime, please double-check the file changes and ensure that all commits are accurate.

If there are any unresolved review comments, feel free to resolve them. 🙌🏼

@coderabbitai

coderabbitai Bot commented Feb 22, 2026

Copy link
Copy Markdown
📝 Walkthrough

Walkthrough

A standardized pull request template file is added to .github/pull_request_template.md. The template provides structured sections for contributors to include description, type of change, compatibility impact statements, proof of work (screenshots), and contributor checklists. No logic or code changes are introduced.

Changes

Cohort / File(s) Summary
Pull Request Template
.github/pull_request_template.md
New standardized PR template with sections for Description, Type of Change, Compatibility & Logic Impact (lib/* references), Proof of Work, Contributor Checklist, and Acknowledgments.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰 A template now guides every hop and bound,
Where PRs arrive all shiny and sound,
With checklists and screenshots in place,
Code reviews can zoom through this space—
No more back-and-forth, just clarity found!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: adding a pull request template for standardizing contributions.
Linked Issues check ✅ Passed The PR comprehensively addresses all coding requirements from issue #122: standardized template with Type of Change, Description, Compatibility Impact section for lib/* files, Proof of Work placeholders, checklist with linting and mobile responsiveness checks, DSCWOC '26 instructions, and Mermaid verification section.
Out of Scope Changes check ✅ Passed All changes are directly within scope of issue #122: only the .github/pull_request_template.md file was added with no extraneous modifications or unrelated changes.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Tip

Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 4

🧹 Nitpick comments (1)
.github/pull_request_template.md (1)

30-32: Consider using Markdown image syntax as the placeholder.

[Insert Image] renders as plain text. Using a commented-out Markdown image placeholder makes the expected format immediately obvious to contributors.

✏️ Suggested fix
 | Desktop View | Mobile View |
 |--------------|-------------|
-| [Insert Image] | [Insert Image] |
+| ![Desktop screenshot](<!-- add URL -->) | ![Mobile screenshot](<!-- add URL -->) |
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.github/pull_request_template.md around lines 30 - 32, Replace the
plain-text placeholders "[Insert Image]" in the PR template table row "| Desktop
View | Mobile View |" with a commented-out Markdown image placeholder so
contributors see the expected image syntax; use an HTML comment that contains a
Markdown image alt text and a suggested path (e.g., a commented example like a
Markdown image for Desktop and Mobile) to indicate where and how to add
screenshots.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In @.github/pull_request_template.md:
- Line 41: Update the checklist item "[ ] **DSCWOC '26**: I have tagged the
project maintainer and used the correct labels." to include scoring guidance:
either expand that line to briefly summarize the scoring rubric (point tiers,
difficulty labels, submission deadline) or add a new "### DSCWOC '26" subsection
below the checklist with a short scoring rubric and a link to the detailed
scoring docs/Issue `#122`; ensure the new text explicitly mentions how PRs are
scored (e.g., points per difficulty label and deadline) and where to find the
full rules.
- Line 4: Replace the placeholder string "**Fixes # (issue number)**" in the
pull request template with a format that places the issue number immediately
after the hash, e.g. "**Fixes `#issue_number`**" or a clearer instruction like
"**Fixes #\<issue number\>**" so contributors don't introduce a space (avoid
"Fixes # 42"); update the template text to show the correct example and/or
guidance so GitHub's auto-close keyword triggers properly.
- Line 23: Remove the trailing inline ">" and place the blockquote marker at the
start of a new line so Markdown renders correctly: change the line that
currently reads "*If yes, please describe the logic change:* >" to just "*If
yes, please describe the logic change:*" and add a new subsequent line starting
with ">" (e.g., "> ") to begin the blockquote where contributors can enter their
explanation.
- Around line 36-41: Add the missing "squash commits" checklist item under the
"Contributor Checklist" section: update the checklist (the block starting with
"## Contributor Checklist") to include a line like "- [ ] **Squash commits**: I
have squashed or rebased to produce a clean commit history before merge" so
contributors must confirm they squashed commits before merging.

---

Nitpick comments:
In @.github/pull_request_template.md:
- Around line 30-32: Replace the plain-text placeholders "[Insert Image]" in the
PR template table row "| Desktop View | Mobile View |" with a commented-out
Markdown image placeholder so contributors see the expected image syntax; use an
HTML comment that contains a Markdown image alt text and a suggested path (e.g.,
a commented example like a Markdown image for Desktop and Mobile) to indicate
where and how to add screenshots.

## Description
Provide a clear and concise summary of the changes. What problem does this PR solve?

**Fixes # (issue number)**

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Fixes # (issue number) won't trigger GitHub's auto-close.

GitHub's issue auto-close keyword requires the # to be immediately followed by the issue number (e.g., Fixes #42``). The current placeholder has a space and descriptive text after #, so contributors who fill it in by replacing `(issue number)` with just a number will still have a space (`Fixes # 42`) that breaks the linkage.

✏️ Suggested fix
-**Fixes # (issue number)**
+**Fixes `#ISSUE_NUMBER`**
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
**Fixes # (issue number)**
**Fixes `#ISSUE_NUMBER`**
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.github/pull_request_template.md at line 4, Replace the placeholder string
"**Fixes # (issue number)**" in the pull request template with a format that
places the issue number immediately after the hash, e.g. "**Fixes
`#issue_number`**" or a clearer instruction like "**Fixes #\<issue number\>**" so
contributors don't introduce a space (avoid "Fixes # 42"); update the template
text to show the correct example and/or guidance so GitHub's auto-close keyword
triggers properly.

- [ ] **lib/suggestions.ts**: Updates to the AI/Smart recommendation logic.
- [ ] **lib/data.ts**: Modifications to the component database.

*If yes, please describe the logic change:* >

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Inline > won't render as a Markdown blockquote.

The > at the end of the line renders as a literal > character. A blockquote must start at the beginning of a new line.

✏️ Suggested fix
-*If yes, please describe the logic change:* > 
+*If yes, please describe the logic change:*
+> 
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.github/pull_request_template.md at line 23, Remove the trailing inline ">"
and place the blockquote marker at the start of a new line so Markdown renders
correctly: change the line that currently reads "*If yes, please describe the
logic change:* >" to just "*If yes, please describe the logic change:*" and add
a new subsequent line starting with ">" (e.g., "> ") to begin the blockquote
where contributors can enter their explanation.

Comment on lines +36 to +41
## Contributor Checklist
- [ ] **Linting**: I have run `npm run lint` and fixed all warnings.
- [ ] **Next.js 15**: Verified the build works with the App Router.
- [ ] **Responsiveness**: Tested on mobile and tablet breakpoints.
- [ ] **Mermaid**: If I updated the README, I verified the Mermaid diagrams render correctly.
- [ ] **DSCWOC '26**: I have tagged the project maintainer and used the correct labels.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Missing required checklist item: commit squashing.

Issue #122 explicitly requires a checklist item for squashing commits before merge. This item is absent from the Contributor Checklist.

✏️ Suggested fix
 - [ ] **Linting**: I have run `npm run lint` and fixed all warnings.
+- [ ] **Commits**: I have squashed my commits into a single, meaningful commit message.
 - [ ] **Next.js 15**: Verified the build works with the App Router.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.github/pull_request_template.md around lines 36 - 41, Add the missing
"squash commits" checklist item under the "Contributor Checklist" section:
update the checklist (the block starting with "## Contributor Checklist") to
include a line like "- [ ] **Squash commits**: I have squashed or rebased to
produce a clean commit history before merge" so contributors must confirm they
squashed commits before merging.

- [ ] **Next.js 15**: Verified the build works with the App Router.
- [ ] **Responsiveness**: Tested on mobile and tablet breakpoints.
- [ ] **Mermaid**: If I updated the README, I verified the Mermaid diagrams render correctly.
- [ ] **DSCWOC '26**: I have tagged the project maintainer and used the correct labels.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

DSCWOC '26 scoring instructions are missing.

Issue #122 requires "tagging/scoring instructions" for DSCWOC '26. The current checklist item only covers tagging and labels; there is no guidance on how PRs are scored (e.g., point tiers, difficulty labels, or submission deadlines).

Consider expanding this item or adding a dedicated ### DSCWOC '26 sub-section with a brief scoring rubric or a link to the relevant scoring documentation.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.github/pull_request_template.md at line 41, Update the checklist item "[ ]
**DSCWOC '26**: I have tagged the project maintainer and used the correct
labels." to include scoring guidance: either expand that line to briefly
summarize the scoring rubric (point tiers, difficulty labels, submission
deadline) or add a new "### DSCWOC '26" subsection below the checklist with a
short scoring rubric and a link to the detailed scoring docs/Issue `#122`; ensure
the new text explicitly mentions how PRs are scored (e.g., points per difficulty
label and deadline) and where to find the full rules.

@SamXop123 SamXop123 self-requested a review February 23, 2026 16:56
@SamXop123 SamXop123 added documentation Improvements or additions to documentation enhancement New feature or request good first issue Good for newcomers level 2 Intermediate dscwoc Data Science Club Winter Of Code 2026 labels Feb 23, 2026

@SamXop123 SamXop123 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅✅

@SamXop123 SamXop123 merged commit 9d205da into SamXop123:main Feb 23, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation dscwoc Data Science Club Winter Of Code 2026 enhancement New feature or request good first issue Good for newcomers level 2 Intermediate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement Pull Request Template to standardize submissions

2 participants