npx claudepluginhub theohbkim/plugins-for-claude --plugin documentfile-path# Document command ## Target Code Determine the target code to document: 1. **If file path provided**: Document the code in @$ARGUMENTS 2. **If no arguments but IDE selection exists**: Document the selected code 3. **If neither**: Ask the user to provide a file path or select code in the IDE ## Documentation Requirements For each function and class found, add documentation that includes: ### Functions - Clear description of what the function does - All parameters with their types and descriptions - Return value type and description - Usage examples where the logic is complex or non-o...
/annotateAdds inline documentation (JSDoc, docstrings, comments) to under-documented functions, methods, complex logic blocks, parameters, returns, and modules.
/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.
/update-doc-stringAdds or updates docstrings/comments for classes, functions, modules, enums, and interfaces in Python, JS/TS, Go, Rust files per standards (PEP 257, JSDoc, etc.). Uses --lang for en/zh-tw, --style, --marker options.
/update-doc-stringAdds or updates docstrings/comments for classes, functions, modules in Python, JS/TS, Go, Rust files using language standards like PEP 257 and JSDoc. Supports --lang en|zh-cn, --style, --marker options.
/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.
Share bugs, ideas, or general feedback.
Determine the target code to document:
For each function and class found, add documentation that includes:
Use docstrings following the project's existing style. If no existing style is detected, prefer Google-style docstrings:
def function_name(param1: str, param2: int) -> bool:
"""Short description of function.
Longer description if needed.
Args:
param1: Description of param1.
param2: Description of param2.
Returns:
Description of return value.
Raises:
ValueError: When invalid input is provided.
"""
Use JSDoc comments following the project's existing style:
/**
* Short description of function.
*
* Longer description if needed.
*
* @param param1 - Description of param1
* @param param2 - Description of param2
* @returns Description of return value
* @throws {Error} When invalid input is provided
*
* @example
* ```typescript
* const result = functionName('foo', 42);
* ```
*/