Skip to main content
skill CX Codex

wpf-best-practices — Claude Code skill: features and installation

This skill guides C# and .NET WPF work, from project layout to MVVM patterns. Use it when building a desktop UI with XAML.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add jcurbelo/skills --skill wpf-best-practices -a claude-code
Open on GitHub

What wpf-best-practices does

The skill gives an AI agent coding conventions and a suggested layout for WPF projects. It covers naming, explicit types, nullable reference types and file-scoped namespaces, then separates app code into views, models, ViewModels and services.

For MVVM, it describes a shared ViewModelBase that raises property-change notifications, along with RelayCommand implementations for XAML bindings. Project examples include .csproj settings for a WPF app and a shared library. These are coding guidelines, not a ready-made application.

What it helps with

  • organize files in a WPF project
  • separate presentation logic into ViewModels
  • bind UI actions to XAML commands
  • configure nullable reference types in a C# project

Example prompts for the agent

  • Create a settings-window ViewModel using this skill's guidance.
  • Review my WPF project layout and suggest how to split its services and ViewModels.
  • Add a RelayCommand for this XAML button and explain how the ViewModel connects to it.

How to install wpf-best-practices

1Skills CLI (Vercel)

npx skills add jcurbelo/skills --skill wpf-best-practices -a claude-code

2Manually: put the files in place

~/.claude/skills/wpf-best-practices/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/wpf-best-practices/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about wpf-best-practices

How do I install wpf-best-practices in Claude Code?

Run npx skills add jcurbelo/skills --skill wpf-best-practices -a claude-code. The skill file is placed at ~/.claude/skills/wpf-best-practices/SKILL.md.

What does wpf-best-practices do?

It gives an agent guidance for C#, .NET and WPF code, including project organization and MVVM. Its examples include ViewModelBase and commands for XAML bindings.

How does the skill handle XAML commands?

It presents RelayCommand and RelayCommand<T> implementations of ICommand for binding actions in XAML to application logic.

Similar skills

Everything for Frontend and UI →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor