winget-studio
Copilot instructions67 starsChanged 8 months agoMITView on GitHub
WinGet Studio (experimental) is a Windows app for authoring and testing WinGet Configuration files (DSC-based Configuration as Code) without needing deep DSC expertise up front. It lets users create/edit configuration files and run "get", "set", and "test" against installed DSC resources. Apply the WinGet configuration file to provision your dev environment: Run tests via Visual Studio Test Explorer against WinGetStudio.Tests.MSTest, or dotnet test from the command line.
In this repositoryOne other file it gives its agents.
- AGENTS.mdAGENTS.md
The file
We split this copilot-instructions.md into the rules it gives an agent
6 rules. About 0 are common, 2 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 33
Script: run .\Build.ps1 from a PowerShell terminal (certificate signing requires admin privileges).
- Very specific: line 37
Run tests via Visual Studio Test Explorer against WinGetStudio.Tests.MSTest, or dotnet test from the command line.
- Distinctive: line 58
Before filing an issue, search existing open and closed issues for duplicates.
- Very specific: line 59
Use the GitHub issue forms in .github/ISSUE_TEMPLATE/.
- Distinctive: line 62
Keep issue bodies concise and evidence-based.
- Very specific: line 63
Before opening a pull request, review CONTRIBUTING.md, follow the PR template, keep the change focused, and summarize validation performed.
≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
WinGet Studio Development Guide
Project Overview
WinGet Studio (experimental) is a Windows app for authoring and testing WinGet Configuration files (DSC-based Configuration as Code) without needing deep DSC expertise up front. It lets users create/edit configuration files and run "get", "set", and "test" against installed DSC resources.
src/WinGetStudio- Main WinUI application (UI, views, view models)src/WinGetStudio.CLI- Command-line surfacesrc/WinGetStudio.Core- Shared UI-adjacent helpers (FileDialog,Helpers)src/services/WinGetStudio.Services.Core- Core service abstractionssrc/services/WinGetStudio.Services.DesiredStateConfiguration/...Explorer- DSC resource discovery, invocation, and exploration servicessrc/services/WinGetStudio.Services.Localization- Localization servicesrc/services/WinGetStudio.Services.Logging- Logging servicesrc/services/WinGetStudio.Services.Settings- App settings persistencesrc/services/WinGetStudio.Services.Telemetry- Telemetry servicesrc/services/WinGetStudio.Services.VisualFeedback- UI feedback/animation helperssrc/WinGetStudio.Tests.MSTest- MSTest-based unit testsdocs/- User-facing documentation (getting started, DSC concepts, migration, CLI reference)
Building, Testing, and Running
Initial Setup
Apply the WinGet configuration file to provision your dev environment:
winget configure '.\.config\configuration.winget'Building
- Visual Studio: open
src/WinGetStudio.slnand build. - Script: run
.\Build.ps1from a PowerShell terminal (certificate signing requires admin privileges).
Testing
Run tests via Visual Studio Test Explorer against WinGetStudio.Tests.MSTest, or dotnet test from the command line.
Architecture & Key Patterns
- Service-oriented structure: cross-cutting concerns (DSC operations, settings, telemetry, logging, localization) are implemented as injectable services under
src/services/, consumed by the WinUI app and CLI. - DSC v3 vs 0.2.0 format: the app must handle both legacy WinGet Configuration (0.2.0) and Microsoft DSC v3.x configuration formats — see
docs/concepts/configuration-versions.mdanddocs/how-to/migrate-configuration-to-dsc3.mdbefore changing config parsing/serialization. - Resource discovery:
WinGetStudio.Services.DesiredStateConfiguration.Explorersurfaces installed DSC resources (including PowerShell Gallery-sourced ones) for the authoring UI.
Naming Conventions
- Namespaces follow
WinGetStudio.<Area>(e.g.,WinGetStudio.Services.DesiredStateConfiguration). - Shared build/versioning settings live in
Directory.Build.props,Directory.Packages.props, andToolingVersions.propsatsrc/root — prefer updating these over per-project overrides.
Contributing
- Review
CONTRIBUTING.md(root) for workflow and CLA requirements. - This project is experimental — expect API/format churn; check
docs/changelog.mdbefore assuming stability of a given surface. - CI runs via Azure Pipelines.
Issues and Pull Requests
- Before filing an issue, search existing open and closed issues for duplicates.
- Use the GitHub issue forms in
.github/ISSUE_TEMPLATE/; do not file a blank issue unless a maintainer explicitly asks for one. - Bug reports should include the form fields for brief description, steps to reproduce, expected behavior, actual behavior, and environment.
- Feature requests should include the form fields for feature or enhancement description and proposed technical implementation details when known.
- Keep issue bodies concise and evidence-based. Do not paste large speculative patches into issue bodies; open a pull request or link a branch when code is available.
- Before opening a pull request, review
CONTRIBUTING.md, follow the PR template, keep the change focused, and summarize validation performed.
Privacy & Telemetry
The application logs basic diagnostic telemetry. See docs/ and PRIVACY.md for details on what is collected.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

