Skip to content

Commit 253ee2b

Browse files
committed
Updated project [SKIP-CI]
1 parent e847029 commit 253ee2b

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

AGENTS.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,26 @@ This file provides development guidelines for AI agents working with this Swift
55
## Development
66

77
### Code Patterns
8+
89
- Use appropriate logging frameworks instead of print statements.
910
- 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).
1112

1213
#### Core Frameworks Extensions Examples
14+
1315
- **NSError**: `NSError(description:, recoverySuggestion:)` convenience initializer
14-
- **NSAppleScript**: `execute()` method with proper Swift error handling
16+
- **NSAppleScript**: `execute()` method with proper Swift error handling
1517
- **ProcessInfo**: `launchExtensionsPaneInSystemSettings()`, `launchPrivacyAndSecurityPaneInSystemSettings()`
1618
- **URL**: `open(withAppBundleIdentifier:)` for cross-platform URL opening
1719
- **Process**: Enhanced execution utilities with output capture
1820
- **UserDefaults**: `@UserDefaults.Wrapper` property wrapper for cleaner app preferences
1921

2022
### 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`.
2225
- **Always verify changes work** by building or testing before considering task complete.
2326
- Changes are not complete until successfully built and verified.
2427

2528
---
2629

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

Comments
 (0)