commter

Add and improve JSDoc and inline comments for changed TypeScript and JavaScript code from git diff.

Updated Jan 31, 2026
One-click install
npx skills add https://github.com/gihwan-dev/claude-setup --skill commter
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commter
Source: https://github.com/gihwan-dev/claude-setup/tree/main/skills/commter
Command: npx skills add https://github.com/gihwan-dev/claude-setup --skill commter

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the challenge of unclear, outdated, or missing code comments, which hinders maintainability and onboarding by providing context and rationale for code changes.

Core Features & Use Cases

  • Automated Comment Generation: Adds JSDoc and inline comments to TypeScript/JavaScript code based on git diff.
  • Comment Improvement: Refines existing comments to improve clarity, accuracy, and relevance, removing redundant or misleading information.
  • Use Case: When you commit changes to a complex function, this Skill can automatically generate or update its JSDoc to explain the "why" behind the modifications, making it easier for teammates to understand the intent.

Quick Start

Use the commter skill to add or improve comments for the staged TypeScript files.

Frequently Asked Questions about commter

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically generate JSDoc comments for changed TypeScript files?

Automatically generate JSDoc comments for changed TypeScript files by analyzing your git diff. The tool adds documentation explaining intent, constraints, and trade-offs specifically for modified JavaScript and TypeScript code to improve maintainability.

What is the best way to improve existing code comments in JavaScript?

Improve existing JavaScript code comments by refining them for clarity and accuracy while removing redundant or misleading information. This process enhances readability by ensuring comments focus on the rationale behind code modifications rather than self-evident details.

Does this automated code documentation tool work with git diff?

Yes, this automated code documentation tool works directly with git diff. It processes staged modifications in TypeScript and JavaScript repositories to identify changed code segments and automatically generates or updates their inline comments and JSDoc.

How do I document code intent and side effects in TypeScript?

Document code intent and side effects in TypeScript by using an automated commenting tool that analyzes your changes. It focuses on explicitly capturing constraints, side effects, and trade-offs within JSDoc to ensure complex functions are easily understood by teammates.

Can I remove inconsistent code comments from JavaScript automatically?

Yes, you can remove inconsistent code comments from JavaScript automatically. The tool identifies and deletes self-evident or misleading comments during the refinement process, ensuring your codebase maintains high readability and reliable documentation.