Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
athola avatar

Doc Generator

  • 146 installs
  • 325 repo stars
  • Updated August 2, 2026
  • athola/claude-night-market

doc-generator is an agent skill that applies human-quality documentation rules—openings, section lengths, paragraphs, and 80-char wrapping—

About

doc-generator is an agent skill module that encodes documentation generation guidelines for solo and indie builders who want agent-written docs to pass as human-quality. It lives in the writing-quality category and gives concrete rules for openings, section sizing, paragraph structure, and 80-character line wrapping so READMEs, guides, and API references stay scannable in git and on phones. Use it whenever your coding agent drafts or refreshes project documentation—not as a one-off formatter but as procedural knowledge that steers tone and structure across the journey. The skill does not invent install counts or product facts; it shapes how facts are presented. Pair it with your repo’s real commands and configs so highlights stay truthful. It matters for Prism audiences because discoverability and trust often hinge on the first page of docs, and bloated AI intros hurt both SEO snippets and developer confidence.

  • Opening-pattern rules: start with what the tool IS or DOES, not “welcome to the comprehensive guide” fluff
  • Section length targets for overview (50–100 words), features (30–60), steps (20–50), and API blocks (40–80)
  • Paragraph discipline: one idea per block, split anything beyond five sentences
  • 80-character hybrid line wrapping for readable git diffs and mobile prose
  • Anti-patterns catalog for common AI-doc openings and preambles

Doc Generator by the numbers

  • 146 all-time installs (skills.sh)
  • Ranked #569 of 1,879 Documentation skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/athola/claude-night-market --skill doc-generator

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs146
repo stars325
Security audit3 / 3 scanners passed
Last updatedAugust 2, 2026
Repositoryathola/claude-night-market

What it does

Generate READMEs, guides, and API docs that read like a human wrote them—not generic AI preamble.

Who is it for?

Best when you want coding agents to draft or rewrite READMEs, setup guides, and API sections without sounding like generic AI marketing copy.

Skip if: Skip if you already enforce a strict corp style guide in CI, or when you only need a one-line changelog with no narrative structure.

When should I use this skill?

Whenever an agent is generating or rewriting project documentation, guides, or API reference prose.

What you get

Your agent outputs tight, direct docs with consistent section sizes, one-idea paragraphs, and 80-character wrapped prose suitable for commit and publish.

  • Human-quality markdown sections with prescribed openings and lengths
  • Wrapped prose lines suitable for readable git diffs

By the numbers

  • Section length targets: overview 50–100 words, features 30–60, guide steps 20–50, API endpoints 40–80
  • Paragraph rule: 2–4 sentences per paragraph; split beyond five sentences
  • Prose wrap target: 80 characters per line with hybrid wrapping

Files

SKILL.mdMarkdownGitHub ↗

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.

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 ofUse
fallbackdefault, secondary
leverageuse
utilizeuse
facilitatehelp, enable
comprehensivethorough, 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).

Required TodoWrite Items

1. doc-generator:scope-defined - Target files and type identified 2. doc-generator:style-loaded - Style profile applied (if available) 3. doc-generator:content-drafted - Initial content created 4. doc-generator:slop-scanned - AI markers checked 5. doc-generator:quality-verified - Principles checklist passed 6. doc-generator:user-approved - Final approval received

Mode: Generation

For new documentation:

Step 1: Define Scope

## 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.

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

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:

1. Start with the essential information (state the thesis or a clear instance of it) 2. Add context only if it adds value (does it carry, instance, or bound the thesis?) 3. Use specific examples (one is proof; two is emphasis; three is filler) 4. Prefer prose over bullets 5. End when information is complete (no summary padding, no "in conclusion" restatements)

Step 4: Run Slop Detector

Skill(scribe:slop-detector)

Fix any findings before proceeding.

Step 5: Quality Gate

Verify against checklist:

Sentence-level:

  • [ ] No tier-1 slop words
  • [ ] Em dash count < 3 per 1000 words
  • [ ] Bullet ratio < 40%
  • [ ] All claims grounded with specifics
  • [ ] No formulaic openers or closers
  • [ ] Authorial perspective present
  • [ ] No emojis (unless explicitly requested)

Document-level (document-economy module):

  • [ ] Thesis stated in the lead, single and clear (2/2)
  • [ ] >80% of sentences carry, instance, bound, or repeat

the thesis (2/2)

  • [ ] Thesis echoed at least 3 times; non-thesis repetition

cut (2/2)

  • [ ] Writing time roughly proportional to (audience size ×

read frequency × per-read time)

Mode: Remediation

For cleaning up existing content:

Load: @modules/remediation-workflow.md

Step 1: Analyze Current State

# Get slop score
Skill(scribe:slop-detector) --target file.md

Step 2: Section-by-Section Approach

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]

Step 3: Preserve Intent

Never change WHAT is said, only HOW. If meaning is unclear, ask.

Step 4: Re-verify

After edits, re-run slop-detector to confirm improvement.

Docstring-Specific Rules

When editing code comments:

1. ONLY modify docstring/comment text 2. Never change surrounding code 3. Use imperative mood ("Validate input" not "Validates input") 4. Brief is better - remove filler 5. Keep Args/Returns structure if present

Module Reference

  • See modules/generation-guidelines.md for content creation patterns
  • See modules/quality-gates.md for validation criteria

Integration with Other Skills

SkillWhen to Use
slop-detectorAfter drafting, before approval
style-learnerBefore generation to load profile
sanctum:doc-updatesFor broader doc maintenance

Exit Criteria

  • Content created or remediated
  • Slop score < 1.5 (clean rating)
  • Quality gate checklist passed
  • User approval received
  • No emojis present (unless specified)

Related skills

How it compares

Use as procedural writing rules inside the agent, not as a separate doc linter or static site generator.

FAQ

Who is doc-generator for?

Developers using Claude Code, Cursor, or similar agents who ship docs alongside code and care how those docs read in git and on the web.

When should I use doc-generator?

During Build when writing READMEs and API docs; during Validate when tightening landing or scope copy; during Launch when polishing distribution pages; and anytime an agent is about to generate long-form project documentation.

Is doc-generator safe to install?

It is a local guidelines module with no shell, network, or secrets requirements by design; review the Security Audits panel on this Prism page before trusting any third-party skill package in your agent.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.