RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Configs/Cursor rules/nduartex/cursor-rules-ruby-api

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 blocks

Repository

0

— · pushed 480 days ago

Last changed

3 days ago

First indexed 3 days ago.
nduartex/cursor-rules-ruby-api/.cursor/rules/git.mdcRawGitHub
1---
2description:
3globs: [*]
4alwaysApply: true
5---
6 # always print # Git Best Practices
7 
8## Commit Messages
9- Use the imperative mood ("Add feature" not "Added feature")
10- Start with a capital letter
11- Keep the first line under 50 characters
12- Add detailed description after a blank line if needed
13- Reference issues/tickets when applicable
14 
15## Commit Structure
16```
17<type>(<scope>): <subject>
18 
19[optional body]
20 
21[optional footer]
22```
23 
24### Types
25- feat: New feature
26- fix: Bug fix
27- docs: Documentation changes
28- style: Code style changes (formatting, etc)
29- refactor: Code changes that neither fix bugs nor add features
30- test: Adding or modifying tests
31- chore: Changes to build process or auxiliary tools
32 
33### Examples
34```git
35feat(auth): Add Discord webhook authentication
36fix(notifier): Resolve timestamp formatting issue
37docs(readme): Update installation instructions
38test(coverage): Add missing test cases
39```
40 
41## Branch Naming
42- feature/: New features
43- bugfix/: Bug fixes
44- hotfix/: Urgent fixes for production
45- release/: Release preparation
46- docs/: Documentation updates
47 
48Example: `feature/discord-integration`
49 
50## Git Flow
511. Create feature branch from master
522. Make changes with clear commits
533. Push branch and create PR
544. Request review
555. Address feedback
566. Merge only when approved
57 
58## Best Practices
59- Keep commits atomic (one logical change per commit)
60- Rebase feature branches on master regularly
61- Squash commits before merging if needed
62- Never commit sensitive data
63- Use .gitignore properly
64- Write meaningful commit messages
65 
66## Code Review
67- Review your own code first
68- Keep PRs small and focused
69- Respond to feedback promptly
70- Use PR templates when available
71- Link related issues/tickets
72 
73## Security
74- Never commit credentials
75- Use environment variables
76- Regularly update dependencies
77- Sign your commits
78- Enable 2FA for GitHub

Sections

  • Commit Messages
  • Commit Structure
  • Types
  • Examples
  • Branch Naming
  • Git Flow
  • Best Practices
  • Code Review
  • Security

What it covers

code-stylearchitecturetypesgit-prsecuritydo-not

Glob targeting

  • *

Format

Cursor rules

The most expressive format here. Many small .mdc files, each with frontmatter declaring when it should load, so a rule about migrations only enters context when a migration is open. Costs the most to maintain and only one editor reads it.

What the corpus says about it

Repository

Owner
nduartex
Language
—
License
—
Archived
no

All configs in this repo

Also in nduartex/cursor-rules-ruby-api

Diff this repo’s formats

One 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?

The other instruction files in this repository
RepositoryFormatStackCoversScoreChanged
nduartex/cursor-rules-ruby-api.cursor/rules/api.mdc · 0Cursor rulesunclassifiedapi19/1003 days ago
nduartex/cursor-rules-ruby-api.cursor/rules/clean_code.mdc · 0Cursor rulesunclassifieddo-not38/1003 days ago
nduartex/cursor-rules-ruby-api.cursor/rules/database.mdc · 0Cursor rulesunclassifiedno sections4/1003 days ago
nduartex/cursor-rules-ruby-api.cursor/rules/design_patterns.mdc · 0Cursor rulesunclassifiedstyle49/1003 days ago
nduartex/cursor-rules-ruby-api.cursor/rules/general.mdc · 0Cursor rulesunclassifieddo-not11/1003 days ago
nduartex/cursor-rules-ruby-api.cursor/rules/ruby.mdc · 0Cursor rulesunclassifiedstyledo-not15/1003 days ago
nduartex/cursor-rules-ruby-api.cursor/rules/security.mdc · 0Cursor rulesunclassifiedsecurityapido-not32/1003 days ago
nduartex/cursor-rules-ruby-api.cursor/rules/serializers.mdc · 0Cursor rulesunclassifieddo-not52/1003 days ago
nduartex/cursor-rules-ruby-api.cursor/rules/swagger.mdc · 0Cursor rulesunclassifiedstyledocs49/1003 days ago
nduartex/cursor-rules-ruby-api.cursor/rules/testing.mdc · 0Cursor rulesunclassifiedtestdo-not15/1003 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
RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack