Setup & Installation
openclaw skills install @user520512/code-comments
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
npx clawhub install code-comments
What This Skill Does
Generates inline comments and documentation for source code. Takes existing code and produces explanations at the function, parameter, or file level.
When to use it
- Adding JSDoc comments to undocumented functions
- Documenting parameters and return types across a module
- Writing inline explanations for complex algorithms
- Generating a doc block for a newly written class
- Annotating legacy code before a refactor