code-reader
OfficialRead C# code, strip docs, save context.
Software Engineering#developer tools#code analysis#C##context optimization#Roslyn#code parsing#XML documentation
AuthorCyberdineDevelopment
Version1.0.0
Installs0
System Documentation
What problem does it solve?
XML documentation comments in C# code consume significant context tokens (30-50%) but are often irrelevant for code analysis tasks. This skill efficiently reads C# files, stripping XML docs while preserving important comments (TODO, HACK), allowing AI to focus on the core code structure and logic.
Core Features & Use Cases
- Context Optimization: Reduces token usage by removing verbose XML documentation, enabling more code to be processed per request.
- Intelligent Comment Preservation: Keeps crucial inline comments like
// TODO,// HACK, and// NOTE, which provide vital context for development tasks. - Roslyn-Based Stripping: Uses Roslyn's semantic understanding to accurately remove XML trivia without altering code logic.
- Use Case: You need to analyze the complexity of a large, well-documented C# class. Instead of reading the entire file with its XML docs, use
code-readerto get a streamlined version, allowing the AI to process more code and focus on the logic, not the documentation.
Quick Start
Use the code-reader skill to read the file "D:\Project\src\Services\ProductService.cs" and strip its XML documentation comments.
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-reader Download link: https://github.com/CyberdineDevelopment/claude-tools/archive/main.zip#code-reader Please download this .zip file, extract it, and install it in the .claude/skills/ directory.