Skip to content
Back to skills

Global Commenting

ASecurity

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 c...

  • 509 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 3, 2026
ai-agentsgorefactoringapidocumentation

Works with

  • claude code
  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 3, 2026

npx -y skills add aiskillstore/marketplace --skill global-commenting --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Global Commenting?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Global Commenting
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aiskillstore-global-commenting-marketplace/badge)](https://www.skillsdirectory.com/skills/aiskillstore-global-commenting-marketplace)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: global-commenting
description: 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.
---

# 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](../../../agent-os/standards/global/commenting.md)

Files in this skill

  • SKILL.md1.7 KB
  • skill-report.json10 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.