Skip to content
Back to skills

Update Docs

ASecurity

Automated workflow to detect and fix missing documentation

  • 549 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added June 6, 2026
developmentbashdocumentation

Security analysis

A100/100

Scanned October 3, 2026

npx -y skills add HoangNguyen0403/agent-skills-standard --skill update-docs --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Update Docs?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Update Docs
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hoangnguyen0403-update-docs/badge)](https://www.skillsdirectory.com/skills/hoangnguyen0403-update-docs)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: update-docs
description: "Automated workflow to detect and fix missing documentation"
metadata:
  internal: true
  triggers:
    keywords:
    - update docs
    - workflow
---
# 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.

```bash
pnpm docs:scan
```

## 2. Analyze the Report

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

Example output:

```text
⚠️  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.

```bash
pnpm docs:scan
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…