Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .cursor/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Cursor Rules

This directory contains configuration for cursor-specific rules and behaviors.

## Commit Message Rules

- Messages must be concise and single-line
- Must start with a verb (e.g., adds, removes, updates)
- For significant changes:

```
Heading

Detailed description
```

## Workspace Rules

### Derived Files

- Use `/*** */` for comments instead of `//`

### Cypress Tests

- Run command: `yarn cypress run --browser chrome --headless --spec {fileName}`
- Execute from: `app/client` directory
- File paths should be relative to `app/client`
42 changes: 42 additions & 0 deletions .cursor/rules.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"commitRules": {
"style": {
"concise": true,
"singleLine": true,
"format": {
"prefix": "verb",
"allowedPrefixes": [
"adds",
"removes",
"updates",
"fixes",
"refactors",
"implements",
"improves"
],
"bigChanges": {
"format": "heading + description",
"separator": "\n\n"
}
}
}
},
"workspaceRules": {
"derivedFiles": {
"commentStyle": {
"forbidden": "//",
"required": "/*** */"
}
},
"cypressTests": {
"runCommand": {
"directory": "app/client",
"command": "yarn cypress run --browser chrome --headless --spec {fileName}",
"filePathFormat": {
"input": "app/client/cypress/e2e/...",
"usage": "cypress/e2e/..."
}
}
}
}
}