hone:intent-clarity-audit
Installation
SKILL.md
Intent Clarity Audit
What This Skill Does
Audits source code for patterns that make it harder to understand what the code is doing and why. Focuses on five categories of intent obscurity:
- Unclear names: Single-letter variables outside tiny loops, generic names
(
data,temp,result,val,info,item) in non-trivial scopes, abbreviated names that sacrifice readability. - Nested ternaries: Ternary or conditional expressions nested two or more levels deep.
- Unnamed boolean parameters: Function calls passing bare
true/falseliterals without a named parameter, comment, or object wrapper to explain the meaning. - Overly clever one-liners: Dense expressions that chain multiple operations, bitwise tricks used for non-bitwise purposes, regex used inline without explanation, or reduce/fold with complex accumulators.
- Restating comments: Comments that describe what the next line does rather
Related skills