doc-generator
БесплатноЗапускает вложенные скриптыНе проверенGenerates or remediates documentation with human-quality writing
от athola2 071 установка в других каталогахОб этом скилле
Night Market Skill: ported from claude-night-market/scribe. For the full experience with agents, hooks, and commands, install the Claude Code plugin.
Documentation Generator
A document costs the sum of its readers' time. Earn that cost or cut.
Generate documents that are grounded in specific claims, lead with their thesis, and earn every sentence. Filler phrases like "In today's fast-paced world" and vague descriptors like "thorough" or "complete" without evidence are bloat. So is any sentence that does not carry, instance, bound, or repeat the document's one takeaway.
This skill enforces both sentence-level cleanliness (no
slop vocabulary, em dash overuse, or sycophantic openers) and
document-level economy (thesis-first, every sentence
earns weight, repetition reserved for the thesis). See
Skill(scribe:slop-detector) module document-economy.md
for the full rubric.
When NOT To Use
- Converting an external file into markdown (use
leyline:document-conversionand itsproject-importmodule) - Scanning existing prose for AI patterns (use
scribe:slop-detector)
Core Writing Principles
Use active voice and an authorial perspective. Explain the reasoning behind technical choices (why this database, not that one) rather than presenting neutral boilerplate. Use bullets sparingly for short, parallel summaries. Convert multi-line bullet waterfalls into prose so the reasoning survives.
Vocabulary and Style
Avoid business jargon and linguistic tics like mirrored sentence structures or em dash overuse. Use the imperative mood for docstrings ("Validate input", not "Validates"). Do not humanize non-living constructs ("the code wants", "the function speaks to").
| Instead of | Use |
|---|---|
| fallback | default, secondary |
| leverage | use |
| utilize | use |
| facilitate | help, enable |
| comprehensive | thorough, complete |
9. Limit Humanizing Constructs
"Lives under," "speaks to," and similar phrases only make sense for living things.
10. Imperative Mood for Docstrings
"Validate" not "Validates" (per PEP 257, pydocstyle, ruff).
11. One Term per Concept, One Home per Fact
When a concept already has a name, use the term the repository
already uses. A new synonym makes readers ask whether two things
exist. When a number, threshold or path is stated in another file,
link to the file that states it. A second copy drifts, and code left
inconsistent with its docs is measurably more bug-prone
(docs/knowledge-corpus/decoherence.md).
When a document replaces another, describe only the current state in the new one. The superseded document gets the forward pointer and its status: deleted, deprecated, or still valid for a named case. The commit message records the supersession.
Required Progress Items
doc-generator:scope-defined- Target files and type identifieddoc-generator:style-loaded- Style profile applied (if available)doc-generator:content-drafted- Initial content createddoc-generator:slop-scanned- AI markers checkeddoc-generator:quality-verified- Principles checklist passeddoc-generator:user-approved- Final approval received
Mode: Generation
For new documentation:
Step 1: Define Scope
## Generation Request
**Type**: [README/Guide/API docs/Tutorial]
**Audience tier**: [newcomer | practitioner | expert | persona: <one line>]
**Audience**: [developers/users/admins]
**Audience size**: [1 / small team / org / public]
**Read frequency**: [once / weekly / per-invocation]
**Thesis**: [one sentence the reader must walk away with]
**Length target**: [~X words or sections]
**Style profile**: [profile name or "default"]
The Thesis field is required. If you cannot state the
takeaway in one sentence, the scope is not ready. Audience
size and read frequency feed the reader-time budget (see
scribe:slop-detector module document-economy.md): a
skill loaded daily by 50 users has a wildly different
budget than a 1:1 design note.
Audience tier is required too, and when the request
omits it, ask, do not guess. A guessed reader produces
a document that reads as competent and serves nobody. The
tier table, the Socratic set for eliciting one, and the
creative-writing carve-out are in scribe:slop-detector
module audience-targeting.md.
The tier decides what survives the draft:
| Tier | Keep | Move to a deep dive |
|---|---|---|
newcomer |
The one path that works, end to end | Internals, history, alternatives considered |
practitioner |
Repo-specific facts they cannot derive | General-domain teaching |
expert |
The novel claim and its numbers | Nothing. Deep dives land here |
Step 2: Load Style (if available)
If a style profile exists:
cat .scribe/style-profile.yaml
Apply voice, vocabulary, and structural guidelines.
Step 3: Draft Content
Установить doc-generator в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл doc-generator?
Generates or remediates documentation with human-quality writing
Как установить скилл doc-generator?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл doc-generator запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
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