winforms-expert

winforms-expert is a skill for Claude Code, Codex from managedcode/dotnet-skills. It costs 137 tokens per session (4,673 once invoked), scanned A, a copy of winforms-expert, MIT.

A set of instructions for creating, changing, debugging, and reviewing Windows Forms applications, which are desktop programs built with Microsoft's .NET user-interface toolkit.

In plain words
What is it for?
Use it for Windows Forms forms, controls, designer files, and related C# or Visual Basic changes. It covers implementation, debugging, review, and verification of the resulting application.
Why use it?
It helps keep the visual layout editable in Visual Studio while preventing changes from breaking runtime behavior or the form designer. It also requires focused checks and builds instead of treating a successful build as the only proof.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for Windows Forms forms, controls, designer files, and related C# or Visual Basic changes. It covers implementation, debugging, review, and verification of the resulting application.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/managedcode/dotnet-skills/winforms-expert
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add managedcode/dotnet-skills --skill winforms-expert
Clone the repo
git clone --depth 1 https://github.com/managedcode/dotnet-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for winforms-expert

README.md
[![agentmods](https://agentmods.dev/badge/skills/managedcode/dotnet-skills/winforms-expert/github.svg)](https://agentmods.dev/skills/managedcode/dotnet-skills/winforms-expert)
Your own site
<a href="https://agentmods.dev/skills/managedcode/dotnet-skills/winforms-expert"><img src="https://agentmods.dev/badge/skills/managedcode/dotnet-skills/winforms-expert/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for winforms-expert

Your own site · 80×15
<a href="https://agentmods.dev/skills/managedcode/dotnet-skills/winforms-expert"><img src="https://agentmods.dev/badge/skills/managedcode/dotnet-skills/winforms-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 137 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,673 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00137 $0.04673
Opus 5.5 $0.00055 $0.01869
Sonnet 5.5 $0.00027 $0.00935
Haiku 4.5 $0.00014 $0.00467

Measured 1mo ago against content hash 76745506f8b2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

winforms-expert scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to winforms-expert — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

catalog/Frameworks/Official-DotNet-WinForms/skills/winforms-expert/SKILL.md · 330 lines

How it starts

The opening of the file, as written. The whole thing — 330 lines — stays where its author put it; the contents beside it link to each section on GitHub.

WinForms Expert

Purpose

Implement WinForms changes that compile, behave correctly at runtime, and remain editable in the Visual Studio Designer. Treat InitializeComponent and *.Designer.* as a serialization format, not ordinary application code; keep behavior in the main partial class and verify designer usability whenever the environment permits.

Execution Contract

Before editing, list the workspace root and locate any task-specific validator, test script, or documented verification command. Read its scenario selector and required arguments before choosing an implementation. After editing:

  1. Run that narrow validator first and fix every failure it attributes to the change.
  2. Run the focused project build after the validator passes.
  3. If the build or any later edit changes source, rerun the narrow validator.
  4. Report those commands separately from runtime UI and Designer round-trip checks.

A successful build never substitutes for an available layout, binding, serialization, or designer-safety validator. Do not finish after merely reading a validator or after a build succeeds.

Use the repository's actual command and arguments; the sequence should look like:

pwsh -NoProfile -File <task-validator.ps1> <scenario-arguments>
dotnet build <project> --nologo

Boundaries

Use this skill for:

  • Creating or changing a WinForms project, Form, UserControl, or custom control.
  • Editing designer-generated layout, event wiring, resources, or component fields.
  • Diagnosing a Form Designer load, serialization, scaling, binding, or toolbox problem.
  • Implementing WinForms-specific async, MVVM, accessibility, DPI, or dark-mode behavior.

Do not use it to:

  • Convert the application to another UI framework unless the user explicitly requests migration.
  • Rewrite working generated code for style alone.
  • Change the target framework, language version, SDK, package strategy, startup model, DPI mode, or application-wide theme unless required by the request.
  • Claim that the Visual Studio Designer works when it was not actually opened and exercised.

Read the full file on GitHub · 330 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 330 lines · 137 tokens per session scan A 76745506f8b2

Subscribe to this mod's changes

winforms-expert is a skill published in the GitHub repository managedcode/dotnet-skills (527 stars, last pushed 16d ago), licensed MIT. It adds 137 tokens to every session and 4,673 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to winforms-expert, differing in 0 lines, and is treated as a copy.

Related

winforms-expert compared with skills from other repositories

winforms-expert next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
winforms-expertmanagedcode/dotnet-skillsSkill52716d agoMITA137Claude Code, Codex
clean-architecture-dotnetSebastienDegodez/copilot-instructionsSkill19923d agoApache-2.0A50Claude Code, Codex
creating-dotnet-mcp-serversSebastienDegodez/copilot-instructionsSkill19923d agoApache-2.0A43Claude Code, Codex
dotnetAterDev/Perigon.CLISkill544d agoApache-2.0A61Claude Code, Codex
blazorAterDev/Perigon.CLISkill544d agoApache-2.0A45Claude Code, Codex
cliAterDev/Perigon.CLISkill544d agoApache-2.0A52Claude Code, Codex
codegenAterDev/Perigon.CLISkill544d agoApache-2.0A53Claude Code, Codex