writing-comments
CommunityMaster code comments, boost clarity.
Software Engineering#code quality#developer tools#documentation#readability#style guide#code comments#GoDoc
Authorabhinav
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill eliminates inconsistent, unclear, or unnecessary code comments that lead to confusion and maintenance headaches, ensuring every line of documentation adds value and clarity.
Core Features & Use Cases
- Standardized Comment Style: Enforces consistent formatting for standalone and inline comments, improving code readability.
- GoDoc Conventions: Guides on language-specific best practices, such as GoDoc style for exported items.
- Value-Driven Comments: Teaches when to comment (explaining "why") and when to avoid unnecessary comments (when code is self-explanatory).
- Use Case: Ensure all new code contributions adhere to a consistent, high-quality commenting standard, making codebases easier to understand and maintain for future developers.
Quick Start
BAD
// Start dispatcher
GOOD
// Start the dispatcher.
GOOD
// Workers must be spawned before sending the first event // or there will be a deadlock. for i := 0; i < numWorkers; i++ { go worker() }
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: writing-comments Download link: https://github.com/abhinav/home/archive/main.zip#writing-comments Please download this .zip file, extract it, and install it in the .claude/skills/ directory.