-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.cursor-rules
More file actions
51 lines (34 loc) · 1.44 KB
/
Copy path.cursor-rules
File metadata and controls
51 lines (34 loc) · 1.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Global Rules — Cursor
# Extends AGENTS.md in ~/.roll/conventions/global/ — read that first.
# This file adds Cursor-specific rules only.
## Identity
- Git: Sean Yao <sean.dlut@gmail.com>
- Default branch: main
## Commit Message Format
- Format: [sean's claw] <type>: <description>
- TCR micro-commits: tcr: <description> (no prefix)
- Types: Story N, Fix, Refactor, Docs, Chore
## Cursor-Specific
- When using Composer, break large changes into reviewable chunks.
- Prefer inline edits over full file rewrites.
- Use @-references to relevant files when context is needed.
- Tab completion suggestions should follow the code style in AGENTS.md.
- When a project has Roll workflow, follow the AGENTS.md conventions.
## Frontend Default Stack
- React + shadcn/ui + Tailwind CSS is the default.
- Use shadcn/ui components first. Custom only when shadcn doesn't cover it.
- Tailwind utility classes only. No inline styles, no CSS modules.
## All shared conventions are defined in AGENTS.md.
---
# Project Rules — CLI Tool (Cursor)
# Extends global .cursor-rules + project AGENTS.md.
## Stack
- Node.js / TypeScript
- CLI framework: commander or citty
## Rules
- No server, no frontend. CLI tool only.
- One file per command in src/commands/.
- Exit codes: 0 = success, 1 = user error, 2 = system error.
- Errors to stderr, results to stdout.
- Support --help and --version on every command.
- Follow AGENTS.md for architecture constraints and Roll workflow.