Skip to content

Commit eb363fa

Browse files
committed
Add rule file
1 parent 1298d2f commit eb363fa

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.cursor/rules/swiftui.mdc

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
description: Rules for IcySky, a SwiftUI project for a bluesky client
3+
globs:
4+
---
5+
- This is a mostly a pure SwiftUI app.
6+
- It target iOS 18 so you can use the latest SwiftUI and iOS API
7+
- This is a client for the social network BlueSky.
8+
- It use the framework @ATPRotoKit, imported as a Swift Package to make all queries to the ATProtocol / API of BlueSky. Please refer to
9+
- ATProtoKit is linked in this workspace in @ATProtoKit.swift, look at the parent folder of this file.
10+
- The app is separated into two main packages undert the /packages folder.
11+
- The Features package, you can look at @Package.swift for all the libraries it contains.
12+
- The Features package is used mostly for the frontend libraries, and each feature of the app is in its own package.
13+
- There is also shared packages that can be imported in features libraries or directly in the app, like DesignSystem.
14+
- The Model package, you can look at @Package.swift for all the libraries it contains.
15+
- The Model package contain libraries such as Auth, base models, Router and everything for networking, including auth.
16+
- The root of the app is in @IcySkyApp.swift
17+
- There is very few files at the root of the project, everything should be in its own package.
18+
- The router of the app is delcared in @RouterDestination.swift and implemented as an extension at the app level in @AppRouter.swift

0 commit comments

Comments
 (0)