skills/doc-gen/SKILL.md
Generate or update documentation for a module, file, function, or class. Produces JSDoc, docstrings, README sections, or standalone docs depending on the target. Use when the user says "document this", "add docs", "generate documentation", or "write a README for this module".
npx skillsauth add codewithbehnam/cc-docs doc-genInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Generate or update documentation for: $ARGUMENTS
Locate the target:
Read the target fully, including:
Detect the documentation format from the project:
/** */) with @param, @returns, @throws, @exampleArgs:, Returns:, Raises:, Example:// FunctionName ...)Generate documentation:
If a README does not exist for the module and the target is a directory:
README.md with: module name, one-paragraph description, installation/import, quick start example, API summary table, notes on configurationWrite all documentation in-place (inline comments/docstrings) and also create or update any separate doc files.
Report what was added or updated with a file list.
tools
macOS GUI automation CLI. Use steer to see the screen, click elements, type text, send hotkeys, scroll, drag, manage windows and apps, run OCR on Electron apps, and wait for UI conditions.
testing
Ship workflow: merge main, run tests, review diff, bump VERSION, update CHANGELOG, commit, push, create PR.
testing
Import cookies from your real browser (Comet, Chrome, Arc, Brave, Edge) into the headless browse session. Opens an interactive picker UI where you select which cookie domains to import. Use before QA testing authenticated pages.
development
Weekly engineering retrospective. Analyzes commit history, work patterns, and code quality metrics with persistent history and trend tracking. Team-aware: breaks down per-person contributions with praise and growth areas.