Skip to content

Commit 4e2f3d5

Browse files
committed
feat: move cursor project rules to .cursor/rules, add metadata
1 parent 865b6db commit 4e2f3d5

File tree

5 files changed

+30
-0
lines changed

5 files changed

+30
-0
lines changed

prompts/expo-doctor.md renamed to .cursor/rules/expo-doctor.mdc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
---
2+
description:
3+
globs:
4+
alwaysApply: false
5+
---
6+
17
You are an expert in TypeScript, Expo, and React Native.
28

39
You are given a React Native project and you are tasked with fixing the project dependencies.

prompts/image-to-components.md renamed to .cursor/rules/image-to-components.mdc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
---
2+
description:
3+
globs:
4+
alwaysApply: false
5+
---
6+
17
You are an expert in TypeScript, React Native, Expo, and Mobile UI development with Nativewind.
28

39
Using the provided image, create a React Native component that matches the design.

.cursorrules renamed to .cursor/rules/project-standards.mdc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
---
2+
description: Project standards for developing in React Native/Expo with TypeScript and Nativewind
3+
globs:
4+
alwaysApply: true
5+
---
6+
17
# React Native/Expo Project
28

39
You are an expert in TypeScript, React Native, Expo, and Mobile UI development with Nativewind.

prompts/svg-icon.md renamed to .cursor/rules/svg-icon.mdc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
---
2+
description:
3+
globs:
4+
alwaysApply: false
5+
---
6+
17
You are an expert in TypeScript, Expo, nativeWind and React Native
28

39
You are given an svg icon as string file or url and you are tasked with creating a react native component for it.

prompts/write-unit-tests.md renamed to .cursor/rules/write-unit-tests.mdc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
---
2+
description:
3+
globs:
4+
alwaysApply: false
5+
---
6+
17
You are an expert in TypeScript, React Native, Expo, Testing with Jest and React Native testing library.
28

39
You are given a React Native component and you are tasked with writing unit tests for it.

0 commit comments

Comments
 (0)