claude-code-plugin-ref…
Explain plugin, skill, command, agent, and hook mechanics used here. Use when authoring or debugging plugins. Do not use for ops; use night-market-operations.
Generates or remediates documentation with human-quality writing. Use when creating new docs, rewriting AI-generated content, or applying style profiles.
$ npx -y skills add athola/claude-night-market --skill doc-generator --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/doc-generatorContext preview
The summary Claude sees to decide when to auto-load this skill.
Generates or remediates documentation with human-quality writing. Use when creating new docs, rewriting AI-generated content, or applying style profiles.
name: doc-generator description: Generates or remediates documentation with human-quality writing. Use when creating new docs, rewriting AI-generated content, or applying style profiles. globs: "**/*.md" alwaysApply: false category: artifact-generation tags: - documentation - writing - generation - remediation - polish tools: [] complexity: medium model_hint: standard estimated_tokens: 1600 progressive_loading: true modules: - modules/generation-guidelines.md - modules/remediation-workflow.md - modules/quality-gates.md dependencies: - scribe:slop-detector
**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).
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
For 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:
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)
Skill(scribe:slop-detector)
Fix any findings before proceeding.
Verify against checklist:
Sentence-level:
Document-level (document-economy module):
the thesis (2/2)
cut (2/2)
read frequency × per-read time)
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
A plugin marketplace for Claude Code. Install only the plugins you need to run git workflows, code review, spec-driven development, and autonomous agents from inside your Claude Code session.
Explain plugin, skill, command, agent, and hook mechanics used here. Use when authoring or debugging plugins. Do not use for ops; use night-market-operations.
States load-bearing decisions, invariants, and weak points. Use when judging a design change. Do not use for gating; use night-market-change-control.
Rebuild the dev environment: uv, Python tiers, pins, traps. Use when onboarding or toolchain breaks. Do not use for daily commands; use night-market-operations.
Classify, gate, and review changes. Use when landing a PR, releasing, or amending rules. Do not use for failure triage; use night-market-debugging-playbook.
Search and record project memory (Discussions, journal, ADRs). Use before re-investigating anything. Do not use for settled battles; see failure-archaeology.
Bind loop 'done' to unfakeable gates. Use to harden egregore/herald loops or promote completion_integrity. Not for QA gates; use night-market-validation-and-qa.