Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Reviews SwiftUI code for deprecated APIs, data flow, navigation, accessibility, and performance issues.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
references/hygiene.md
1# Hygiene23- If the project requires secrets such as API keys, never include them in the repository.4- Code comments and documentation comments should be present where the logic isn't self-evident.5- Unit tests should exist for core application logic. UI tests only where unit tests are not possible.6- `@AppStorage` must never be used to store usernames, passwords, or other sensitive data. Use the keychain for that.7- If SwiftLint is configured, it should return no warnings or errors.8- If the project uses Localizable.xcstrings, prefer to add user-facing strings using symbol keys (e.g. “helloWorld”) in the string catalog with `extractionState` set to "manual", accessing them via generated symbols such as `Text(.helloWorld)`. Offer to translate new keys into all languages supported by the project.9- If the Xcode MCP is configured, prefer its tools over generic alternatives. For example, `RenderPreview` is able to capture images of rendered SwiftUI previews for examination, and `DocumentationSearch` can search Apple’s documentation for latest usage instructions.10