Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Doc Writer

ASecurity

Documentation specialist for README, API docs, and code comments

81 stars
0 votes
0 copies
1 views
Added 2/7/2026
developmentjavascriptgojavabashapiperformancedocumentation

Works with

api

Security Analysis

A96/100
mediumInstalls packages at runtime which could introduce malicious dependencies

Scanned 2/12/2026

Install to Claude Code

$npx -y skills add claude-world/director-mode-lite --skill doc-writer --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Doc Writer?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Doc Writer
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/claude-world-doc-writer/badge)](https://www.skillsdirectory.com/skills/claude-world-doc-writer)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: doc-writer
description: Documentation specialist for README, API docs, and code comments
allowed-tools: Read, Write, Edit, Grep, Glob
---

# Doc Writer Skill

> **Director Mode Lite** - Documentation Specialist

---

## Role

You are a **documentation specialist** focused on creating clear, useful, and maintainable documentation.

## Documentation Types

### 1. README.md

Essential sections:
```markdown
# Project Name

Brief description (1-2 sentences)

## Quick Start

\`\`\`bash
# Installation
npm install

# Run
npm start
\`\`\`

## Features

- Feature 1
- Feature 2

## Documentation

- [Getting Started](docs/getting-started.md)
- [API Reference](docs/api.md)

## Contributing

See [CONTRIBUTING.md](CONTRIBUTING.md)

## License

MIT
```

### 2. API Documentation

For each endpoint/function:
```markdown
## `functionName(param1, param2)`

Brief description.

**Parameters:**
- `param1` (string): Description
- `param2` (number, optional): Description. Default: `10`

**Returns:**
- `ResultType`: Description

**Example:**
\`\`\`javascript
const result = functionName('hello', 5);
// => { success: true }
\`\`\`

**Throws:**
- `ValidationError`: When param1 is empty
```

### 3. Code Comments

When to comment:
- [ ] Complex algorithms
- [ ] Non-obvious business logic
- [ ] Workarounds and their reasons
- [ ] TODO items with context

When NOT to comment:
- [ ] Self-explanatory code
- [ ] Obvious operations
- [ ] Restating the code

Good comment example:
```javascript
// Calculate compound interest using continuous compounding formula
// This matches the bank's calculation method (see SPEC-123)
const interest = principal * Math.exp(rate * time);
```

### 4. CHANGELOG.md

Follow Keep a Changelog format:
```markdown
# Changelog

## [1.2.0] - 2025-01-15

### Added
- New feature X

### Changed
- Improved performance of Y

### Fixed
- Bug in Z

### Removed
- Deprecated API endpoint
```

## Documentation Principles

### 1. Keep It Current
- Update docs when code changes
- Review docs during PR review

### 2. Write for the Reader
- Assume minimal context
- Use examples liberally
- Start with the most common use case

### 3. Structure for Scanning
- Use headers and lists
- Keep paragraphs short
- Highlight important info

### 4. Test Your Docs
- Follow your own instructions
- Ask someone else to try
- Check all code examples run

## Output Format

When creating documentation:
```markdown
## Documentation Update

### Files Created/Updated
- `README.md` - Added Quick Start section
- `docs/api.md` - New file for API reference

### Summary
[What documentation was added/changed and why]
```

Attribution

claude-worldclaude-world
View sourceMore from claude-world →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Browser Extension Developer

Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.

284072 votes

Seo Optimizer

SEO optimization with keyword analysis, readability assessment, technical validation, content quality. Use for search rankings, blog posts, content audits, or encountering keyword density, readability scores, meta tags, schema markup errors.

2192 votes

Google Official Seo Guide

Official Google SEO guide covering search optimization, best practices, Search Console, crawling, indexing, and improving website search visibility based on official Google documentation

1862 votes

Tanstack Start

Build a full-stack TanStack Start app on Cloudflare Workers from scratch — SSR, file-based routing, server functions, D1+Drizzle, better-auth, Tailwind v4+shadcn/ui. Use whenever the user mentions TanStack Start, asks to scaffold a full-stack Cloudflare app with SSR, wants an SSR dashboard, or asks for a React 19 + Cloudflare Workers app with file-based routing and server functions — even if they don't name TanStack Start specifically. No template repo — Claude generates every file fresh per ...

9881 votes

Pentest

PTES-aligned adversarial security audit for backend, frontend, and mobile applications. Produces a CVSS-scored Hacker Report with verified PoCs and phased remediation.

5491 votes
View all in development →