/scribe:doc-generatorfrom scribe
Generates or remediates documentation with human-quality writing. Enforces thesis-first structure, sentence-level cleanliness, and vocabulary discipline. Use when creating new docs, rewriting AI-generated content, or applying style profiles.
Ships in scribe. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
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.
leyline:document-conversion and its project-import module)scribe:slop-detector)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.
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 |
"Lives under," "speaks to," and similar phrases only make sense for living things.
"Validate" not "Validates" (per PEP 257, pydocstyle, ruff).
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.
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 receivedFor new documentation:
## 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 |
If a style profile exists:
cat .scribe/style-profile.yaml
Apply voice, vocabulary, and structural guidelines.
Lead with the thesis. The first paragraph must state the single takeaway. If a reader stops after the lead, they should still leave with the message. Echo the thesis once in the body and once at the close. Cut every other repetition.
Follow the 10 core principles above. For each section:
Run the cut test on every section against the declared
tier: keep what the reader needs before they can act, link
what they need later, extract what only a higher tier wants,
delete what no tier wants. Extraction is the verdict that
gets skipped. Content a newcomer cannot use is usually not
weak, it is answering a question they have not asked yet.
Move it to modules/<topic>.md for a skill or
docs/<topic>.md for a repo doc, and link it from
the parent's lead. Never delete to hit a tier.
uv run --with pyyaml python scripts/slop_score.py --audit <files>
Skill(scribe:slop-detector)
The script locates every finding with a file and a line,
including the low-confidence and opt-in categories the merge
gate does not score. The skill says how to rewrite each one.
Fix the findings before proceeding, and leave (low) and
(medium) hits for a person to judge.
Verify against checklist:
Sentence-level:
Document-level (document-economy module):
Audience (audience-targeting module):
For cleaning up existing content:
Load: @modules/remediation-workflow.md
# Get slop score
Skill(scribe:slop-detector) --target file.md
For large files (>200 lines), edit incrementally:
## Section: [Name] (Lines X-Y)
**Current slop score**: X.X
**Issues found**: [list]
**Proposed changes**:
1. [Change 1]
2. [Change 2]
**Before**:
> [current text]
**After**:
> [proposed text]
Proceed? [Y/n/edit]
Never change WHAT is said, only HOW. If meaning is unclear, ask.
After edits, re-run slop-detector to confirm improvement.
When editing code comments:
modules/generation-guidelines.md for content creation patternsmodules/quality-gates.md for validation criteria| Skill | When to Use |
|---|---|
| slop-detector | After drafting, before approval |
| style-learner | Before generation to load profile |
| sanctum:doc-updates | For broader doc maintenance |
modules/ or docs/
and is linked from the parent's leadWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub athola/claude-night-market --plugin scribe11 skills in this plugin
/session-replayConverts a Claude Code session JSONL file into an animated GIF terminal replay. Use when creating demos or visual evidence from past sessions./session-to-postConverts a Claude Code session into a blog post, case study, or Reddit post. Use when publishing dev blog content or community posts from real sessions./simplified-technical-englishApplies an ASD-STE100-derived register to operator and procedural text. Use when writing runbooks or steps. Do not use for docstrings, ADRs, or rationale./slop-detectorDetects AI-generated writing patterns in prose. Use when reviewing docs for slop, vague language, or identity leaks before publishing./style-learnerExtracts writing style patterns from exemplar text into a reusable profile. Use when creating a style guide or learning a specific author's voice./tech-tutorialPlans, drafts, and refines technical tutorials for developers. Use when writing step-by-step guides or getting-started walkthroughs backed by working code.Other plugins' skills for the same job