RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Configs/Cursor rules/settlemint/sdk

Cursor rule

.cursor/rules/git-workflow.mdc

Git workflow and branching rules

Cursor rules

Quality

65/100

Scores the file, not the repository.

Length

215 words

5 headings · 2 code blocks

Repository

15

— · pushed 76 days ago

Last changed

3 days ago

First indexed 3 days ago.
settlemint/sdk/.cursor/rules/git-workflow.mdcRawGitHub
1---
2description: Git workflow and branching rules
3globs:
4alwaysApply: true
5---
6# Git Workflow and Branching Rules
7 
8## CRITICAL: Branch Management
9 
10**DO NOT create a new branch if you're already on a feature branch!**
11 
12### When handling PR requests or /pr command:
13 
141. **ALWAYS** check current branch first:
15```bash
16 git branch --show-current
17```
18 
192. **Decision logic**:
20 - If on `main` or `master` → Create a new feature branch
21 - If already on a feature branch → Use the current branch
22 - NEVER create nested feature branches
23 
243. **Workflow**:
25```bash
26 # First, always check where you are
27 current_branch=$(git branch --show-current)
28
29 # Only create new branch if on main/master
30 if [ "$current_branch" = "main" ] || [ "$current_branch" = "master" ]; then
31 git checkout -b feature/new-feature
32 else
33 # Already on feature branch - just commit and push here
34 echo "Already on feature branch: $current_branch"
35 fi
36```
37 
38## PR Updates
39 
40When updating an existing PR:
41- Add new commits to the same branch
42- Push to the existing remote branch
43- The PR will automatically update
44 
45## Common Mistakes to Avoid
46 
47❌ Creating a new branch when already on a feature branch
48❌ Creating multiple PRs for the same feature
49❌ Abandoning branches with uncommitted changes
50 
51✅ Check branch status before any git operations
52✅ Commit to the current feature branch
53✅ Keep related changes in the same PR

Commands it names

  • git branch --show-current
  • git checkout -b feature/new-feature

Sections

  • Git Workflow and Branching Rules
  • CRITICAL: Branch Management
  • When handling PR requests or /pr command:
  • PR Updates
  • Common Mistakes to Avoid

What it covers

git-prdo-notagent-behaviour

Stack — with the evidence

typescript

(1.00)

bun

(1.00)

nextjs

(1.00)

turborepo

(1.00)

biome

(1.00)

node

(0.70)

react

(0.70)

drizzle

(0.70)

postgres

(0.70)

javascript

(0.60)

monorepo

(0.60)

github-actions

(0.60)

Glob targeting

  • [object Object]

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
settlemint
Language
—
License
—
Archived
no

All configs in this repo

Also in settlemint/sdk

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
settlemint/sdk.cursor/rules/commands.mdc · 15Cursor rulestypescriptbun+10setup31/1003 days ago
settlemint/sdk.cursor/rules/solidity.mdc · 15Cursor rulestypescriptbun+10teststylearchtypes+673/1003 days ago
settlemint/sdk.cursor/rules/bun.mdc · 15Cursor rulestypescriptnode+10setupbuildtest73/1003 days ago
settlemint/sdk.cursor/rules/commits.mdc · 15Cursor rulestypescriptbun+10lint-formattypesgitdependencies48/1003 days ago
settlemint/sdk.cursor/rules/mcp.mdc · 15Cursor rulestypescriptbun+10no sections4/1003 days ago
settlemint/sdk.cursor/rules/shadcn.mdc · 15Cursor rulestypescriptbun+10ui55/1003 days ago
settlemint/sdk.cursor/rules/typescript.mdc · 15Cursor rulestypescriptbun+10setuplint-formatstylearch+366/1003 days ago
settlemint/sdkCLAUDE.md · 15CLAUDE.mdtypescriptbun+10setupbuildtestlint-format+1096/1003 days ago
Diff against .cursor/rules/commands.mdc Diff against .cursor/rules/solidity.mdc Diff against .cursor/rules/bun.mdc Diff against .cursor/rules/commits.mdc Diff against .cursor/rules/mcp.mdc Diff against .cursor/rules/shadcn.mdc Diff against .cursor/rules/typescript.mdc Diff against CLAUDE.md

Similar configs

Same format, overlapping stack, ranked by quality.

Same format, overlapping stack, ranked by quality
RepositoryFormatStackCoversScoreChanged
hiromaily/go-crypto-wallet.cursor/rules/typescript.mdc · 126Cursor rulesgobun+5setupbuildtestlint-format+6100/1003 days ago
TechSquidTV/Hermes.cursor/rules/10-hermes-api.mdc · 45Cursor rulestypescriptpytest+15testlint-formatstylearch+5100/1003 days ago
dodgecfr/combatfilms-webapp.cursor/rules/frontend.mdc · 0Cursor rulestypescriptturborepo+15setuptestlint-formatstyle+799/1003 days ago
deifos/clipmira-subtitles.cursor/rules/frontend.mdc · 1Cursor rulestypescriptnextjs+5setuptestlint-formatstyle+799/1003 days ago
markstev/mark-starter.cursor/rules/frontend.mdc · 0Cursor rulestypescriptturborepo+14setuptestlint-formatstyle+699/1003 days ago
Allymahmoud/case-intake-platform.cursor/rules/frontend.mdc · 0Cursor rulestypescriptturborepo+13setuptestlint-formatstyle+799/1003 days ago
langflow-ai/langflow.cursor/rules/docs_development.mdc · 153kCursor rulespythonnode+16setupbuildtestlint-format+797/1003 days ago
TechSquidTV/Hermes.cursor/rules/20-hermes-api-tests.mdc · 45Cursor rulestypescriptpytest+15teststyletesting-strategysecurity+397/1003 days ago
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