code-writer
OfficialGenerate C# code, auto-validate, prevent errors.
AuthorCyberdineDevelopment
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Generating new C# code often leads to compilation errors, requiring a frustrating cycle of writing, building, and fixing. This skill validates your generated code in-memory using the Roslyn compiler and even attempts to auto-fix common issues before writing to disk, ensuring a clean, compilable output every time.
Core Features & Use Cases
- Pre-Write Validation: Code is compiled and validated against your entire solution before being saved, preventing broken builds.
- Intelligent Auto-Fixes: Automatically resolves common compilation errors like missing
usingstatements, nullable warnings, and missing interface members. - Transaction Safety: Only successfully compiling code is committed to disk, with options to rollback if errors persist.
- Use Case: You need to create a new
ProductServiceclass with several methods. Usecode-writerto generate the initial structure. The skill will automatically add necessaryusingstatements and validate the code, ensuring it's ready to integrate into your project without manual debugging.
Quick Start
Use the code-writer skill to create a new C# class named "OrderProcessor" in the "MyApp.Services" namespace, ensuring it compiles successfully.
Dependency Matrix
Required Modules
dotnet
Components
scripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: code-writer Download link: https://github.com/CyberdineDevelopment/claude-tools/archive/main.zip#code-writer Please download this .zip file, extract it, and install it in the .claude/skills/ directory.