Help us improve
Share bugs, ideas, or general feedback.
From code-explainer
Adds inline documentation (JSDoc, docstrings, comments) to under-documented functions, methods, complex logic blocks, parameters, returns, and modules.
npx claudepluginhub rohitg00/awesome-claude-code-toolkit --plugin code-explainerHow this command is triggered — by the user, by Claude, or both
Slash command
/code-explainer:annotateFiles this command reads when invoked
The summary Claude sees in its command listing — used to decide when to auto-load this command
Add inline documentation (JSDoc, docstrings, comments) to under-documented code. ## Steps 1. Read the target file and assess current documentation level. 2. Identify what needs documentation: - Public functions and methods lacking doc comments. - Complex logic blocks without explanatory comments. - Non-obvious parameter types or return values. - Module-level overview missing. 3. Generate documentation in the appropriate format: - TypeScript/JavaScript: JSDoc with `@param`, `@returns`, `@throws`, `@example`. - Python: Google-style or NumPy-style docstrings. - Go: Godoc...
/doc-genGenerates API documentation, README sections, and inline comments from the codebase for a specified scope or key public modules.
/update-doc-stringAdds/updates docstrings and comments to classes, functions, modules in Python, JS/TS, Go, Rust files per standards like PEP 257/JSDoc. Supports --lang for multilingual, --style, --marker.
/generate-docsGenerates documentation for the current project or specified module: module overviews, function/type docs, usage examples, config details. Outputs Markdown to docs/ and inline comments.
/update-doc-stringAdds and updates multilingual docstrings/comments for classes, functions, modules in Python/JS/TS/Go/Rust files, ensuring standards compliance (PEP 257, JSDoc). Supports --lang en|fr, --style, --marker.
/update-doc-stringAdds or updates docstrings and comments in code files per language standards (PEP 257, JSDoc), using natural language instructions and options like --lang en|ja.
/update-doc-stringAdds or updates multilingual docstrings/comments to classes, functions, modules, enums, and interfaces in Python/JS/TS/Go/Rust files, following standards like PEP 257/JSDoc with optional Claude markers.
Share bugs, ideas, or general feedback.
Add inline documentation (JSDoc, docstrings, comments) to under-documented code.
@param, @returns, @throws, @example./// doc comments with examples./**
* Creates a new user account with the given credentials.
*
* @param email - The user's email address (must be unique)
* @param password - Plain text password (will be hashed)
* @returns The created user object with generated ID
* @throws {ConflictError} If a user with this email already exists
* @example
* const user = await createUser("alice@example.com", "securePass123");
*/
@example for functions with non-obvious usage patterns.