-
Notifications
You must be signed in to change notification settings - Fork 555
Update copilot-instructions.md with comprehensive .NET for Android guidance #10190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…idance Co-authored-by: jonathanpeppers <840039+jonathanpeppers@users.noreply.github.com>
copilot-instructions.md
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a note to always update copilot-instructions.md in future changes where appropriate
Co-authored-by: jonathanpeppers <840039+jonathanpeppers@users.noreply.github.com>
Added a new Contributing Guidelines section with instructions to update copilot-instructions.md when making relevant changes in commit eaca27b |
…info Co-authored-by: grendello <184788+grendello@users.noreply.github.com>
Added armeabi-v7a and x86 back to the ABI list as they are still targeted by the Mono native runtime, while keeping the note that CoreCLR components only target 64-bit platforms. Co-authored-by: grendello <184788+grendello@users.noreply.github.com>
@copilot go through the repo one more time and add any more changes you feel important. We could link somewhere to Android docs: |
Co-authored-by: jonathanpeppers <840039+jonathanpeppers@users.noreply.github.com>
... Added comprehensive Android development guidance including Android documentation links, debugging patterns, device testing workflows, performance diagnostics, and API management guidance in commit 11f326b |
Enhanced the GitHub Copilot instructions to provide comprehensive guidance for AI assistants working on the .NET for Android repository. The updated instructions significantly improve Copilot's ability to understand and assist with this complex, multi-faceted codebase.
Key Improvements
Repository Context & Structure:
src/
,tests/
,build-tools/
,external/
, etc.)Development Guidelines:
[Register]
attributesXA####
), incremental build supportTechnical Standards:
Workflow & Contribution Guidelines:
Documentation/workflow/commit-messages.md
patternsExample Enhancement
Before: Basic nullable reference types and formatting rules only.
After: Comprehensive guidance covering repository structure, Android development patterns, build system usage, error handling conventions, and troubleshooting scenarios.
The instructions now help Copilot understand:
src/Mono.Android/
src/Xamarin.Android.Build.Tasks/
src/native/
with CMakeThis makes Copilot significantly more helpful for contributors working on Android development tooling, native runtime components, build infrastructure, and the extensive test suite that spans unit tests, integration tests, and device testing.
Fixes #10189.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.