Individual skill
code-comment-generator
Generates meaningful comments and documentation for code to improve maintenance and readability. Use when adding documentation to Python or Java code, including function/method docstrings, class documentation, inline explanations for complex logic, and code annotations (TODO, FIXME). Analyzes existing comment style in the codebase to match conventions. Produces clear, concise comments that explain the "why" not just the "what", following best practices for each language.
skills/code-comment-generator/SKILL.md
Source commit 4f38503747e0617504bce5329283ef837d375c09
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 6, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 259
- Repository last updated
- Aug 21, 2026
- License
- Apache-2.0
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- claude-skills Repository topic
- metaprogramming Repository topic
- software-development Repository topic
- software-engineering Repository topic
- claude Repository topic
- claude-code Repository topic
- docs Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 18,348 bytesSKILL.mdcore · 18,348 bytesSKILL.mdcore · 18,348 bytesSKILL.mdcore · 18,348 bytesSKILL.mdcore · 18,348 bytesSKILL.mdcore · 18,348 bytesSKILL.mdcore · 18,348 bytesSKILL.mdcore · 18,348 bytesSKILL.mdcore · 18,348 bytesSKILL.mdcore · 18,348 bytesSKILL.mdcore · 18,348 bytesSKILL.mdcore · 18,348 bytesSKILL.mdcore · 18,348 bytesSKILL.mdcore · 18,348 bytesreferences/comment_examples.mddoc · 23,962 bytesreferences/style_guides.mddoc · 15,079 bytes
Read excerpt
# Code Comment Generator
Generate meaningful, maintainable comments and documentation for your code.
## Core Capabilities
This skill helps you create effective code documentation by:
1. **Analyzing code context** - Understanding what the code does and why
2. **Matching existing style** - Following comment conventions in your codebase
3. **Writing clear documentation** - Creating function/method/class documentation
4. **Adding inline explanations** - Explaining complex logic and algorithms
5. **Inserting code annotations** - Adding TODO, FIXME, and optimization notes