Skip to content

Add Copilot instructions and validation skill - #909

Draft
Sergio0694 wants to merge 3 commits into
sergio0694-remove-uno-winui2from
sergio0694-ai-ready-repo-instructions
Draft

Sergio0694 wants to merge 3 commits into
sergio0694-remove-uno-winui2from
sergio0694-ai-ready-repo-instructions

Conversation

@Sergio0694

Copy link
Copy Markdown
Member

Agent assessment

Self-reported assessment, not an independent review.

Assessed revision: 5359f2ca14daa99c8d7ac0f1973400c2656daabe

Dimension Assessment Rationale
Change confidence 8/10 ↑ Docs/skill only, no product code changed; the build, pack, sample-index and single-component flows they describe were run locally (Release, VS 18 MSBuild).
↑ Claims were reviewed by a rubber duck and two independent adversarial reviewers, and the findings were reconciled.
↓ WinAppSdk/UWP tests, the uwp leg and Uno wasm/wpf/gtk/macos/ios/android builds, and loading on each Copilot surface were not verified.
↓ Depends on the unmerged tooling PR for the tooling/.github/... files these docs point to.

⚠️ Stacked on #906. The tooling submodule currently points at the unmerged Tooling-Windows-Submodule#324 (branch sergio0694-ai-ready-repo-instructions, which adds the AI instructions this PR points to) and must be re-pointed to tooling main once it merges.

Fixes

Makes this repo AI-ready: adds Copilot instructions and a validation skill specific to this repo, building on the instructions that now live in the tooling submodule (not duplicated here).

PR Type

  • Build or CI related changes
  • Documentation content changes

What is the current behavior?

No Copilot configuration exists. Copilot only loads .github from the repo root, so the instructions in tooling/.github are not picked up.

What is the new behavior?

  • Bumped the tooling submodule (separate commit) to the tooling PR branch that adds its AI instructions.
  • .github/copilot-instructions.md: explicit pointers to the tooling/.github instructions and skill (and when to read each), plus repo-specific build configuration facts and a short list of DO-NOTs.
  • .github/instructions/components.instructions.md (applyTo: components/**,catalog/**,tools/**): component reference and packaging conventions, sample-index drift rules and tools/ constraints.
  • .github/skills/validate-component-changes/SKILL.md: CI-equivalent build, test, pack, XAML style and sample-index validation flow for this repo, including clean-up.

PR Checklist

  • Based off latest main branch of toolkit
  • Tested code with current supported SDKs
  • Tests for the changes have been added (if applicable)
  • Contains NO breaking changes

Other information

Validated locally (Release): single-component wasdk build, all-components wasdk build (0 errors), Build-Toolkit-Components.ps1 pack, and dotnet run --project tools/SampleIndexExporter -- check plus dotnet test tools/SampleIndexExporter.Tests (95 passed, with DOTNET_ROLL_FORWARD=Major). Not run: WinAppSdk/UWP tests (no .NET 9 runtime), the uwp leg, and the Uno wasm/wpf/linuxgtk/macos/ios/android legs.

Sergio0694 and others added 3 commits November 30, 2026 23:50
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@Sergio0694
Sergio0694 added this pull request to stack #907 December 1, 2026 18:17

This branch has not been deployed

No deployments
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