Refactor globs to YAML array format in rule files#24754
Merged
Conversation
Updated the 'globs' field in all .mdc rule files from a comma-separated string to a YAML array for improved readability and consistency.
Contributor
There was a problem hiding this comment.
Pull request overview
This PR refactors the YAML frontmatter in AI rule files by converting the globs field from a comma-separated string format to a proper YAML array format. This improves readability and follows standard YAML conventions.
Changes:
- Converted
globsfrom inline comma-separated string to multi-line YAML array format across 15 AI rule files - All glob patterns preserved exactly - no functional changes to pattern matching
Reviewed changes
Copilot reviewed 15 out of 15 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| ai-rules/ui/mvc.mdc | Converted MVC/Razor Pages globs to array format (4 patterns) |
| ai-rules/ui/blazor.mdc | Converted Blazor UI globs to array format (3 patterns) |
| ai-rules/ui/angular.mdc | Converted Angular UI globs to array format (3 patterns) |
| ai-rules/testing/patterns.mdc | Converted test pattern globs to array format (4 patterns) |
| ai-rules/template-specific/app-nolayers.mdc | Converted single-layer template globs to array format (4 patterns) |
| ai-rules/data/mongodb.mdc | Converted MongoDB pattern globs to array format (3 patterns) |
| ai-rules/data/ef-core.mdc | Converted EF Core pattern globs to array format (3 patterns) |
| ai-rules/common/multi-tenancy.mdc | Converted multi-tenancy globs to array format (3 patterns) |
| ai-rules/common/infrastructure.mdc | Converted infrastructure service globs to array format (5 patterns) |
| ai-rules/common/development-flow.mdc | Converted development workflow globs to array format (8 patterns) |
| ai-rules/common/dependency-rules.mdc | Converted dependency rule globs to array format (2 patterns) |
| ai-rules/common/ddd-patterns.mdc | Converted DDD pattern globs to array format (3 patterns) |
| ai-rules/common/cli-commands.mdc | Converted CLI command globs to array format (2 patterns) |
| ai-rules/common/authorization.mdc | Converted authorization globs to array format (3 patterns) |
| ai-rules/common/application-layer.mdc | Converted application layer globs to array format (4 patterns) |
yekalkan
approved these changes
Jan 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.