Skip to content
FunCoding

doc-writer

Generate README, API docs, or user guides for code and projects. Use when writing documentation, creating a README, documenting an API, or explaining how code works for others.

Star
504
Last commit
Apr 22, 2026

electron/skills/doc-writer/SKILL.md

View on GitHub

Doc Writer: Generate Documentation

Create clear, well-structured documentation for the specified code, project, or topic.

Process

Step 1: Understand the Target

  • If a file/project path is given, read the code first using Read/Glob tools
  • Identify the audience (developers, end users, API consumers)
  • Understand the scope (single function, module, full project)

Step 2: Generate Documentation

Choose the appropriate format:

For a Project (README)

  • Project name and one-line description
  • Features list
  • Quick start / installation instructions
  • Usage examples with code blocks
  • Configuration options (if any)
  • License info

For an API / Module

  • Overview of what it does
  • Function/method signatures with parameter descriptions
  • Return values and error cases
  • Usage examples for common scenarios
  • Edge cases or important notes

For a User Guide

  • Step-by-step instructions
  • Common workflows
  • FAQ / troubleshooting section

Writing Style

  • Lead with the most important information
  • Use code examples liberally — show, don't just tell
  • Keep sentences short and scannable
  • Use tables for parameter/option lists
  • Use admonitions (Note, Warning, Tip) sparingly but effectively
  • Write in the user's language (match their input language)

Similar Skills

Featured

pptx

Create and edit slide decks, generate slides from templates, and extract text.

ANanthropics/skills203k3,265 new stars in the last 7 days

Featured

docx

Create and edit Word docs with TOC, page numbers, headers and more.

ANanthropics/skills203k3,265 new stars in the last 7 days

Featured

pdf

Read and edit PDFs: extract text and tables, merge, split, rotate, and fill forms.

ANanthropics/skills203k3,265 new stars in the last 7 days

Featured

doc-coauthoring

Co-write specs, proposals and decision docs through a structured, iterative workflow.

ANanthropics/skills203k3,265 new stars in the last 7 days

Featured

xlsx

Read and edit spreadsheets: add columns, compute formulas, format, and clean messy data.

ANanthropics/skills203k3,265 new stars in the last 7 days

Featured

canvas-design

Create posters and visual art as PNG or PDF, guided by a design philosophy.

ANanthropics/skills203k3,265 new stars in the last 7 days