Claude Code Naming Analyzer Skill for Units and Intent
Review variable and function names against their actual responsibilities, units and local naming conventions.
中文Install in Claude Code
Use code that includes declarations and call sites. The example can be run as a read-only naming review.
- Get the complete `cli-tool/components/skills/productivity/naming-analyzer` directory from the pinned GitHub checkout.
- Copy it under the target project's `.claude/skills/`. Confirm `.claude/skills/naming-analyzer/SKILL.md`, open Claude Code at the project root, and call `/naming-analyzer`.
Example task
A TypeScript variable `t` is a cache lifetime in milliseconds and is passed to `setTimeout`. Suggest a name and list the locations a rename would affect.What to check
The recommendation conveys both purpose and milliseconds, such as `cacheTtlMs`, and lists the declaration, usages and related tests.
Original SKILL.md on GitHub · Updated
Frequently asked question
How much detail should a name carry?
Include the context needed at the call site and rely on established terms where their meaning is already clear.