Global Commenting

Standardize headers, inline notes, to-dos, and documentation across multilingual repositories.

1|Updated Oct 4, 2025
One-click install
npx skills add https://github.com/peopledear/peopledear --skill global-commenting-peopledear
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Global Commenting
Source: https://github.com/peopledear/peopledear/tree/main/.claude/skills/global-commenting
Command: npx skills add https://github.com/peopledear/peopledear --skill global-commenting-peopledear

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill establishes a consistent standard for code commenting, making the codebase easier to understand, maintain, and onboard new developers. It clarifies complex logic and design decisions.

Core Features & Use Cases

  • Standardized Comment Format: Guides the AI to use consistent styles for inline, block, and documentation comments.
  • Clarity & Purpose: Ensures comments explain why code exists, not just what it does, for better context.
  • Use Case: When reviewing a complex algorithm, this Skill ensures the AI adds comments that explain the underlying logic, assumptions, and potential edge cases, making it easier for future developers to understand and modify.

Quick Start

Apply the 'Global Commenting' skill to add comprehensive documentation comments to the new API utility functions.

Frequently Asked Questions about Global Commenting

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I standardize code comments across a multi-language codebase?

Standardize code comments by applying consistent formatting rules across header blocks, inline notes, TODOs, and documentation blocks in all languages. This Skill enforces organization-wide commenting standards, ensuring uniform style, clarity, and maintainability across your entire repository.

What should code comments explain to help future developers?

Code comments should explain the *why* behind decisions and complex logic, not just the *what*. Include assumptions, edge cases, and underlying reasoning so future developers understand context, intent, and potential pitfalls without reconstructing the original thinking.

Can I enforce commenting standards automatically across different programming languages?

Yes. This Skill applies commenting standards across multi-language repositories through automated validation against your organization's global commenting policy, covering language-agnostic patterns like header tags, inline formatting, and documentation blocks.

How does consistent commenting improve code onboarding?

Consistent commenting reduces friction for new developers by establishing predictable, searchable documentation patterns. Standardized header blocks, inline clarity, and structured TODOs make it faster to locate context, understand design decisions, and navigate unfamiliar code.

What does a global commenting policy cover?

A global commenting policy defines format standards for header blocks with metadata, inline comments explaining logic, TODO annotation structure, and documentation blocks for functions or modules. Consistency checks and automated validation ensure all code files conform to these rules organization-wide.