Maintain DisCatSharp
Aiko-IT-Systems/DisCatSharp
Guides changes to the DisCatSharp C# Discord library: tracing a payload field through parsing, serialization and caches, then validating across target frameworks.
Builds and runs the code snippets behind .NET release-note features against the exact milestone SDK, and records what must change to move maintained samples to a new preview.
$ npx skills add dotnet/core --skill validate-code-samples -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install dotnet/core validate-code-samples --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/dotnet/core.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.github/skills/validate-code-samples .claude/skills/validate-code-samples && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "validate-code-samples" agent skill from https://github.com/dotnet/core/tree/main/.github/skills/validate-code-samples into .claude/skills/validate-code-samples/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "validate-code-samples", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/dotnet/core/tree/main/.github/skills/validate-code-samplesType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add dotnet/core --skill validate-code-samples -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install dotnet/core validate-code-samples --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dotnet/core.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.github/skills/validate-code-samples .agents/skills/validate-code-samples && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "validate-code-samples" agent skill from https://github.com/dotnet/core/tree/main/.github/skills/validate-code-samples into .agents/skills/validate-code-samples/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "validate-code-samples", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add dotnet/core --skill validate-code-samples -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install dotnet/core validate-code-samples --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dotnet/core.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.github/skills/validate-code-samples .cursor/skills/validate-code-samples && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "validate-code-samples" agent skill from https://github.com/dotnet/core/tree/main/.github/skills/validate-code-samples into .cursor/skills/validate-code-samples/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "validate-code-samples", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/dotnet/core.git --path .github/skills/validate-code-samples--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add dotnet/core --skill validate-code-samples -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install dotnet/core validate-code-samples --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dotnet/core.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.github/skills/validate-code-samples .gemini/skills/validate-code-samples && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "validate-code-samples" agent skill from https://github.com/dotnet/core/tree/main/.github/skills/validate-code-samples into .gemini/skills/validate-code-samples/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "validate-code-samples", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install dotnet/core validate-code-samplesInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add dotnet/core --skill validate-code-samples -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/dotnet/core.git skills-src && mkdir -p .github/skills && cp -r skills-src/.github/skills/validate-code-samples .github/skills/validate-code-samples && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "validate-code-samples" agent skill from https://github.com/dotnet/core/tree/main/.github/skills/validate-code-samples into .github/skills/validate-code-samples/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "validate-code-samples", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add dotnet/core --skill validate-code-samples -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install dotnet/core validate-code-samples --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dotnet/core.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.github/skills/validate-code-samples .opencode/skills/validate-code-samples && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "validate-code-samples" agent skill from https://github.com/dotnet/core/tree/main/.github/skills/validate-code-samples into .opencode/skills/validate-code-samples/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "validate-code-samples", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
validate-code-samplesBuilds and runs the code snippets behind .NET release-note features against the exact milestone SDK, and records what must change to move maintained samples to a new preview.
This is the runtime verification stage of the .NET release-notes pipeline. It builds and runs what the notes claim, catching what a static ref-pack check cannot: JavaScript APIs, default values and whether a documented call sequence works. It reads build.sdk_version from the milestone's build-metadata.json, installs exactly that SDK with the official dotnet-install script into a fresh temporary directory from the https://ci.dot.net/public feed, sets DOTNET_ROOT and PATH, and stops if the reported version differs.
Maintained validation samples live under release-notes in a folder per major release and component, and they are upgraded from one preview to the next so renamed APIs, changed defaults, analyzer diagnostics and runtime regressions surface. Each major release starts a new sample set, and component owners review changes alongside the notes. The samples are test fixtures, not a reader-facing collection. The skill needs build-metadata.json, network access to the public build artifacts and PowerShell or a POSIX shell.
Read from SKILL.md and the folder at commit 44927bc. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
ci.dot.netAlso links to:
learn.microsoft.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Requires the milestone's build-metadata.json, network access to the public .NET build artifacts, and PowerShell or a POSIX shell. Pairs with api-diff-validation, which covers the static half of the same problem.
From compatibility in the SKILL.md frontmatter.
Validate Release-Note Code Samples loads about 1.4k tokens when it runs. Until then it costs about 183 tokens; SKILL.md has 635 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from dotnet/core at commit 44927bc, republished under its MIT licence (© dotnet). 635 words, ~1,388 tokens.
.claude/skills/validate-code-samples/SKILL.md (or your agent's skills folder).Build and run what the release notes claim. This is the runtime verification stage of the pipeline, and it is the last line of defence before a component PR goes to its owner.
api-verification.md covers the static half of
this problem: does a managed type or member exist in the ref pack? That check is necessary and
cheap, but it is not sufficient. It cannot see JavaScript APIs, it cannot tell you what a default
value is, and it cannot tell you whether a documented sequence of calls actually works.
Use build.sdk_version from the milestone's existing build-metadata.json. If the file or version is missing, generate the metadata through the release-notes workflow before validating samples; see api-verification.md. Do not substitute the machine SDK or a latest-channel build.
Install that exact version into a fresh, empty temporary directory with the official public dotnet-install script for the host OS. Pass the exact version (-Version or --version), the https://ci.dot.net/public feed (-AzureFeed or --azure-feed), and the temporary install directory (-InstallDir or --install-dir); stop if installation fails. Set DOTNET_ROOT to that directory and prepend it to PATH for sample builds and runs. Do not install the preview SDK machine-wide.
Verify the installed SDK reports build.sdk_version; stop if it does not.
Keep maintained validation samples in this repository under release-notes/<major>.0/samples/<component>/, for example release-notes/11.0/samples/aspnetcore/. These are executable fixtures primarily for verifying release notes, not a general-purpose or reader-facing samples collection. They do not replace the officially documented samples maintained by the relevant product and documentation teams.
Use one working sample set per major release and component. Upgrade it from preview to preview so API renames, changed defaults, analyzer diagnostics, and runtime regressions surface naturally. Start each major release with a new sample set instead of copying or retargeting scenarios from the previous release. Component owners review changes to their sample set alongside the corresponding release notes.
Keep samples for release-note features in the maintained component set so they can be rerun in later previews. For one-off compile checks outside feature validation, use a scratch project and remove it afterward.
Do not commit downloaded SDKs, packages, build outputs, certificates, secrets, or generated assets.
Create release-notes/<major>.0/samples/README.md when adding maintained samples. Explain their purpose and record the SDK version against which all component sample sets were last validated. Update the version after validating the sets against a new SDK.
In each <component>/README.md, describe the component's samples, how to run them, and their expected behavior. Keep it current as the samples change.
Follow the escalation in
api-verification.md — check the package version,
search for a rename, look for a revert, confirm the member is public. Then:
© dotnet, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .github/skills/validate-code-samples of dotnet/core.
Open the folder on GitHubat commit 44927bc
Validate Release-Note Code Samples next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Validate Release-Note Code Samples this skilldotnet/core | 22k | — | ~1.4k | Automated safety check: Pass | MIT | |
| Maintain DisCatSharpAiko-IT-Systems/DisCatSharp | 140 | — | ~1.2k | Automated safety check: Pass | MIT | |
| Code Reviewpnp/powershell | 905 | — | ~385 | Automated safety check: Pass | MIT | |
| Verify Releaseillegalstudio/elephc | 602 | — | ~2.5k | Automated safety check: Pass | MIT | |
| Try Fix Alternative Approachdotnet/maui | 23k | — | ~8.4k | Automated safety check: Pass | MIT | |
| Simple Englishmoeru-ai/airi | 50k | 2 repos | ~4.6k | Automated safety check: Pass | MIT |
Aiko-IT-Systems/DisCatSharp
Guides changes to the DisCatSharp C# Discord library: tracing a payload field through parsing, serialization and caches, then validating across target frameworks.
pnp/powershell
Reviews changes to PnP PowerShell, a .NET 8 module of 800+ cmdlets for Microsoft 365.
illegalstudio/elephc
Pre-release verification that first requires a complete release-changelog audit, then checks README, docs, roadmap, test coverage, examples, and the full test suite for regressions.
dotnet/maui
Attempts one alternative fix for a bug, runs the given test command against it and reports what happened, always differing from existing PR fixes.
moeru-ai/airi
Write or rewrite technical text with the rules of ASD-STE100 Simplified Technical English so it is clear, unambiguous, and free of AI slop.
dotnet/maui
Reviews the tests added in a pull request for fix coverage, quality, edge cases and test type, and recommends lighter test types where they would do.
dotnet/core
Audits and updates os-packages.json files listing the Linux packages each .NET release needs per distro, then regenerates the Markdown from the JSON.
dotnet/core
Audits and updates the supported-os.json files for .NET releases, checking them against upstream lifecycle data and regenerating the markdown with the release-notes tool.
dotnet/core
Validates .NET release data with the release-notes CLI: download URL liveness, SHA512 hashes, CDN latest.version files and aka.ms redirects.
dotnet/core
Produces the changes.json manifest for a .NET preview, RC or GA milestone by choosing the right VMR base and head refs and running release-notes generate changes.
dotnet/core
Ranks the changes in a release manifest and writes a scored features file that release notes, docs and blog posts can each cut at their own threshold.
dotnet/core
Audits a scored features.json file and its draft release notes against editorial examples to catch over-scored, under-scored, or missing entries.
Works with
Categories
Builds and runs the code snippets behind .NET release-note features against the exact milestone SDK, and records what must change to move maintained samples to a new preview. NET release-notes pipeline. It builds and runs what the notes claim, catching what a static ref-pack check cannot: JavaScript APIs, default values and whether a documented call sequence works.
Validate Release-Note Code Samples fits situations like: checking that a release-note snippet compiles and behaves as documented; testing a documented feature against the milestone's exact preview SDK; listing what must change to move a maintained sample to the next preview.
Run `npx skills add dotnet/core --skill validate-code-samples -a claude-code`. Or copy the skill folder (.github/skills/validate-code-samples in dotnet/core) into .claude/skills/validate-code-samples in your project. Claude Code loads it when a task matches its description.
Run `npx skills add dotnet/core --skill validate-code-samples -a codex`. Or copy the skill folder (.github/skills/validate-code-samples in dotnet/core) into .agents/skills/validate-code-samples in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add dotnet/core --skill validate-code-samples -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/validate-code-samples, .gemini/skills/validate-code-samples, .github/skills/validate-code-samples and .opencode/skills/validate-code-samples in your project.
SKILL.md names no scripts, command-line tools or credentials: Validate Release-Note Code Samples is instructions for the agent only. Our summary lists: The milestone's build-metadata.json; Network access to the public .NET build artifacts; PowerShell or a POSIX shell. Compatibility (from SKILL.md): Requires the milestone's build-metadata.json, network access to the public .NET build artifacts, and PowerShell or a POSIX shell. Pairs with api-diff-validation, which covers the static half of the same problem..
SKILL.md names 2 domains. In commands or code: ci.dot.net; the agent is likely to contact it when it follows the instructions. As links in the text: learn.microsoft.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Validate Release-Note Code Samples is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.4k tokens (SKILL.md is roughly 5.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Validate Release-Note Code Samples: Maintain DisCatSharp (Aiko-IT-Systems/DisCatSharp, 140 stars), Code Review (pnp/powershell, 905 stars), Verify Release (illegalstudio/elephc, 602 stars) and Try Fix Alternative Approach (dotnet/maui, 23k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
dotnet (a GitHub organization, an official publisher) maintains it in dotnet/core, which has 22,038 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on October 5, 2026.
Source: dotnet/core on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.