You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: AGENTS.md
+7-4Lines changed: 7 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,23 +5,26 @@ This file provides development guidelines for AI agents working with this Swift
5
5
## Development
6
6
7
7
### Code Patterns
8
+
8
9
- Use appropriate logging frameworks instead of print statements.
9
10
- Follow protocol-oriented design patterns.
10
-
-**CRITICAL: Always check FoundationKit, LoggerKit, and other core frameworks before implementing basic functionality.** These frameworks contain extensive extensions and utilities that avoid code duplication.
11
+
-**CRITICAL: If listed on Package.swift, always check FoundationKit, LoggerKit, and other core frameworks before implementing basic functionality.** These frameworks contain extensive extensions and utilities that avoid code duplication (typically you can find them in the project parent directory).
-**URL**: `open(withAppBundleIdentifier:)` for cross-platform URL opening
17
19
-**Process**: Enhanced execution utilities with output capture
18
20
-**UserDefaults**: `@UserDefaults.Wrapper` property wrapper for cleaner app preferences
19
21
20
22
### Building and Testing
21
-
- To build or test this SwiftPM project, use `DeveloperBuildTool [--test]` instead of `swift build` or `swift test`.
23
+
24
+
- To build or test this SwiftPM project, use `DeveloperBuildTool [--test]` (if available) instead of `swift build` or `swift test`.
22
25
-**Always verify changes work** by building or testing before considering task complete.
23
26
- Changes are not complete until successfully built and verified.
24
27
25
28
---
26
29
27
-
**IMPORTANT**: This is a generic development guide for AI agents shared and available on multiple projects, so avoid adding project-specific information here. Refer to README.md and the source code for project-specific details.
30
+
**IMPORTANT**: This is a generic development guide for AI agents shared and available on multiple projects, so avoid adding project-specific information here. Refer to README.md and the source code for project-specific details.
0 commit comments