plugins/scribe/skills/doc-generator/SKILL.md
Generates or remediates documentation with human-quality writing. Use when creating new docs, rewriting AI-generated content, or applying style profiles.
npx skillsauth add athola/claude-night-market doc-generatorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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.
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).
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**: [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.
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:
Skill(scribe:slop-detector)
Fix any findings before proceeding.
Verify against checklist:
Sentence-level:
Document-level (document-economy 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 |
research
Generate diverse solution candidates with category-spanning ideation methods and rotation. Use when stuck on a design or fighting repetitive LLM output.
tools
--- name: validate-pr description: Use when you need a diff-derived test plan for a PR: reads the diff, groups changes by area, runs targeted verifications, and proves revert-tests are genuine guards, not dead assertions. alwaysApply: false category: validation tags: - pr - validation - test-plan - diff - revert-test - evidence tools: [] usage_patterns: - diff-derived-test-plan - revert-test-quality-check - evidence-capture complexity: intermediate model_hint: standard estimated_tokens: 650
development
Contract for the project decision journal (tradeoffs and lessons-learned logs). Use when recording a decision, tradeoff, or lesson, or building a consumer hook.
development
Ramps implementation ambition a notch only after the prior increment is understood. Use when building a feature you must understand, not just ship.