Skip to content

✨ Set up Copilot instructions for MaterialDesignInXamlToolkit#3910

Merged
Keboo merged 2 commits into
masterfrom
copilot/fix-3909
Aug 30, 2025
Merged

✨ Set up Copilot instructions for MaterialDesignInXamlToolkit#3910
Keboo merged 2 commits into
masterfrom
copilot/fix-3909

Conversation

Copilot AI commented Aug 29, 2025

Copy link
Copy Markdown
Contributor

This PR adds comprehensive Copilot instructions for the MaterialDesignInXamlToolkit repository following GitHub's best practices for Copilot coding agent.

The new .github/copilot-instructions.md file provides essential guidance for AI-assisted development, covering:

Key Areas Covered

Repository Context

  • Clear identification as a WPF theming library (not a control library)
  • Core principles emphasizing styling existing WPF controls over creating new ones
  • Architecture overview of main projects and their purposes

Development Environment

  • Windows compilation requirements for WPF development
  • .NET 9 SDK dependency and build commands
  • PowerShell automation scripts usage

Code Style & Conventions

  • C# and XAML formatting rules from .editorconfig
  • Dependency property patterns and resource naming conventions
  • XamlStyler configuration integration

Domain-Specific Knowledge

  • Material Design implementation guidelines
  • WPF theming best practices and patterns
  • Theme modification using PaletteHelper and color adjustments
  • Resource dictionary organization and naming

Build & Test Pipeline

  • GitHub Actions workflow integration
  • Testing approach with unit tests and UI tests
  • Build automation with PowerShell scripts

API Design Guidelines

  • Backward compatibility requirements
  • Minimal public API surface principles
  • Designer support considerations

This comprehensive guide will help Copilot understand the repository's specific context, development patterns, and WPF/Material Design domain knowledge to provide more accurate and helpful code suggestions.

Fixes #3909.


💡 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.

Co-authored-by: Keboo <952248+Keboo@users.noreply.github.com>
Copilot AI changed the title [WIP] ✨ Set up Copilot instructions ✨ Set up Copilot instructions for MaterialDesignInXamlToolkit Aug 29, 2025
Copilot AI requested a review from Keboo August 29, 2025 19:33
@Keboo Keboo marked this pull request as ready for review August 30, 2025 04:36
@Keboo Keboo enabled auto-merge (squash) August 30, 2025 04:36
@Keboo Keboo merged commit e6a002a into master Aug 30, 2025
4 checks passed
@Keboo Keboo deleted the copilot/fix-3909 branch August 30, 2025 04:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

✨ Set up Copilot instructions

2 participants