Skip to content

Genres

A genre describes what a document is for. slopvac detects the genre from signals in the document. Config or front matter can set it instead. A genre can set a profile and styles. It can also set category settings, rule levels and context tags. A genre can extend other genres and inherit their settings.

  • consumer: Shipped behavior and reader use. README, docs, guides.
  • reference: Exact operations and dated facts for use or verification. API docs, runbooks, procedures, safety text.
  • change-comms: Change, rationale, verification. PR and MR text, commits, release notes, migration guides.
  • internal: Requirements and decision rationale. Specifications, decision records, contributor docs.
  • informal: Immediate context. Issue comments, discussions, blogs, drafts.
  • security: Security guidance, threat models and policies. Declared, never detected.
  • ui-copy: UI strings, error messages and CLI help.
  • agent-instructions: Instructions for coding agents. Normative MUST and NEVER are allowed.
  • tutorial: Diataxis tutorial. A guided lesson that ends in something the reader built.
  • how-to: Diataxis how-to guide. Steps that solve one task for a reader who knows the basics.
  • reference-page: Diataxis reference. Neutral, complete description of the machinery.
  • explanation: Diataxis explanation. Background, reasons and trade-offs.