スキル一覧に戻る
overtimepog

global-commenting

by overtimepog

a very basic but solid chatbot agent in your terminal

0🍴 0📅 2025年12月7日
GitHubで見るManusで実行

SKILL.md


name: Global Commenting description: Write self-documenting code with minimal, evergreen comments that explain WHY rather than WHAT, avoiding temporary change notes or obvious descriptions. Use this skill when adding comments to any code file to ensure comments provide value by explaining complex logic, business rules, or non-obvious decisions rather than describing what the code does. Apply this skill when writing code that needs clarification, when documenting complex algorithms or business logic, or when removing outdated or redundant comments that describe obvious operations. This skill prioritizes writing clear, expressive code through meaningful naming and structure that minimizes the need for comments, ensures any comments added are helpful and explain intent or reasoning, and avoids leaving comments about recent changes, temporary fixes, or information that belongs in commit messages or documentation.

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 code across the project (to determine if comments are needed)
  • When adding comments to explain complex algorithms, business logic, or non-obvious decisions
  • When documenting WHY code exists rather than WHAT it does
  • When refactoring code to make it more self-documenting and reduce comment needs
  • When removing outdated, redundant, or obvious comments
  • When identifying comments that describe recent changes or fixes (which should be removed)
  • When choosing meaningful variable and function names that reduce the need for explanatory comments
  • When cleaning up commented-out code blocks (which should be deleted, not kept as comments)
  • When ensuring comments remain evergreen and relevant long-term
  • When writing docstrings or JSDoc for public APIs, exported functions, or complex interfaces
  • When adding TODO or FIXME comments only when absolutely necessary with clear action items
  • When reviewing code to verify comments add value and aren't stating the obvious

Instructions

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

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です