rcode-trim

Community

Trim code without changing behavior.

Authorhanzlahabib
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you remove unnecessary code without changing behavior, so a file becomes easier to read and maintain without introducing risky rewrites.

Core Features & Use Cases

  • Dead Code Removal: Delete unreachable branches, unused exports, and commented-out blocks after checking that nothing else depends on them.
  • Duplicate and Redundant Logic Cleanup: Consolidate repeated logic, inline one-off wrappers, and remove parameters that only carry default values.
  • Safe Refactoring Guardrails: Keep meaningful comments, descriptive names, and boundary validation intact so the trimmed code remains clear.
  • Use Case: A utility module has grown noisy with dead branches, duplicate helpers, and verbose conditionals; this Skill trims it back while preserving behavior and running tests after each change.

Quick Start

Use the rcode-trim skill to simplify the selected file while keeping behavior unchanged and validating the result with tests after every cut.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: rcode-trim
Download link: https://github.com/hanzlahabib/rcode/archive/main.zip#rcode-trim

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 536,000+ vetted skills library on demand.