This skill enforces the use of specific verb prefixes such as 'is', 'has', 'can', and 'should' for all boolean declarations and function return types. By ensuring that true/false states read as natural questions, it eliminates ambiguity between booleans and other data types like nouns or adjectives, making control structures more intuitive and the codebase easier to maintain. It is an essential tool for teams implementing clean code principles and seeking consistent naming patterns across local variables, class properties, and functions.
주요 기능
01Improves code readability by phrasing booleans as natural questions
02Supports consistency across local variables, properties, and return types
030 GitHub stars
04Enforces standard verb prefixes including is, has, can, and should
05Provides clear guidance on which prefix to use for state, identity, or capability
06Reduces ambiguity between booleans and complex objects or status strings
사용 사례
01Standardizing naming patterns across large-scale TypeScript or JavaScript projects
02Refactoring legacy codebases to align with modern clean code standards
03Automating code reviews to identify and correct ambiguous boolean identifiers