diff --git a/Music/AGENTS.md b/Music/AGENTS.md index ab06012..1fb761a 100644 --- a/Music/AGENTS.md +++ b/Music/AGENTS.md @@ -42,6 +42,7 @@ Use large, custom page headings near the top of the content on the Home, Library - Before creating or updating a UI, inspect the corresponding screen and shared layout in `~/music-v2`. Mirror its structure and information hierarchy in native SwiftUI, using liquid glass only where it suits the screen and supports clarity. - Use Apple's standard red accent (`.red`) and otherwise prefer SwiftUI's semantic system colors and materials. Avoid custom color values unless the user asks for them. - Always add a SwiftUI preview for every UI view you create or update. +- Use XcodeBuildMCP's compile-only `build_sim` action to build this Xcode project when build verification is needed; do not run `xcodebuild` from the shell when XcodeBuildMCP is available. Do not use a build-and-run action or launch a simulator without the user's explicit confirmation. - Before completing code changes, run available linting and type checking or a build for the affected code. Fix errors introduced by the change, and clearly report any unrelated baseline or environment failures that prevent a clean check. - Do not boot, open, or launch an iOS simulator without the user's explicit confirmation. This includes XcodeBuildMCP actions such as `build_run_sim` that automatically open the simulator. Prefer compile-only simulator builds when validation is needed. - Reuse the web app’s backend API and data model. Inspect `~/music-v2` when route behavior, authentication, content fields, or feature scope is unclear.