smithery/srpabvliss

document-code

Document code with JSDoc, README, and changelog entries. Use when adding documentation to code or modules.

Installation

$ npx skills add smithery/srpabvliss --skill document-code

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery/srpabvliss.

npx skills add smithery/srpabvliss

Browse all from smithery/srpabvliss

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,624 B
  • docs SUMMARY.md 127 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

Document Code

Add documentation following project conventions.

When to Use

  • Adding JSDoc to public methods
  • Creating module README files
  • Writing changelog entries
  • Documenting complex logic

Required Context

Read before documenting:

  • contexts/conventions/documentation.md - Documentation standards
  • contexts/conventions/naming.md - Naming conventions for reference

JSDoc Guidelines

Follow conventions/documentation.md for JSDoc rules, templates, and examples.

Key points:

  • Add JSDoc to public methods, factory methods, methods that throw
  • Skip private methods, getters/setters, simple CRUD
  • Inline comments: explain "why" not "what"

Module README

For complex modules, create a README:

# {Module} Module

## Overview
Brief description of module purpose.

## Key Concepts
- Concept 1: explanation
- Concept 2: explanation

## API Endpoints
| Method | Path | Description |
|--------|------|-------------|
| POST | /resource | Create resource |

## Domain Rules
1. Rule one
2. Rule two

Changelog Entry

Follow Keep a Changelog:

## [Unreleased]

### Added
- New feature description

### Changed
- Changed behavior description

### Fixed
- Bug fix description

Checklist

  • Public methods have JSDoc
  • Factory methods document exceptions
  • Complex logic has "why" comments
  • No redundant comments
  • Changelog updated for user-facing changes