jlaws

J Defrag — Development skill for Claude Code

Development community

Scan the codebase for fragmentation — duplicated components, inconsistent patterns, files to consolidate, logic to share — and fix it in verified batches.

How to install J Defrag

Installs to ~/.claude/commands/jlaws-dotfiles-j-defrag.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/jlaws/dotfiles/HEAD/.claude/commands/j-defrag.md -o ~/.claude/commands/jlaws-dotfiles-j-defrag.md

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

What J Defrag does


name: j-defrag description: "Scan the codebase for fragmentation — duplicated components, inconsistent patterns, files to consolidate, logic to share — and fix it in verified batches. Use to keep the codebase coherent on a regular cadence. Do NOT use for single-file cleanups (edit directly) or diff review before merge (use /j-diff-review)." argument-hint: "" model: opus effort: xhigh

Load skills `refactoring-and-debt` and

Alternatives in Development

  • Synthesize Findings — Combine findings from multiple research agents into a coherent, well-structured research report 228 ★
  • Symfony Voters — Implement authorization logic using Symfony Voters 206 ★
  • Prime Components — Learn how to build components in this codebase 130 ★

Full documentation available on GitHub

View Source Repository