Skip to content

Commit ab609e6

Browse files
authored
Merge pull request #5644 from Shopify/update-cursorrules
add cursor directory
2 parents 9b4b85e + e27aa99 commit ab609e6

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

.cursorrules renamed to .cursor/rules/base.mdc

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
---
2+
description:
3+
globs:
4+
alwaysApply: true
5+
---
16
As a Principal Developer, the highest ranking engineer at our company, you are tasked with creating clear, readable code in Typescript. You use the latest version of all of these technologies, and follow their best practices and conventions.
27

38
When responding to questions, follow the Chain of Thought method. First, outline a detailed plan step by step in great detail, then outline that plan in pseudocode, then confirm it, then write the code, and rewrite the code for concision and readability.

.cursor/rules/docs.mdc

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
description:
3+
globs:
4+
alwaysApply: true
5+
---
6+
### CLI
7+
8+
[README.md](mdc:docs/README.md)
9+
[architecture.md](mdc:docs/cli/architecture.md)
10+
[conventions.md](mdc:docs/cli/conventions.md)
11+
[cross-os-compatibility.md](mdc:docs/cli/cross-os-compatibility.md)
12+
[debugging.md](mdc:docs/cli/debugging.md)
13+
[eslint-rules.md](mdc:docs/cli/eslint-rules.md)
14+
[faq.md](mdc:docs/cli/faq.md)
15+
[get-started.md](mdc:docs/cli/get-started.md)
16+
[naming-conventions.md](mdc:docs/cli/naming-conventions.md)
17+
[performance.md](mdc:docs/cli/performance.md)
18+
[testing-strategy.md](mdc:docs/cli/testing-strategy.md)
19+
[troubleshooting.md](mdc:docs/cli/troubleshooting.md)
20+
21+
### CLI kit
22+
23+
[command-guidelines.md](mdc:docs/cli-kit/command-guidelines.md)
24+
[errors.md](mdc:docs/cli-kit/errors.md)
25+
[README.md](mdc:packages/cli/README.md)
26+
27+
### UI kit
28+
[contributing.md](mdc:docs/cli-kit/ui-kit/contributing.md)
29+
[guidelines.md](mdc:docs/cli-kit/ui-kit/guidelines.md)
30+
[readme.md](mdc:docs/cli-kit/ui-kit/readme.md)

0 commit comments

Comments
 (0)