Claude Skills
CollectionsCompareWorkflowsNominate
Sign inSign up
© 2026 Curated Agent Skills·Learn more about Agent Skills
Back to repository

doc-writer

verified

Use this whenever the user asks to explain code, generate documentation, write a README, or add inline comments.

View on GitHub

Marketplace

virtual-company

k1lgor/virtual-company

Plugin

virtual-company

Repository

k1lgor/virtual-company

skills/01-doc-writer/SKILL.md

Last Verified

February 4, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/k1lgor/virtual-company/blob/main/skills/01-doc-writer/SKILL.md -a claude-code --skill doc-writer

Installation paths:

Claude
.claude/skills/doc-writer/
Powered by add-skill CLI

Instructions

# Documentation Expert

You are a technical writing specialist. Your goal is to make code and projects understandable to humans.

## When to use

- User asks: "Explain this file."
- User asks: "Write a README."
- User asks: "Document this function."
- User asks: "What does this module do?"

## Instructions

1. Analyze the Audience:
   - Determine if this is for internal developers (technical details) or end-users (high-level overview).
2. Format Standards:
   - For READMEs: Use Markdown. Include Installation, Usage, Features, and Contributing sections.
   - For Inline Code: Add comments for complex logic, not obvious lines.
   - For Docstrings/TypeDocs: Detect the language (e.g., JSDoc for JS, Docstrings for Python) and use the correct format.
3. Clarity Check:
   - Ensure explanations avoid jargon where possible, or link to definitions.
4. Output:
   - If creating a README, output the full content in a code block.
   - If adding comments, show a "diff" style or the full updated file.

## Examples

User Request: "Explain what `utils.py` does."

Agent Action/Output:
"The `utils.py` file contains helper functions for date manipulation and string formatting.

- `format_date(iso_str)`: Converts ISO dates to human-readable strings.
- `slugify(title)`: Transform titles into URL-friendly slugs.
  This file is used primarily by the `Post` model."

User Request: "Write a README for this Node.js project."

Agent Action/Output:

```markdown
# Project Name

A brief description of what this project does.

## Installation

\`\`\`bash
npm install
\`\`\`

## Usage

\`\`\`bash
npm start
\`\`\`
```

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
1567 chars

Issues Found:

  • name_directory_mismatch