About
The comment-gen skill automatically adds meaningful inline comments to complex code by explaining the reasoning (the WHY) rather than just restating the logic. It's designed for situations where existing documentation is lacking and supports multiple verbosity levels for different audiences. Developers can use it via a simple CLI command to enhance code understanding while preserving original formatting.
Quick Install
Claude Code
Recommendednpx skills add openclaw/skills -a claude-code/plugin add https://github.com/openclaw/skillsgit clone https://github.com/openclaw/skills.git ~/.claude/skills/comment-genCopy and paste this command in Claude Code to install this skill
GitHub Repository
Frequently asked questions
What is the comment-gen skill?
comment-gen is a Claude Skill by openclaw. Skills package instructions and resources that Claude loads on demand, so Claude can perform comment-gen-related tasks without extra prompting.
How do I install comment-gen?
Use the install commands on this page: add comment-gen to Claude Code as a plugin, or clone its repository into your skills directory, then restart Claude so it picks up the skill.
What category does comment-gen belong to?
comment-gen is in the Documentation category, tagged word.
Is comment-gen free to use?
Yes. comment-gen is listed on AIMCP and free to install. It runs inside Claude, so no separate service account is required to use the skill itself.
Related Skills
This skill fetches current Railway documentation to answer questions about features, functionality, or specific docs URLs. It ensures developers receive accurate, up-to-date information directly from Railway's official sources. Use it when users ask how Railway works or reference Railway documentation.
This Claude Skill provides expert guidance for writing Python code in n8n's Code nodes, specifically for using Python's standard library and working with n8n's special syntax like `_input`, `_json`, and `_node`. It helps developers understand Python's limitations within n8n and recommends using JavaScript for most workflows while offering Python solutions for specific data transformation needs.
The Archon skill provides RAG-powered semantic search and project management through a REST API. Use it for querying documentation, managing hierarchical projects/tasks, and performing knowledge retrieval with document upload capabilities. Always prioritize Archon first when searching external documentation before using other sources.
This Claude Skill provides expert guidance for writing JavaScript code in n8n's Code nodes. It covers essential n8n-specific syntax like `$input`/`$json` variables, HTTP helpers, and DateTime handling, while troubleshooting common errors. Use it when developing n8n workflows that require custom JavaScript processing in Code nodes.
