tsr

Community

Effortless dead-code cleanup for TS/React code.

Authorjey3dayo
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Detects and safely removes unused exports and dead code in TypeScript/React projects using a cascading configuration system (project -> home -> default) to minimize manual cleanup and reduce risk of deleting live code.

Core Features & Use Cases

  • Cascading configuration (project/home/default) to tailor cleanup across environments.
  • Framework-aware detection for Next.js, React, and Node.js generation of ignore patterns to avoid false positives.
  • Auto-generated .tsrignore guidance and verification steps after deletion to ensure code health.
  • Use cases include weekly maintenance, refactor cleanup, and CI integrations to validate deletion.

Quick Start

Create a project .tsr-config.json at the root, run TSR check to discover dead code, and then run TSR fix to remove it safely.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: tsr
Download link: https://github.com/jey3dayo/dotfiles/archive/main.zip#tsr

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 223,000+ vetted skills library on demand.