Skip to content

Commit 91b0f7f

Browse files
committed
Reduce shared agent instructions
1 parent 4c9e636 commit 91b0f7f

1 file changed

Lines changed: 5 additions & 24 deletions

File tree

‎AGENTS.md‎

Lines changed: 5 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,10 @@
11
# Agents
22

3-
This file provides development guidelines for AI agents working with this Swift Package Manager project.
3+
This project is a Swift Package Manager project.
44

5-
## Development
5+
For general development guidance, use the `swift-project-guide` skill.
66

7-
### Code Patterns
7+
## Project Notes
88

9-
- Use appropriate logging frameworks instead of print statements.
10-
- Follow protocol-oriented design patterns.
11-
- **CRITICAL: If they are 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).
12-
13-
#### Core Frameworks Functionality Examples
14-
15-
- **NSError**: `NSError(description:, recoverySuggestion:)` convenience initializer.
16-
- **NSAppleScript**: `execute()` method with proper Swift error handling.
17-
- **ProcessInfo**: `launchExtensionsPaneInSystemSettings()`, `launchPrivacyAndSecurityPaneInSystemSettings()`.
18-
- **URL**: `open(withAppBundleIdentifier:)` for cross-platform URL opening.
19-
- **Process**: Enhanced execution utilities with output capture.
20-
- **UserDefaults**: `@UserDefaults.Wrapper` property wrapper for cleaner app settings.
21-
22-
### Building and Testing
23-
24-
- **Always verify changes work** by building or testing before considering task complete.
25-
- Changes are not complete until successfully built and verified.
26-
27-
---
28-
29-
**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` file if available and the source code for project-specific details.
9+
- Read `README.md` for project-specific architecture, targets, and conventions.
10+
- Keep project-specific guidance in `README.md` or source-local documentation, not in this shared `AGENTS.md`.

0 commit comments

Comments
 (0)