mistrypragnesh40

Doc Refactor — Documentation skill for Claude Code

Documentation community

Refactor and document messy C# or XAML code.

How to install Doc Refactor

Installs to ~/.claude/skills/mistrypragnesh40-claude-maui-config-doc-refactor/SKILL.md

Terminal
mkdir -p ~/.claude/skills/mistrypragnesh40-claude-maui-config-doc-refactor && curl -fsSL https://raw.githubusercontent.com/mistrypragnesh40/claude-maui-config/HEAD/commands/doc-refactor.md -o ~/.claude/skills/mistrypragnesh40-claude-maui-config-doc-refactor/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

What Doc Refactor does


name: Documentation Refactor description: Refactor and document messy C# or XAML code tags: documentation, refactoring

Documentation Refactor for .NET MAUI

Refactor and document the specified code:

  1. Analyze: Read the target file, understand its purpose and dependencies
  2. Refactor: Clean up naming, extract methods, reduce complexity
  3. Document: Add XML doc comments to public classes, methods, and properties
  4. Verify: Run dotnet build to confirm no breaking chan

Alternatives in Documentation

Full documentation available on GitHub

View Source Repository