Index of every page on this site: llms.txt
All skills
Run it yourself

This skill should be used when the user asks to "clean up code", "remove dead code", "simplify this function", "this code is too complex", "reduce complexity", "find unused imports", "code quality sweep", or "/simplifier". Focuses on dead code, complexity reduction, and duplication removal.

  • 6 files
  • 17.5 KB
  • Updated 2 days ago
  • GitHub
Use this Skill: https://skilld.dev/gh/utkudarilmaz/claude-code-setup/simplifier

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencescomprehensive-mode.md

≈469 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Comprehensive Mode

Execution guide for /simplifier all. The audit covers every code area of the repository, one at a time, so nothing is skipped.

Execution Flow

  1. Explore repository structure - Identify all code areas
  2. Create TodoWrite plan - One todo item per module/package
  3. Process sequentially - Complete each area before moving to next
  4. Mark progress - Update todos as each section completes

Quality Aspects to Review

Process each area one-by-one:

Aspect What to Check
Dead imports Unused imports across all files
Dead variables Unused variables and constants
Dead functions Unused exported/internal functions
Dead code paths Unreachable code after returns
Commented code Old code blocks that should be removed
Complexity Deeply nested conditionals, long functions
Duplication Repeated code patterns, copy-paste
Magic values Hardcoded numbers and strings
Naming Unclear or inconsistent names
Patterns Inconsistent coding patterns

Example Plan

/simplifier all

Creates todos like:

  • Scan and cleanup src/handlers/
  • Scan and cleanup src/services/
  • Scan and cleanup src/utils/
  • Scan and cleanup src/models/
  • Scan and cleanup internal/
  • Review cross-cutting patterns
  • Generate final quality report

Then the simplifier agent is dispatched for each area sequentially.

Language-Specific Patterns

Detect the primary language(s) in each area and include the matching reference content in the dispatch prompt, as described in SKILL.md:

Scope Language Reference File
Go references/go-patterns.md
JavaScript / TypeScript references/js-ts-patterns.md
Python references/python-patterns.md
Rust references/rust-patterns.md

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at 7ee2637. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 2 days ago

README badge

README badge for utkudarilmaz/claude-code-setup/simplifier