
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-codeInstalls 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- Api Reference Documentation499
- Database Performance Debugging499
- Reactive Programming496
- Api Pagination495
- Container Debugging494
- Nosql Database Design492
- User Persona Creation492
- Database Indexing Strategy491
- Api Response Optimization490
- Uptime Monitoring490
- Background Job Processing488
- Accessibility Compliance487
- Git Workflow Strategy487
- Web Performance Optimization487
- Zero Trust Architecture487
- Frontend State Management485
- Cross Platform Compatibility484
- Incident Response Plan484
- Dns Management483
- File Upload Handling483
- Xss Prevention482
- Dependency Management481
- Circuit Breaker Pattern480
- Batch Processing Jobs479