aj-geddes avatar

Code Documentation

Handles the full range of code documentation from JSDoc and Python docstrings to inline comments and API docs. You get language-specific formatting for JavaScript, TypeScript, Python, and Java, plus examples, parameter descriptions, return types, and error documentation. The best practices section is solid on documenting the "why" instead of stating obvious "what" code already shows. It won't write your code, but it'll make sure whoever reads it later, including future you, actually understands what's happening and how to use it without digging through implementation details.

skills.sh installs
500
GitHub stars
379
last updated
Aug 21, 2026

Install

$ npx -y skills add aj-geddes/useful-ai-prompts --skill code-documentation --agent claude-code

Installs into .claude/skills of the current project.

Files

Code Documentation

Table of Contents

Overview

Create clear, comprehensive code documentation using language-specific standards like JSDoc, Python docstrings, JavaDoc, and inline comments.

When to Use

  • Function and class documentation
  • JSDoc for JavaScript/TypeScript
  • Python docstrings
  • JavaDoc for Java
  • Inline code comments
  • API documentation from code
  • Type definitions
  • Usage examples in code

Quick Start

Minimal working example:

Sponsors

Details

Repository
github.com/aj-geddes/useful-ai-prompts
Categories
Backend & APIs, Documentation, AI & Agent Building, Python
First seen
Jun 3, 2026

More from aj-geddes/useful-ai-prompts

All 258
1bobmatnyc avataraxumbobmatnyc/claude-mpm-skillsAxum (Rust) web framework patterns for production APIs: routers/extractors, state, middleware, error handling, tracing, graceful shutdown, and testing500skills.sh installs
2openzeppelin avatarupgrade-solidity-contractsopenzeppelin/openzeppelin-skillsUpgrade Solidity smart contracts using OpenZeppelin proxy patterns. Use when users need to: (1) make contracts upgradeable with UUPS, Transparent, or Beacon pro500skills.sh installs
3davila7 avatarreact-devdavila7/claude-code-templatesThis skill should be used when building React components with TypeScript, typing hooks, handling events, or when React TypeScript, React 19, Server Components a498skills.sh installs
4freestylefly avatarcanghe-post-to-wechatfreestylefly/canghe-skillsPosts content to WeChat Official Account (微信公众号) via API or Chrome CDP. Supports article posting (文章) with HTML, markdown, or plain text input, and image-text p498skills.sh installs
5martinholovsky avatarrabbitmq-expertmartinholovsky/claude-skills-generatorExpert RabbitMQ administrator and developer specializing in message broker architecture, exchange patterns, clustering, high availability, and production monito498skills.sh installs
6streamlit avatardebugging-streamlitstreamlit/streamlitDebug Streamlit frontend and backend changes using make debug with hot-reload. Use when testing code changes, investigating bugs, checking UI behavior, or needi498skills.sh installs