simplifier

Detect unused imports, variables, and long functions in Go and JavaScript/TypeScript codebases.

3|Updated Jan 22, 2026
One-click install
npx skills add https://github.com/utkudarilmaz/claude-code-setup --skill simplifier
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: simplifier
Source: https://github.com/utkudarilmaz/claude-code-setup/tree/main/.claude/skills/simplifier
Command: npx skills add https://github.com/utkudarilmaz/claude-code-setup --skill simplifier

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps developers automatically cleanup dead code, reduce complexity, and remove duplication to improve overall code quality.

Core Features & Use Cases

  • Dead code elimination: identify and remove unused code paths
  • Complexity reduction: refactor long, nested functions and simplify logic
  • Duplication removal: detect repeated patterns and extract common logic
  • Scope flexibility: applies to Go and JavaScript/TypeScript projects, across full repos or targeted modules

Quick Start

Run /simplifier to scan recent changes for dead code, reduce complexity, and improve code quality.

Frequently Asked Questions about simplifier

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find and remove dead code in a Go project?

You can reduce code complexity by refactoring long, nested functions into simpler logic. This tool detects complex functions and outputs specific cleanup tasks to simplify them.

Can I scan a specific module for code duplication instead of a full repository?

Yes, you can scan a specific module instead of a full repository. This tool supports scope flexibility, allowing you to detect repeated patterns and extract common logic within specific modules.

Does this code cleanup tool work with JavaScript and TypeScript codebases?

Yes, this code cleanup tool works with JavaScript and TypeScript codebases. It detects unused imports, unused variables, and long functions to reduce complexity across these languages.

What is the best way to reduce code complexity and improve quality?

Reducing code complexity is best achieved by refactoring long functions, eliminating dead code, and removing duplication. This approach coordinates a multi-step workflow to detect issues and output cleanup tasks.

How do I identify unused imports and variables before refactoring?

Identifying unused imports and variables is handled by scanning recent changes for dead code. The tool detects unused elements and outputs actionable cleanup tasks before you refactor.