Prompt
Maintain consistent naming patterns across similar functionality while ensuring names accurately describe their current purpose and scope. When multiple options exist for the same feature, standardize on one clear option to avoid confusion in documentation and usage. Update variable names when their type or purpose changes, and use descriptive names that clearly indicate scope and function.
Examples:
- Standardize on
--componentinstead of supporting both--componentand--ctflags - Rename
writtentowrittenChunkCountwhen changing from boolean to counter - Use consistent namespacing like
/__cypress/bundledto match existing conventions - Name debug variables consistently as
debugVerboseeven when no non-verbose version exists - Update labels like “All Specs” to “All Integration Specs” when context requires specificity
This prevents inconsistent documentation, reduces cognitive load for developers, and ensures the codebase remains predictable and maintainable.