smithery.ai

Global Commenting

Write self-documenting code with minimal, helpful comments that explain complex logic without documenting temporary changes or fixes. Use this skill when adding comments to code, documenting functions or classes, or explaining complex algorithms. When writing or editing any code file that may benefit from explanatory comments. When reviewing existing comments to ensure they remain evergreen and relevant. When deciding whether code needs comments or if better naming and structure would be cleare…

First seen Apr 6, 2026

Installation

$ npx skills add https://smithery.ai

Summary

  • Write self-documenting code with minimal, helpful comments that explain complex logic without documenting temporary changes or fixes.
  • Use this skill when adding comments to code, documenting functions or classes, or explaining complex algorithms.
  • When writing or editing any code file that may benefit from explanatory comments.
  • When reviewing existing comments to ensure they remain evergreen and relevant.
  • When deciding whether code needs comments or if better naming and structure would be clearer.
  • This skill applies to all code files in any programming language including `.js`, `.ts`, `.py`, `.rb`, `.java`, `.go`, `.php`, and others.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

Declared agents claude-code

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,729 B
  • docs SUMMARY.md 665 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Global Commenting

When to use this skill

  • When adding comments to any code file in any programming language
  • When documenting complex logic or algorithms that aren't immediately obvious
  • When writing or reviewing function/method documentation
  • When explaining large sections of code that perform non-trivial operations
  • When deciding whether to add a comment or refactor for clarity
  • When reviewing existing comments to remove outdated or temporary notes
  • When ensuring comments are evergreen and won't become stale
  • When avoiding comments about recent changes, fixes, or temporary workarounds
  • When prioritizing self-documenting code through clear naming and structure
  • When writing minimal, concise comments that add value

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)