What problem does it solve?
This Skill prevents codebases from becoming cluttered with outdated or redundant comments, while ensuring complex logic is adequately explained. It automates the practice of writing self-documenting code, saving developers time in understanding and maintaining the codebase.
Core Features & Use Cases
- Self-Documenting Code: Prioritizes clear naming and structure over excessive comments.
- Strategic Commenting: Guides when and where to add comments for complex logic or non-obvious details.
- Comment Maintenance: Promotes reviewing and removing outdated or unnecessary comments.
- Use Case: When implementing a sophisticated data transformation algorithm, this Skill ensures the AI adds a concise block comment explaining the overall process, but relies on descriptive variable names for individual steps, eliminating the need for line-by-line comments.
Quick Start
When implementing the calculateTax function, ensure variable names are descriptive enough that no inline comments are needed, but add a block comment at the top explaining the tax calculation logic.