documentation-writing

Generate structured technical documentation with runnable code examples and API references.

24|6|Updated Nov 15, 2025
One-click install
npx skills add https://github.com/vinnie357/claude-skills --skill documentation-writing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: documentation-writing
Source: https://github.com/vinnie357/claude-skills/tree/main/core/skills/documentation
Command: npx skills add https://github.com/vinnie357/claude-skills --skill documentation-writing

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a comprehensive guide for writing clear, effective technical documentation, addressing common challenges in creating READMEs, API docs, user guides, and inline comments. It helps ensure that projects are well-understood, maintainable, and easy for others to use.

Core Features & Use Cases

  • Structured READMEs: Learn to craft essential README files with sections for overview, installation, usage, configuration, and contribution guidelines.
  • API Documentation Best Practices: Document functions, modules, classes, and RESTful API endpoints using language-specific tools (JSDoc, ExDoc, docstrings, rustdoc) with examples.
  • User Guides & Tutorials: Structure engaging tutorials with incremental steps, explanations of 'why', and checkpoints for effective user onboarding.
  • Use Case: When starting a new open-source project, activate this skill to generate a comprehensive README.md file, document your core API functions with clear examples, and outline a user guide for quick adoption.

Quick Start

Create a new README.md file for a project, including sections for 'Overview', 'Installation', and 'Usage'.

Frequently Asked Questions about documentation-writing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write a comprehensive README for my project?

A README should include overview, installation, usage, and configuration sections with clear examples. Structure it with a project description, prerequisites, step-by-step setup instructions, runnable code samples, and contribution guidelines to help users understand and adopt your project quickly.

What's the best way to document API endpoints and functions?

Document APIs using language-specific tools like JSDoc, docstrings, or rustdoc with function signatures, parameter descriptions, return types, and runnable examples. Include endpoint descriptions, request/response formats, and error handling to make your API discoverable and easy to integrate.

How do I structure user guides and tutorials for onboarding?

Structure tutorials with incremental steps, clear explanations of why each step matters, and checkpoints between sections. Break complex tasks into manageable chunks with examples and expected outcomes so users can follow along and verify progress at each stage.

What should I include in inline code comments and docstrings?

Code comments should explain the 'why' behind logic, not just the 'what'. Use docstrings to describe function purpose, parameters, return values, and usage examples. Keep comments concise and maintainable, avoiding redundancy with self-documenting code.

How do I create effective changelog and release notes?

Organize changelogs with sections for new features, bug fixes, breaking changes, and deprecations. Use clear language targeted at users, include version numbers and dates, and highlight migration steps for breaking changes so users understand the impact of each release.

Can I apply documentation best practices across different project types?

Yes, core principles—clear structure, examples, prerequisites, and configuration details—apply to READMEs, API docs, user guides, and architecture documents. Adapt templates to your project type while maintaining consistency in organization, terminology, and runnable code samples.