Search

PythonReactSEOPDF
GitHub Skill

global-commenting

Write self-documenting code with minimal, evergreen comments that explain complex logic without describing recent changes or temporary fixes. Use this skill when writing code comments, documentation strings, explaining complex algorithms, clarifying business logic, or deciding whether code needs comments. Apply when working with any source code files where comments or documentation might be added, ensuring comments remain relevant, helpful, and focused on explaining why rather than what the code does, while preferring clear code structure and naming over excessive commenting.

aiskillstore☆ 122 Repository stars6 Repository forks

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

View source ↗Guides

Skill instructions

Global Commenting

When to use this skill

  • When writing comments in any programming language
  • When deciding whether code needs explanatory comments
  • When documenting complex algorithms or business logic
  • When explaining non-obvious code decisions or workarounds
  • When writing docstrings or function documentation
  • When refactoring code to make it more self-explanatory
  • When reviewing existing comments for relevance and clarity
  • When removing outdated or temporary comments
  • When choosing between adding a comment vs improving code clarity
  • When explaining why certain approaches were chosen
  • When working with any source code files that may contain comments
  • When documenting APIs, functions, or class interfaces
  • When ensuring comments are evergreen and future-proof

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.

Instructions

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

Examples

Read the usage examples in the source repository.

View source ↗

Source history

Indexed on
2026-01-20
Index updated
2026-01-28
Branch
main

Index and sync dates describe this directory. View the source repository for code history.

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!