Claude never picks this command on its own
Its frontmatter has no description. Without a description, Claude Code leaves it out of the list Claude chooses from. Typing /loctree:health still runs it.
What the command file sets; muted values are Claude Code's defaults
Run a comprehensive health analysis of the current codebase.
/loctree:health
loct health to analyze the codebaseWhen this command is invoked:
Run loct health in the project root
Summarize the findings:
If there are dead exports, suggest files that can be safely deleted.
If there are circular dependencies, explain the cycle and suggest how to break it.
Codebase Health Report
======================
Health Score: 78/100
Issues Found:
- 3 dead exports (unused code)
- 1 circular dependency cycle
Dead Exports:
- src/utils/deprecated.ts:oldHelper (not imported anywhere)
- src/api/legacy.ts:LegacyClient (not imported anywhere)
Circular Dependencies:
- src/a.ts → src/b.ts → src/c.ts → src/a.ts
Suggestion: Move shared types to src/types/shared.ts
Quick Wins:
- Delete src/utils/deprecated.ts (saves 45 LOC)
- Break cycle at src/b.ts → src/c.ts
7-day visitors to each command page
Generated from the plugin's indexed repository (loctree/loctree-plugin) — no native marketplace selected
npx claudepluginhub p/loctree-loctreeOther plugins' commands for the same job