ChristopherKahler

Reduce Similarities — Development skill for Claude Code

Development community

Run similarity-ts.

How to install Reduce Similarities

Installs to ~/.claude/commands/christopherkahler-ccusage-reduce-similarities.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/ChristopherKahler/ccusage/HEAD/.claude/commands/reduce-similarities.md -o ~/.claude/commands/christopherkahler-ccusage-reduce-similarities.md

Restart Claude Code, or start a new session, for it to be picked up.

What Reduce Similarities does

Run `similarity-ts .` to detect semantic code similarities. Execute this command, analyze the duplicate code patterns, and create a refactoring plan. Check `similarity-ts -h` for detailed options.

Alternatives in Development

  • Quick Plan — Create a detailed implementation plan based on the user's requirements provided through the USER_PROMPT variab 3.4k ★
  • Translation Execute — 智能执行文件翻译, 可独立使用或由 /translation-detect 自动衔接调用 695 ★
  • Memory Search — Search through Claude's persistent memories for specific content, patterns, or keywords 332 ★

Full documentation available on GitHub

View Source Repository