writing-documentation
БесплатноБез исполняемых скриптовНе проверенProduces concise, clear documentation by applying Elements of Style principles. Use when writing or improving any technical documentation (READMEs, guides…
от ratacat★ 60 звёзд на GitHubОб этом скилле
Writing Documentation Skill
Apply Strunk & White's Elements of Style principles to produce concise, clear technical documentation.
When to Use This Skill
Use this skill when:
- Writing new documentation (README, API docs, guides, tutorials, architecture docs)
- Improving existing documentation
- Reviewing documentation for quality
- User asks to "make this more concise" or "improve clarity"
- User mentions: documentation, docs, README, guide, tutorial, API docs
Do NOT use this skill for:
- Code comments (different context, separate skill needed)
- Marketing copy (requires persuasive voice, not neutral clarity)
- Personal blog posts (requires individual voice)
Workflows
Workflow 1: Write New Documentation
Steps:
Understand the purpose
- What is the primary goal of this documentation?
- Who is the target audience?
- What do readers need to accomplish after reading?
Load writing principles
- Read
reference/strunk-white-principles.mdto internalize core principles
- Read
Determine documentation type
- Read
reference/doc-types.mdto select appropriate type - Identify essential sections based on guidelines
- Read
Draft the documentation
- Apply Strunk & White principles while writing
Validate quality
- Run through Quality Checklist (below)
- Verify all essential information is present
- Confirm document achieves its purpose
Workflow 2: Improve Existing Documentation
Steps:
Read the current documentation
- Understand its purpose and audience
- Note specific problems (verbosity, unclear sections, missing info)
Load writing principles
- Read
reference/strunk-white-principles.md - Review
reference/examples.mdfor before/after patterns
- Read
Apply improvements
- Remove needless words
- Convert passive to active voice
- Strengthen vague statements
- Eliminate redundancy
- Improve organization if needed
Validate improvements
- Run through Quality Checklist
- Verify no information was lost
- Confirm clarity improved
Workflow 3: Review Documentation
Steps:
Load writing principles
- Read
reference/strunk-white-principles.md - Review relevant guidelines in
reference/doc-types.md
- Read
Assess against quality criteria
- Run through Quality Checklist (below)
- Note specific violations with examples
Provide feedback
- List specific issues found
- Reference violated principles
- Suggest concrete improvements
Decision Framework
When to Write vs Improve
Write new documentation when:
- No documentation exists
- Existing documentation is fundamentally wrong or outdated
- Complete restructuring needed (cheaper to rewrite)
Improve existing documentation when:
- Core structure and information are sound
- Style or clarity issues can be fixed incrementally
- Specific sections need enhancement
Choosing Documentation Type
See reference/doc-types.md for detailed guidelines. Quick reference:
- README: Project overview, quick start, primary entry point
- API Documentation: Reference for function/endpoint signatures and behavior
- Tutorial/Guide: Step-by-step learning path for accomplishing specific goals
- Architecture/Design Doc: Explain system structure, decisions, and tradeoffs
- CLI Tool Documentation: Command reference with options and examples
Prioritizing Conciseness vs Comprehensiveness
Prioritize conciseness when:
- Documentation type is reference (README, API docs, CLI docs)
- Readers need to scan quickly
- Getting started / quick start sections
Prioritize comprehensiveness when:
- Documentation type is learning-focused (tutorials, guides)
- Complex concepts require detailed explanation
- Architecture decisions need thorough justification
Balance both:
- Use concise overview sections with detailed subsections
- Link to comprehensive resources rather than embedding everything
- Apply progressive disclosure pattern
Quality Checklist
Content
- Purpose is clear
- Essential information is present
- No unnecessary information
- Correct and accurate
Writing (Core Principles)
- Active voice predominates
- Definite statements (not hedging)
- Positive form
- Specific, concrete language
- Concise (no needless words)
Structure
- Logical organization
- Clear headings
- Scannable
- Examples where helpful
Technical Documentation
- Code examples are executable
- Commands include full context
- Prerequisites are stated
- Error cases are covered
Reference Files
When to Load Each Reference
Load reference/strunk-white-principles.md:
- At the start of EVERY documentation writing/improvement task
- When reviewing documentation
**Load `reference/doc-
Установить writing-documentation в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл writing-documentation?
Produces concise, clear documentation by applying Elements of Style principles. Use when writing or improving any technical documentation (READMEs, guides, API docs, architecture docs). Not for code comments.
Как установить скилл writing-documentation?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл writing-documentation запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic