# code-comments

> Use this tool when you need to automatically generate high-quality code comments and documentation to improve code readability and maintainability. It solves problems of unclear or outdated code documentation, reducing development time and effort for developers. The tool takes in code snippets as input and outputs well-structured comments and documentation.

Canonical page: https://skillsregistry.net/skills/user520512-code-comments  
JSON: https://api.skillsregistry.net/v1/skills/user520512-code-comments

## Description

Generate code comments and docs.

## Trust

- **Trust score (0–1):** 0.60
- **Verification tier:** unverified

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** instructions
- **Runtime environment:** llm
- **Category:** other
- **Updated:** 2026-05-17

## Source

- **Source listing:** [ClawHub](https://clawskills.sh/skills/user520512-code-comments)

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "user520512-code-comments"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/user520512-code-comments` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/user520512-code-comments/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
