mirror of
https://github.com/home-assistant/iOS.git
synced 2026-06-17 17:49:07 -05:00
<!-- Thank you for submitting a Pull Request and helping to improve Home Assistant. Please complete the following sections to help the processing and review of your changes. Please do not delete anything from this template. --> ## Summary <!-- Provide a brief summary of the changes you have made and most importantly what they aim to achieve --> Adds GitHub Copilot instructions file to guide AI code generation with project-specific conventions and patterns. **Contents:** - Code style enforcement (SwiftFormat, SwiftLint rules, 120 char width, `before-first` wrapping) - Custom lint rules (no `Current` assignments, SFSafeSymbols usage) - Project architecture (multi-platform: iOS/watchOS/macOS/CarPlay) - Build setup (CocoaPods, Xcode 15.3+, code signing requirements) - Common patterns (dependency injection via `Current`, networking APIs, database layer) - Testing and CI expectations ## Screenshots <!-- If this is a user-facing change not in the frontend, please include screenshots in light and dark mode. --> N/A - Documentation only ## Link to pull request in Documentation repository <!-- Pull requests that add, change or remove functionality must have a corresponding pull request in the Companion App Documentation repository (https://github.com/home-assistant/companion.home-assistant). Please add the number of this pull request after the "#" --> Documentation: home-assistant/companion.home-assistant# N/A - Internal development documentation ## Any other notes <!-- If there is any other information of note, like if this Pull Request is part of a bigger change, please include it here. --> None <!-- START COPILOT CODING AGENT SUFFIX --> <details> <summary>Original prompt</summary> > Add .github/copilot-instructions.md sample </details> <!-- START COPILOT CODING AGENT TIPS --> --- 💬 We'd love your input! Share your thoughts on Copilot coding agent in our [2 minute survey](https://gh.io/copilot-coding-agent-survey). --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: bgoncal <5808343+bgoncal@users.noreply.github.com>