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

pragmatic-writing — скилл для Claude Code: стиль технических текстов

Скилл задаёт агенту стиль технических текстов по мотивам «The Pragmatic Programmer» и «Joel on Software». Пригодится для статей, документации и туториалов.

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

Что делает pragmatic-writing

Скилл включается, когда вы пишете технический текст: посты в блог, документацию, объяснения сложных тем для разработчиков, разборы «что мы поняли после инцидента». Агент перестаёт выдавать сухие определения и начинает с конкретного примера, а принцип выводит уже после него.

Внутри десять приёмов: конкретное раньше абстрактного, физические аналогии, разговорный регистр, юмор по делу, структура с моментом озарения, короткие абзацы, код как доказательство, врезка с принципом, мягкие предупреждения о граблях и возврат к началу в финале. Плюс чек-лист качества перед публикацией и разбор типичных ошибок технического письма. Ссылки на подробные материалы лежат в references/ рядом с SKILL.md.

Скилл работает в Claude, Codex, Cursor, GitHub Copilot, Gemini CLI и OpenCode. Ставится одной командой через npx skills add. Для GitHub Copilot путь другой — gh skill install. Стиль намеренно разговорный, с сокращениями и вопросами к читателю: если ваш редполитик требует сухого официального тона, этот скилл будет тянуть текст в другую сторону.

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

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

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

  • Напиши пост в блог про внедрение очереди задач, стиль pragmatic-writing
  • Объясни, зачем нужны миграции базы, в стиле pragmatic-writing
  • Перепиши эту документацию по стилю pragmatic-writing, начни с примера

Как установить pragmatic-writing

1Через Skills CLI (Vercel)

npx skills add robertguss/claude-code-toolkit --skill pragmatic-writing -a claude-code

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

~/.claude/skills/pragmatic-writing/SKILL.md

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

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

Вопросы о pragmatic-writing

Как установить pragmatic-writing в Claude Code?

Выполните npx skills add robertguss/claude-code-toolkit --skill pragmatic-writing -a claude-code. Файл скилла окажется по пути ~/.claude/skills/pragmatic-writing/SKILL.md.

Что делает pragmatic-writing?

Задаёт агенту стиль технического письма по мотивам Энди Ханта, Дэйва Томаса и Джоэла Спольски. Агент строит текст от конкретного примера к принципу и держит разговорный тон.

Для каких платформ подходит скилл?

Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI и OpenCode. Для Copilot команда установки другая: gh skill install robertguss/claude-code-toolkit pragmatic-writing.

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

SKILL.md · MIT
---
name: pragmatic-writing
description: This skill should be used when writing technical content in the style of Hunt/Thomas (The Pragmatic Programmer) and Joel Spolsky (Joel on Software). It applies when creating technical essays, documentation, tutorials, or explanatory content that needs to be clear, engaging, and actionable.
---

# Pragmatic Writing Skill

Writing style modeled on the masters of technical communication: Andy Hunt, Dave Thomas (The Pragmatic Programmer), and Joel Spolsky (Joel on Software). This skill transforms technical content into engaging, memorable prose.

## When to Use This Skill

This skill applies when:
- Creating technical blog posts, essays, or articles
- Writing documentation that needs personality
- Explaining complex concepts to developers
- Crafting tutorials or how-to guides
- Writing "lessons learned" or postmortem content
- Any technical writing that should be read, not just referenced

## Core Philosophy

> "The difference between 'almost right' and 'right' is the difference between the lightning bug and the lightning." — Mark Twain (quoted by Pragmatic Programmers)

Technical writing doesn't have to be dry. The best technical writers make complex ideas feel obvious, use concrete examples before abstract theory, and treat the reader as a smart colleague.

## The 10 Core Techniques

Reference the complete technique guide at [techniques.md](./references/techniques.md).

### 1. Concrete Before Abstract

**Always** start with a concrete example, then extract the principle.

```
❌ "Dependency injection is a design pattern where dependencies are passed
    to objects rather than created by them."

✅ "Imagine your class needs a database connection. You could create it
    yourself:

    def initialize
      @db = Database.new("localhost:5432")
    end

    But now your class is stuck with that exact database. What if you
    want to test with a fake one? What if production uses a different host?

    Instead, accept it as a parameter:

    def initialize(db)
      @db = db
    end

    That's dependency injection. Simple."
```

### 2. Physical Analogies

Map abstract concepts to physical experiences readers already understand.

See [examples.md](./references/examples.md) for analogy patterns:
- Software abstractions → Physical tools
- Code patterns → Architectural patterns
- System design → Everyday systems (postal service, restaurants)

### 3. Conversational Register

Write like you're explaining to a smart colleague at a whiteboard.

**Markers of conversational register:**
- Contractions (don't, won't, can't)
- Direct address (you, your)
- Questions (But what if...? Why does this matter?)
- Asides (By the way, Incidentally)
- Admissions (To be honest, I'm not sure, It depends)

### 4. Humor as Architecture

Use humor strategically, not decoratively:
- Memorable hooks ("Good code is its own best documentation")
- Tension release after complex explanations
- Self-deprecation to build rapport
- Absurdist examples to highlight bad patterns

### 5. The "Aha!" Structure

Build to moments of realization:
1. Present a familiar problem
2. Show the common (flawed) approach
3. Reveal why it fails
4. Present the insight
5. Show the better way
6. Connect back to the principle

### 6. Short Paragraphs, Varied Length

- No paragraph over 4 sentences
- Alternate between longer explanations and punchy one-liners
- Use single-sentence paragraphs for emphasis

Like this.

### 7. Code as Evidence

Code examples should:
- Be runnable (no pseudo-code unless necessary)
- Be minimal (show only what matters)
- Progress from broken to fixed
- Include comments only for non-obvious things

### 8. The Principle Box

After a concrete exploration, box the principle:

> **Tip 23: Always Design for Concurrency**
> Allow for concurrency, and you will design cleaner interfaces with fewer assumptions.

### 9. Friendly Warnings

When discussing pitfalls:
- Acknowledge you've made the mistake too
- Explain why it's tempting
- Show the consequences
- Provide the escape hatch

See [anti-patterns.md](./references/anti-patterns.md) for common technical writing mistakes.

### 10. The Callback

End by connecting back to the opening example or question. Close the loop.

## Voice Characteristics

### Sentence Patterns
- Average length: 15-20 words
- Mix of simple, compound, complex
- Questions every 3-4 paragraphs
- Direct statements for key points

### Vocabulary
**Use**: specific, concrete, everyday words
**Avoid**: jargon without explanation, buzzwords, corporate-speak

### Tone
- Confident but not arrogant
- Curious and exploratory
- Practical and results-focused
- Occasionally irreverent

## Applying the Skill

### For Blog Posts
1. Open with a problem or scenario
2. Explore the messy middle
3. Reveal the insight
4. Show the solution
5. Extract the principle
6. Callback to opening

### For Documentation
1. Start with what the reader wants to do
2. Show the simplest working example
3. Expand with options and edge cases
4. Explain the "why" after the "how"

### For Tutorials
1. State the goal clearly
2. Show the end result first
3. Build up in small, testable steps
4. Explain mistakes, not just successes

## Quality Checklist

Before publishing, verify:
- [ ] Opens with concrete example or scenario
- [ ] Physical analogy for key concepts
- [ ] Conversational tone throughout
- [ ] At least one moment of humor or levity
- [ ] Principles boxed or highlighted
- [ ] Code examples are minimal and runnable
- [ ] Paragraphs under 4 sentences
- [ ] Callbacks to opening

## References

- [techniques.md](./references/techniques.md) - Full technique guide with examples
- [examples.md](./references/examples.md) - Before/after transformations
- [anti-patterns.md](./references/anti-patterns.md) - Seven deadly sins of technical writing
- [sources.md](./references/sources.md) - Original source material

© robertguss · MIT · robertguss/claude-code-toolkit

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

Все скиллы по теме «Тексты и документация» →
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установок

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

writing-dna-discovery Скилл проводит интервью и разбирает ваши тексты, чтобы собрать документ о вашем авторском голосе для скилла-гострайтера. CX Codex +1 ★ 132звёзд репо book-research-assistant Скилл планирует и проверяет исследование для нон-фикшн книги: разбивает пробелы в фактах на вопросы, готовит промпты и выносит вердикт по каждому источнику. CX Codex +1 ★ 132звёзд репо book-idea-validator Стресс-тест концепции нон-фикшн книги против уже существующих исследований. Помогает понять, стоит ли вообще писать. CX Codex +1 ★ 132звёзд репо ebook-concept-development Разворачивает одну идею электронной книги в структурированную концепцию: читатель, трансформация, обещание, объём. Пригодится до того, как садиться за архитектуру. CX Codex +1 ★ 132звёзд репо handoff Собирает документ о состоянии работы, чтобы новая сессия агента продолжила задачу без пересказа с нуля. CX Codex +1 ★ 132звёзд репо

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

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