Skip to content
Back to skills

Update Docs

ASecurity

Update inline documentation for uncommitted code changes. Use after modifying code or when documentation needs sync.

  • 6 stars
  • 0 votes
  • 0 copies
  • 15 views
  • Added February 7, 2026
developmentphpgitdocumentation

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned February 12, 2026

npx -y skills add anilcancakir/claude-code-plugins --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/anilcancakir-update-docs/badge)](https://www.skillsdirectory.com/skills/anilcancakir-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: Update inline documentation for uncommitted code changes. Use after modifying code or when documentation needs sync.
context: fork
agent: doc-updater
---

# Documentation Update Task

Update documentation for all uncommitted code changes.

## Steps

1. Run `git diff --name-only` to identify modified files
2. For each code file:
   - Detect existing documentation style (see references/doc-patterns.md)
   - Find new/modified functions, classes, methods
   - Add or update documentation blocks
3. If `/docs` folder exists:
   - Check if changed code has corresponding docs
   - Update affected documentation files
   - Do NOT modify README.md, CHANGELOG.md, LICENSE
4. Report all changes made

## Reference Documents

For documentation patterns by language, read:
- `references/doc-patterns.md` - Format examples for each stack

## Documentation Style Matching

Always match the existing documentation style in the file:
- If PHPDoc exists, use PHPDoc
- If JSDoc exists, use JSDoc
- If no existing docs, detect from file extension

## Output Requirements

Return a report listing:
- Files modified
- Docblocks added/updated
- Summary counts

Files in this skill

  • SKILL.md1.1 KB
  • references/doc-patterns.md5.8 KB

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.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.