Formatting Wpf Csharp Code
Automatically formats C# code for WPF applications according to Christian289's style guidelines, improving readability.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add formatting-wpf-csharp-code npx -- -y @trustedskills/formatting-wpf-csharp-code
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"formatting-wpf-csharp-code": {
"command": "npx",
"args": [
"-y",
"@trustedskills/formatting-wpf-csharp-code"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill automatically formats C# code specifically designed for Windows Presentation Foundation (WPF) applications. It ensures consistent indentation, proper spacing around operators, and adheres to common C# coding conventions. The formatted code is suitable for improved readability and maintainability within WPF projects.
When to use it
- You have a block of raw C# WPF code that needs cleaning up.
- You want to enforce consistent formatting across a team working on a WPF project.
- You're refactoring existing WPF code and need to improve its readability.
- You are generating C# WPF code programmatically and require automatic formatting.
Key capabilities
- Formats C# code for WPF applications.
- Ensures consistent indentation.
- Applies proper spacing around operators.
- Adheres to standard C# coding conventions.
Example prompts
- "Format this C# code: [paste code here]"
- "Clean up the formatting of this WPF C# snippet."
- "Apply standard C# formatting rules to the following code block:"
Tips & gotchas
The skill is specifically tailored for C# code used in WPF applications. Providing non-C# or non-WPF code may result in unexpected or incorrect formatting.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.