Claude Code Plugins

Community-maintained marketplace

Feedback

Global Commenting

@coreyja/coreyja.com
6
0

Write self-documenting code with clear naming and structure, adding minimal, evergreen comments only when necessary to explain complex logic. Use this skill when writing or reviewing any code that might need comments. When refactoring code to make it more self-explanatory through better naming and structure. When deciding whether to add or remove comments from existing code. When ensuring comments explain why something is done rather than what is being done. When reviewing code to remove outdated or temporary change-related comments. This skill applies to all programming languages and all types of code files.

Install Skill

1Download skill
2Enable skills in Claude

Open claude.ai/settings/capabilities and find the "Skills" section

3Upload to Claude

Click "Upload skill" and select the downloaded ZIP file

Note: Please verify skill by going through its instructions before using it.

SKILL.md

name Global Commenting
description Write self-documenting code with clear naming and structure, adding minimal, evergreen comments only when necessary to explain complex logic. Use this skill when writing or reviewing any code that might need comments. When refactoring code to make it more self-explanatory through better naming and structure. When deciding whether to add or remove comments from existing code. When ensuring comments explain why something is done rather than what is being done. When reviewing code to remove outdated or temporary change-related comments. This skill applies to all programming languages and all types of code files.

Global Commenting

This Skill provides Claude Code with specific guidance on how to adhere to coding standards as they relate to how it should handle global commenting.

When to use this skill

  • When writing any new code that might require comments or explanations
  • When refactoring code to improve clarity through better naming and structure
  • When deciding whether to add comments to complex logic or algorithms
  • When removing outdated, temporary, or change-related comments from code
  • When reviewing existing comments to ensure they remain relevant and evergreen
  • When writing function or method documentation
  • When explaining non-obvious business logic or architectural decisions
  • When working with any code file in any programming language
  • When ensuring code is self-documenting through clear variable and function names
  • When avoiding comments that simply describe what the code does (prefer explaining why)

Instructions

For details, refer to the information provided in this file: global commenting