Skip to content

Add WCF C# code style Copilot skill - #5974

Open
afifi-ins wants to merge 1 commit into
dotnet:mainfrom
afifi-ins:feature/copilot-code-style-skill
Open

Add WCF C# code style Copilot skill#5974
afifi-ins wants to merge 1 commit into
dotnet:mainfrom
afifi-ins:feature/copilot-code-style-skill

Conversation

@afifi-ins

Copy link
Copy Markdown
Contributor

Summary

  • add a repository-scoped wcf-csharp-style Copilot Agent Skill for C# implementation, reviews, tests, and .NET Framework modernization
  • add focused references for code style, testing, modernization, and formatting scope
  • add PowerShell helpers that discover eligible changed C# files across all three solutions
  • update Copilot instructions to load the skill automatically for C# work

Formatting safety

  • verification is limited to changed C# files
  • automatic apply formats newly added files only by default
  • existing modified files are skipped unless whole-file formatting is explicitly authorized
  • generated, reference, baseline, build-output, and Arcade-managed files are excluded

Validation

  • gh skill publish .github/skills --dry-run
  • parsed both PowerShell helpers successfully
  • exercised formatting across System.ServiceModel.sln, dotnet-svcutil.sln, and dotnet-svcutil.xmlserializer.sln
  • confirmed apply mode skips modified existing files
  • confirmed no existing C# source changed

Add a repository-scoped Copilot skill for C# style, testing, and legacy modernization. Include changed-file formatting helpers that verify all changed C# files while applying whole-file formatting only to new files by default.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 88e1a73a-cbed-48d5-b7cf-628c494827db
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.

1 participant