К основному содержанию
скилл CX Codex

docs-as-marketing — скилл для Claude Code: что делает и как установить

Скилл помогает проектировать документацию, которая приводит разработчиков из поиска и проводит их от первого запуска до справочника API. Пригодится для пересмотра структуры docs и быстрых стартов.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add jonathimer/devmarketing-skills --skill docs-as-marketing -a claude-code
Открыть на GitHub

Что делает docs-as-marketing

docs-as-marketing предлагает строить документацию вокруг задач разработчика: разделять обучающие материалы, инструкции, справочник и объяснения. Для навигации рекомендует выделить старт, руководства, API reference и ресурсы, а на каждой странице сначала объяснить, что это и зачем нужно, затем показать использование и следующие шаги.

Отдельный блок посвящён quickstart: он должен вести к первому успешному результату, содержать предварительные требования, установку, настройку и запуск. Для API-методов скилл советует документировать авторизацию, параметры запроса, ответ и ошибки, а примеры кода проверять копированием. В качестве метрик quickstart названы время до первого успешного API-вызова, точки отсева и доля завершивших.

Перед разработкой стратегии скилл предлагает изучить developer-audience-context: какие задачи ищут разработчики и какие языки и фреймворки используют. Это зависимость процесса: без понимания аудитории рекомендации по структуре не на что опереть.

Какие задачи решает

  • разложить документацию по типам задач разработчика
  • перестроить навигацию между стартом, руководствами и API
  • сократить путь от quickstart до первого успешного вызова
  • проверить, хватает ли в описании API параметров, ответов и ошибок
  • выбрать метрики для оценки прохождения quickstart

Примеры запросов агенту

  • Перестрой документацию продукта по задачам разработчиков и предложи понятную навигацию.
  • Проверь наш quickstart: найди места, где пользователь не дойдёт до первого успешного API-вызова.
  • Составь структуру страницы API-метода с авторизацией, параметрами, ответом и ошибками.

Как установить docs-as-marketing

1Через Skills CLI (Vercel)

npx skills add jonathimer/devmarketing-skills --skill docs-as-marketing -a claude-code

2Вручную: положить файлы

~/.claude/skills/docs-as-marketing/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/docs-as-marketing/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о docs-as-marketing

Как установить docs-as-marketing в Claude Code?

Выполните npx skills add jonathimer/devmarketing-skills --skill docs-as-marketing -a claude-code. Файл скилла находится по пути ~/.claude/skills/docs-as-marketing/SKILL.md.

Что делает docs-as-marketing?

Скилл помогает улучшать структуру документации, quickstart и страницы API, чтобы они отвечали на вопросы разработчиков и вели к следующим шагам.

Что изучить перед работой с docs-as-marketing?

Скилл рекомендует сначала изучить developer-audience-context, чтобы определить задачи, технический уровень и используемые разработчиками языки и фреймворки.

Исходный текст

SKILL.md · MIT
---
name: docs-as-marketing
description: |
  Transform documentation into a powerful marketing channel that attracts, converts, and retains developers. This skill covers creating documentation that ranks in search, converts visitors into users, and accelerates adoption through exceptional information architecture and developer-focused writing.

  Trigger phrases: "documentation strategy", "docs that convert", "quickstart optimization", "API reference best practices", "developer documentation", "docs SEO", "information architecture for docs", "technical writing for marketing", "docs-led growth"
metadata:
  version: 1.0.0
---

# Documentation as Marketing

Documentation is often a developer's first meaningful interaction with your product. Great docs don't just explain—they market. They reduce friction, build trust, and turn curious visitors into active users who recommend your product to others.

## Overview

Developer documentation serves multiple marketing functions:
- **Acquisition**: Docs rank in search and attract developers actively seeking solutions
- **Activation**: Well-structured quickstarts reduce time-to-value
- **Retention**: Comprehensive references keep developers building
- **Referral**: Developers share docs they love, not marketing pages

This skill covers the intersection of technical writing and developer marketing—creating documentation that serves both education and conversion goals.

## Before You Start

Review the **developer-audience-context** skill to understand your target developers:
- What problems are they searching for solutions to?
- What's their technical sophistication level?
- What frameworks and languages do they use?
- Where do they currently look for answers?

Your documentation strategy should directly address these audience insights.

## Information Architecture That Converts

### The Four Types of Documentation

Structure your docs around the four types developers need:

| Type | Purpose | Marketing Function |
|------|---------|-------------------|
| **Tutorials** | Learning-oriented, step-by-step | Builds confidence, shows product value |
| **How-to Guides** | Task-oriented, problem-solving | Demonstrates capability breadth |
| **Reference** | Information-oriented, accurate | Proves product depth and reliability |
| **Explanation** | Understanding-oriented, conceptual | Establishes thought leadership |

### Navigation That Reduces Bounce

**Good Navigation Structure:**
```
Getting Started
├── Quickstart (< 5 min)
├── Installation
└── Core Concepts

Guides
├── Authentication
├── [Most Common Use Case]
├── [Second Most Common Use Case]
└── ...

API Reference
├── Overview
├── Authentication
├── Endpoints (alphabetical or logical grouping)
└── SDKs

Resources
├── Examples
├── Changelog
└── Support
```

**Bad Navigation Structure:**
```
Documentation
├── Chapter 1: Introduction
├── Chapter 2: Getting Started
├── Chapter 3: Advanced Topics
├── Appendix A
└── API (link to separate site)
```

### Information Hierarchy

Every documentation page should follow this hierarchy:
1. **What** is this? (1 sentence)
2. **Why** would I use it? (1-2 sentences)
3. **How** do I use it? (the bulk of the page)
4. **What's next?** (clear next steps)

## Quickstart Optimization

Your quickstart is your most important conversion page. Optimize ruthlessly.

### The 5-Minute Rule

Developers should reach a meaningful success moment within 5 minutes. If your quickstart takes longer, you're losing developers.

**Measure and optimize:**
- Time from page load to first successful API call
- Drop-off points in the quickstart flow
- Completion rate

### Quickstart Structure

```markdown
# Quickstart

Get your first [meaningful result] in under 5 minutes.

## Prerequisites
- [Specific version] of [language/tool]
- [Account/API key] (link to signup)

## Step 1: Install
[Single command, copy-paste ready]

## Step 2: Configure
[Minimal configuration, explain what each part does]

## Step 3: Run
[The payoff—show them it works]

## What You Built
[Explain what just happened and why it matters]

## Next Steps
- [Immediate next tutorial]
- [Reference docs for what they just used]
- [Community/support link]
```

### Good vs. Bad Quickstarts

**Good Quickstart:**
```markdown
# Send Your First Message

Send an SMS in under 5 minutes.

## Prerequisites
- Node.js 16 or higher
- A Twilio account ([sign up free](link))

## Install the SDK
```bash
npm install twilio
```

## Send a Message
Create `send-sms.js`:
```javascript
const twilio = require('twilio');
const client = twilio('YOUR_ACCOUNT_SID', 'YOUR_AUTH_TOKEN');

client.messages.create({
  body: 'Hello from my app!',
  to: '+15551234567',
  from: '+15559876543'
}).then(message => console.log(`Sent: ${message.sid}`));
```

Run it:
```bash
node send-sms.js
```

You should see: `Sent: SM1234...`

## What Just Happened
You authenticated with your API credentials and sent an SMS...
```

**Bad Quickstart:**
```markdown
# Getting Started

Welcome to our platform! Before we begin, let's discuss
the architecture of our messaging system...

[500 words of background]

## Installation

First, ensure you have the correct version of Node.js.
You can check this by running...

[200 words on version checking]

You'll also need to configure your environment variables.
Create a .env file and add the following variables...

[Complex configuration with 10+ variables]
```

## API Reference Best Practices

### Every Endpoint Needs

1. **One-sentence description** of what it does
2. **Authentication requirements** clearly stated
3. **Request format** with all parameters documented
4. **Response format** with example
5. **Error responses** with common causes
6. **Copy-paste example** that actually works

### Copy-Paste Code That Works

**Critical**: Example code must work when copied. Test it.

**Good Example:**
```markdown
## Create a User

Creates a new user in your organization.

### Request
```bash
curl -X POST https://api.example.com/v1/users \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "email": "[email protected]",
    "name": "Jane Developer"
  }'
```

### Response
```json
{
  "id": "usr_123abc",
  "email": "[email protected]",
  "name": "Jane Developer",
  "created_at": "2024-01-15T10:30:00Z"
}
```

### Errors
| Code | Meaning |
|------|---------|
| 400 | Invalid email format |
| 409 | Email already exists |
| 401 | Invalid or missing API key |
```

**Bad Example:**
```markdown
## POST /users

Parameters:
- email (string)
- name (string)
- org_id (string, optional)
- role (enum, optional)
- metadata (object, optional)
- ...

Returns a user object.
```

### Language-Specific Examples

Provide examples in languages your developers actually use:
- cURL (universal, always include)
- JavaScript/Node.js
- Python
- Go
- Ruby
- PHP
- Your most-used SDK languages

## Search Optimization for Docs

### Docs That Rank

Developer documentation can capture high-intent search traffic.

**Target Query Types:**
1. **Problem queries**: "how to send sms from node.js"
2. **Comparison queries**: "[your product] vs [competitor]"
3. **Integration queries**: "integrate [your product] with [popular tool]"
4. **Error queries**: "[specific error message]"

### SEO Fundamentals for Docs

**Page Titles:**
```
Good: "Send SMS with Node.js | Twilio Docs"
Bad: "Documentation - Messaging - SMS - Send"
```

**Meta Descriptions:**
```
Good: "Learn how to send SMS messages using Node.js and the
Twilio API. Includes code examples and troubleshooting tips."

Bad: "This page contains documentation for the SMS sending
functionality of our messaging product."
```

**URL Structure:**
```
Good: /docs/sms/send-messages/nodejs
Bad: /docs/section/3/page/27?lang=nodejs
```

### Internal Linking

Create a documentation web, not documentation silos:
- Link related concepts
- Link from reference to tutorials
- Link from tutorials to reference
- Cross-link between SDK docs

## Measuring Documentation Effectiveness

### Key Metrics

| Metric | What It Tells You |
|--------|------------------|
| Time on quickstart | Engagement (but also confusion) |
| Quickstart completion rate | Conversion effectiveness |
| Search → signup rate | Docs as acquisition channel |
| Support ticket deflection | Docs comprehensiveness |
| Page ratings/feedback | Content quality |
| Internal search queries | Content gaps |

### Feedback Loops

**Implement:**
- "Was this helpful?" on every page
- Internal search analytics (what are people searching for?)
- Support ticket analysis (what questions do docs fail to answer?)
- Developer interviews (what's confusing? What's missing?)

## Common Documentation Anti-Patterns

### The "Wall of Text"
**Problem**: Pages with no code, no structure, no visual breaks
**Fix**: Lead with code, use headers liberally, break up paragraphs

### The "Assumed Knowledge" Trap
**Problem**: Assuming developers know your terminology
**Fix**: Define terms on first use, link to glossary

### The "Everything Page"
**Problem**: One page trying to cover all use cases
**Fix**: Separate pages for distinct tasks, link between them

### The "Outdated Quickstart"
**Problem**: Quickstart code that no longer works
**Fix**: Automated testing of documentation code samples

### The "Hidden Prerequisites"
**Problem**: Discovering requirements mid-tutorial
**Fix**: All prerequisites at the top, with version numbers

## Tools

### Documentation Platforms
- **GitBook**: Good for smaller teams, nice defaults
- **ReadMe**: Interactive API docs, metrics built-in
- **Mintlify**: Modern, fast, good DX
- **Docusaurus**: Flexible, self-hosted, React-based
- **Notion**: Quick to set up, limited customization

### Code Sample Testing
- **Doctest**: Python code in docs
- **mdx-js**: JSX in markdown
- **Custom CI**: Run code samples as tests

### Search and Analytics
- **Algolia DocSearch**: Free for open source, powerful
- **Google Analytics**: Basic traffic metrics
- **FullStory/Hotjar**: Session recording, heatmaps
- **Internal search analytics**: What are devs searching for?

## Related Skills

- **api-onboarding**: Optimize the complete first API call experience
- **sdk-dx**: Create SDKs that make your docs simpler
- **developer-sandbox**: Interactive environments that complement docs
- **technical-content-strategy**: Broader content strategy including docs
- **developer-audience-context**: Understanding who you're writing for

© jonathimer · MIT · jonathimer/devmarketing-skills

Похожие скиллы

Все скиллы по теме «Тексты и документация» →
grill-with-docs Matt Pocock Скилл проводит жёсткое интервью по плану или дизайну и по ходу создаёт ADR и глоссарий. Подойдёт перед началом сложной разработки. 1 219 756установок skill-creator официальный anthropics Помогает создать новый скилл, доработать существующий и проверить результат через тестовые промпты и оценки. 414 180установок setup-matt-pocock-skills Matt Pocock Скилл настраивает репозиторий для инженерных скиллов Matt Pocock: задаёт трекер задач, метки триажа и расположение доменной документации. Запустите его перед первым использованием остальных скиллов. 1 052 851установок handoff Matt Pocock Собирает текущий диалог в документ передачи, чтобы другой агент продолжил работу с нужным контекстом. Нужен при смене сессии или исполнителя. 1 038 491установок triage Matt Pocock Скилл проводит issue и внешние PR через роли триажа, проверку и подготовку брифа для агента. Подойдёт мейнтейнеру, который разбирает очередь задач. 990 453установок domain-modeling Matt Pocock Скилл помогает уточнять термины проекта, вести GLOSSARY.md и фиксировать архитектурные решения в ADR. Нужен, когда модель предметной области меняется. 876 391установок

Из того же набора22

open-source-marketing Помогает продвигать open-source-проект через GitHub, сообщество и удобный для участников процесс контрибьюта. Перед работой ему нужен файл с контекстом аудитории. CX Codex +1 ★ 87звёзд репо linkedin-technical Скилл для техконтента в LinkedIn: помогает писать посты для B2B-аудитории и решать, когда LinkedIn лучше Twitter. CX Codex +1 ★ 87звёзд репо hackathon-sponsorship Помогает оценить хакатон для спонсорства, спланировать работу стенда и призы, а затем измерить отдачу. Пригодится перед мероприятием и для разбора его результатов. CX Codex +1 ★ 87звёзд репо github-presence Скилл для тех, кто хочет, чтобы проект на GitHub находили и понимали с первого экрана. Разбирает README, профиль и темы репозитория. CX Codex +1 ★ 87звёзд репо devrel-content Скилл devrel-content помогает писать материалы для разработчиков: статьи в блог, туториалы, документацию. Он задаёт порядок работы — от проверки темы до вычитки кода перед публикацией. CX Codex +1 ★ 87звёзд репо developer-seo Помогает планировать SEO-контент для разработчиков: от страниц с решениями ошибок до сравнений инструментов. Пригодится для исследования технических запросов и подготовки полезных руководств. CX Codex +1 ★ 87звёзд репо developer-sandbox Помогает спроектировать интерактивную песочницу, где разработчик пробует продукт без регистрации. Пригодится, если нужно превратить любопытного посетителя в активного пользователя. CX Codex +1 ★ 87звёзд репо developer-newsletter Скилл помогает спланировать и написать рассылку для разработчиков, а также продумать её рост и доставляемость. Пригодится для выпуска регулярных писем или настройки контентной стратегии. CX Codex +1 ★ 87звёзд репо

Спонсоры проекта

Компании, которые помогают держать аналитику открытой