Code Documentation
Structured documentation guidance covering JSDoc, Python docstrings, JavaDoc, and inline comments for functions, classes, and modules.
- CCM score
- 39 of 100
- skills.sh installs
- 502
- GitHub stars
- 396
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers function, class, type definition, and module documentation, with a reference guide for each in the
references/directory - Includes a JSDoc quick-start example documenting parameters, return values, thrown errors, and usage examples
- Lists explicit DO and DON'T practices, such as documenting "why" rather than "what" and keeping comments current with code
- Designed for developers documenting public APIs, functions, and classes in JavaScript, TypeScript, Python, or Java
Install
$ npx -y skills add aj-geddes/useful-ai-prompts --skill code-documentation -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
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:
Details
- Repository
- github.com/aj-geddes/useful-ai-prompts
- Categories
- Technical Documentation, Code Review & Quality
- First seen
- Jun 3, 2026
Questions
What does the code-documentation skill do?
The code-documentation skill writes code documentation such as JSDoc, Python docstrings, JavaDoc, inline comments and API comments. It covers function and class documentation, type definitions and usage examples inside the code.
How do I install the code-documentation skill?
Run npx -y skills add aj-geddes/useful-ai-prompts --skill code-documentation -y in your project. Once installed, the agent can write docstrings and inline documentation when you ask it to document code.
What kind of documentation does the skill produce for JavaScript and Python?
For JavaScript and TypeScript it produces JSDoc blocks with parameters, return values, thrown errors and examples. For Python it writes docstrings, and the SKILL.md guide advises documenting the why rather than the what.
Where does code-documentation stand in the Technical Documentation category?
It is one of the skills in the Technical Documentation category on Claude Marketplaces, alongside domain-modeling, archify, writing-guidelines, design-doc-mermaid and documentation-and-adrs. It focuses on documentation written directly inside source code rather than separate design documents.
More from aj-geddes/useful-ai-prompts
All 258- Api Reference Documentation501
- Database Performance Debugging500
- Model Hyperparameter Tuning500
- Reactive Programming498
- Api Pagination496
- Container Debugging496
- Nosql Database Design494
- Uptime Monitoring494
- User Persona Creation494
- Database Indexing Strategy492
- Api Response Optimization491
- Accessibility Compliance490
- Background Job Processing490
- Git Workflow Strategy489
- Incident Response Plan488
- Web Performance Optimization488
- Zero Trust Architecture488
- Frontend State Management487
- Cross Platform Compatibility485
- File Upload Handling485
- Xss Prevention485
- Dns Management484
- Sentiment Analysis483
- Dependency Management482
Similar to Code Documentation
More Technical Documentationapi-documentationbobmatnyc/claude-mpm-skills400 installsBest-practice guide for documenting APIs and code interfaces, with per-language docstring examples.
documentationEpicenterHQ/epicenter4.8K starsStructured guidance for in-code documentation, folder READMEs, JSDoc, and code comments, favoring explanations of why over what.
code-documenterjeffallan/claude-skills6.2K installsGenerates docstrings, OpenAPI specs, JSDoc, and doc sites with validated, tested examples.
create-oo-component-documentationgithub/awesome-copilot7K installsStructured documentation generator for object-oriented components that follows architectural documentation standards.
codebase-documenterailabs-393/ai-labs-claude-skills1.5K installsBeginner-friendly documentation templates and principles for READMEs, architecture guides, code comments, and API docs.
documentation-engineerzhaono1/agent-playbook723 installsStructured guide for writing READMEs, API docs, code comments, and architecture docs with a documentation checklist.