# Code Commenter

> Automatic code documentation and comment generation. Add professional comments to any codebase with AI assistance. Use when: add comments, document code, generate docs, explain code

- Skill: `antgroup/code-commenter` (Agent Skill, multi-file: 4 files)
- Install (CLI): `npx skillmds@latest add antgroup/code-commenter`
- Raw SKILL.md: https://api.skillmd.com/api/skills/antgroup/code-commenter/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: antgroup (https://skillmd.com/u/antgroup)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/antgroup/code-commenter

---


# Code Commenter Pro v4.0.0

Automatically generate professional documentation for your code.

## Features

- Multi-language support
- Docstring generation
- Inline comment creation
- API documentation

## Usage

```bash
/code-commenter @src/ --language python
/code-commenter @file.js --verbose
/code-commenter --generate-docs
```

## Architecture

```
code-commenter/
├── SKILL.md
├── templates/
│   ├── python_template.py     # Python comment templates 
│   └── javascript_template.js # JS comment templates 
├── scripts/
│   └── generator.py           # Comment generator 
└── expected_result.json
```

## Comment Templates

The commenter uses language-specific templates for natural-looking comments.

See `templates/` for the template library.

---

*Professional code documentation made easy*

