mcpbeat

Update Docs

hoangnguyen0403/update-docs

Automated workflow to detect and fix missing documentation

350 tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
536
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/HoangNguyen0403/agent-skills-standard --skill update-docs

The instruction itself

7 sections, as written by the author

Update Docs Skill

> [!IMPORTANT]

> Automated workflow to detect and fix missing documentation

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

Instructions

When the user asks to perform this workflow, execute the following steps:

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:

  • Read the code to understand its purpose.
  • Add JSDoc comments (/** ... */) above the export.
  • 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

How to use it

Copy the folder

Take hoangnguyen0403/update-docs from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.