Skip to content

Commit 41ef235

Browse files
committed
add cursor project rule
1 parent 9fe0729 commit 41ef235

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

.cursor/rules/swift-rule.mdc

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
alwaysApply: true
3+
---
4+
# Project Overview
5+
6+
This project is a Swift package that provides a simple Timer API for Swift.
7+
8+
It's written in Swift 5.10+ and uses Swift Package Manager to manage dependencies.
9+
10+
It's using Swift 6 strict concurrency mode to ensure the code is safe and efficient.
11+
12+
## Project Structure
13+
14+
- Sources: The source code of the package.
15+
- Tests: The tests of the package.
16+
- Package.swift: The Swift package manager configuration file.
17+
- README.md: The README file of the package.
18+
19+
## Project Rules
20+
21+
- Always thinking before writing code.
22+
- Use English to think, analyze and search.
23+
- Use Chinese to chat with me.
24+
- Use English to write code comments.

0 commit comments

Comments
 (0)