Cursor rule
.cursor/rules/git.mdc[object Object]
Cursor rules
Quality
65/100
Scores the file, not the repository.Length
282 words
9 headings · 2 code blocksRepository
0
— · pushed 480 days agoLast changed
3 days ago
First indexed 3 days ago.123456 # always print # Git Best Practices78## Commit Messages9- Use the imperative mood ("Add feature" not "Added feature")10- Start with a capital letter11- Keep the first line under 50 characters12- Add detailed description after a blank line if needed13- Reference issues/tickets when applicable1415## Commit Structure16```17<type>(<scope>): <subject>1819[optional body]2021[optional footer]22```2324### Types25- feat: New feature26- fix: Bug fix27- docs: Documentation changes28- style: Code style changes (formatting, etc)29- refactor: Code changes that neither fix bugs nor add features30- test: Adding or modifying tests31- chore: Changes to build process or auxiliary tools3233### Examples34```git35feat(auth): Add Discord webhook authentication36fix(notifier): Resolve timestamp formatting issue37docs(readme): Update installation instructions38test(coverage): Add missing test cases39```4041## Branch Naming42- feature/: New features43- bugfix/: Bug fixes44- hotfix/: Urgent fixes for production45- release/: Release preparation46- docs/: Documentation updates4748Example: `feature/discord-integration`4950## Git Flow511. Create feature branch from master522. Make changes with clear commits533. Push branch and create PR544. Request review555. Address feedback566. Merge only when approved5758## Best Practices59- Keep commits atomic (one logical change per commit)60- Rebase feature branches on master regularly61- Squash commits before merging if needed62- Never commit sensitive data63- Use .gitignore properly64- Write meaningful commit messages6566## Code Review67- Review your own code first68- Keep PRs small and focused69- Respond to feedback promptly70- Use PR templates when available71- Link related issues/tickets7273## Security74- Never commit credentials75- Use environment variables76- Regularly update dependencies77- Sign your commits78- Enable 2FA for GitHub
Also in nduartex/cursor-rules-ruby-api
Diff this repo’s formatsOne repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| nduartex/cursor-rules-ruby-api.cursor/rules/api.mdc · 0 | Cursor rules | api | 19/100 | 3 days ago | |
| nduartex/cursor-rules-ruby-api.cursor/rules/clean_code.mdc · 0 | Cursor rules | do-not | 38/100 | 3 days ago | |
| nduartex/cursor-rules-ruby-api.cursor/rules/database.mdc · 0 | Cursor rules | no sections | 4/100 | 3 days ago | |
| nduartex/cursor-rules-ruby-api.cursor/rules/design_patterns.mdc · 0 | Cursor rules | style | 49/100 | 3 days ago | |
| nduartex/cursor-rules-ruby-api.cursor/rules/general.mdc · 0 | Cursor rules | do-not | 11/100 | 3 days ago | |
| nduartex/cursor-rules-ruby-api.cursor/rules/ruby.mdc · 0 | Cursor rules | styledo-not | 15/100 | 3 days ago | |
| nduartex/cursor-rules-ruby-api.cursor/rules/security.mdc · 0 | Cursor rules | securityapido-not | 32/100 | 3 days ago | |
| nduartex/cursor-rules-ruby-api.cursor/rules/serializers.mdc · 0 | Cursor rules | do-not | 52/100 | 3 days ago | |
| nduartex/cursor-rules-ruby-api.cursor/rules/swagger.mdc · 0 | Cursor rules | styledocs | 49/100 | 3 days ago | |
| nduartex/cursor-rules-ruby-api.cursor/rules/testing.mdc · 0 | Cursor rules | testdo-not | 15/100 | 3 days ago |
Diff against .cursor/rules/api.mdc Diff against .cursor/rules/clean_code.mdc Diff against .cursor/rules/database.mdc Diff against .cursor/rules/design_patterns.mdc Diff against .cursor/rules/general.mdc Diff against .cursor/rules/ruby.mdc Diff against .cursor/rules/security.mdc Diff against .cursor/rules/serializers.mdc Diff against .cursor/rules/swagger.mdc Diff against .cursor/rules/testing.mdc
