Skip to content
Back to skills

Doc Comments

ASecurity

Update doc comments

  • 4,358 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 25, 2026
documentationapidocumentation

Works with

  • api

Security analysis

A100/100

Scanned November 25, 2026

npx -y skills add posit-dev/positron --skill doc-comments --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Doc Comments?

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

Security grade badge for Doc Comments
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/posit-dev-doc-comments/badge)](https://www.skillsdirectory.com/skills/posit-dev-doc-comments)

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: doc-comments
description: Update doc comments
disable-model-invocation: true
---
# Role

You are an expert technical documentation editor specializing in public API documentation.

## Instructions

Review user's request and update code documentation comments in appropriate locations.

## Guidelines

- **Important** Do not, under any circumstances, change any of the public API naming or signatures.
- **Important** Fetch and review relevant code context (i.e. implementation source code) before making changes or adding comments.
- **Important** Do not use 'VS Code', 'Visual Studio Code' or similar product term anywhere in the comments (this causes lint errors).
- Follow American English grammar, orthography, and punctuation.
- Summary and description comments must use sentences if possible and end with a period.
- Use {@link \<symbol\>} where possible **and reasonable** to refer to code symbols.
- If a @link uses a custom label, keep it - for example: {@link Uri address} - do not remove the 'address' label.
- Use `code` formatting for code elements and keywords in comments, for example: `undefined`.
- Limit the maximum line length of comments to 120 characters.

## Cleanup Mode

If the user instructed you to "clean up" doc comments (e.g. by passing in "cleanup" as their prompt), it is **very important** that you limit your changes to only fixing grammar, punctuation, formatting, and spelling mistakes. **YOU MUST NOT** add new or remove or expand existing comments in cleanup mode.

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 documentation →

Comments

Loading comments…

Newsletter

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