Skip to content
Development
Command

/update-docs

Automated workflow to detect and fix missing documentation

From plugin
agent-skills-standard
57033 skills21 agents33 commands1 MCP
Install
$ npx -y skills add hoangnguyen0403/agent-skills-standard --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/update-docs

Context preview

What this command does when you run it.

Automated workflow to detect and fix missing documentation

Command definition

update-docs.md

Update Docs

Automated workflow to detect and fix missing documentation

**Input:** $ARGUMENTS

Optional args: slug=<feature>, ticket=<id/url>, mode=interactive|autonomous|channel, channel=<id>, auto_continue=true|false, profile=business|hybrid|technical.

Instructions

Execute the following steps for **$ARGUMENTS**.

Documentation Update Workflow

This workflow helps you identify and fix missing documentation in the codebase.

1. Run the Documentation Scanner

The `scan-docs.ts` script identifies exported members that lack JSDoc comments.

pnpm docs:scan

2. Analyze the Report

The script will output a list of files and members missing documentation.

Example output:

⚠️  Found undocumented members:
📄 src/services/MyService.ts
   - class MyService
   - function doSomething

3. Generate Documentation

For each missing item:

1. **Read the code** to understand its purpose. 2. **Add JSDoc comments** (`/** ... */`) above the export. 3. **Include**:

  • Description of what it does.
  • `@param` tags for arguments.
  • `@returns` tag for return value.

4. Verify

Run the scanner again to ensure no items remain.

pnpm docs:scan
Ships withagent-skills-standard

The portable SDLC standards layer for AI coding agents. Sync once, then work in your own runtime.

Get the whole plugin

Other commands on agent-skills-standard.