-
Notifications
You must be signed in to change notification settings - Fork 72
docs(rules): improve PR template and add commit guide #3349
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR enhances cursor rules for better PR and commit message generation. It improves the PR template with clearer formatting, removes an outdated tsconfig checklist item, and adds comprehensive commit message guidance following conventional commits with a 50-character limit.
Key changes:
- Updated PR generation template with improved formatting and better JIRA ticket extraction instructions
- Removed outdated "add to global tsconfig" checklist item for new components
- Added new commit message generation guide with conventional commits format and examples
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
.cursor/rules/generate-pull-request-details.mdc |
Enhanced PR template formatting, improved JIRA extraction guidance, removed outdated tsconfig checklist item |
.cursor/rules/generate-commit-message.mdc |
New file providing comprehensive conventional commit message generation guidance with 50-char limit |
| type(scope): subject | ||
| ``` | ||
|
|
||
| **Maximum length: 50 characters total** |
Copilot
AI
Nov 25, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] The 50-character limit is mentioned but may be overly restrictive for commit messages in this repository. Consider documenting whether this includes or excludes the type and scope, as type(scope): alone can consume 15+ characters, leaving very limited space for the subject.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
whoa its doing nits now 🤯
|
Size Change: 0 B Total Size: 1.8 MB ℹ️ View Unchanged
|
|
Coverage after merging at/cursor-settings into main will be
Coverage Report
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
✍️ Proposed changes
This PR enhances the cursor rules documentation by improving the PR generation template and adding a new commit message generation guide. The changes to
generate-pull-request-details.mdcinclude better formatting, clearer instructions for JIRA ticket extraction, and an updated checklist for new components (removing the outdated tsconfig requirement). The newgenerate-commit-message.mdcfile provides comprehensive guidance for creating conventional commit messages with a 50-character limit, complete with examples and best practices.🎟️ Jira ticket: N/A
✅ Checklist
pnpm changesetand documented my changes🧪 How to test changes
generate-pull-request-detailscursor rule with@Branchcontext to verify the PR template generates correctlygenerate-commit-messagecursor rule with staged changes to verify commit messages follow the conventional format