For Mintlify product knowledge (components, configuration, writing standards),
install the Mintlify skill: npx skills add https://mintlify.com/docs
Documentation project instructions
About this project
- This is a documentation site built on Mintlify
- Pages are MDX files with YAML frontmatter
- Configuration lives in
docs.json - Run
mint broken-linksto check links - The bot itself is ESM + TypeScript (
node --import tsx index.ts). Handler discovery uses#load-module— see Module loading and discovery.
Terminology
Style preferences
- Use active voice and second person (“you”)
- Keep sentences concise — one idea per sentence
- Use sentence case for headings
- Bold for UI elements: Click Settings
- Code formatting for file names, commands, paths, and code references
- Prefer
states.ts/ ESMexport constwording over legacystates.js/module.exportsunless documenting history - Prefer typed boundaries (
Tables<>, discord.js types) overany— see TypeScript and any strictNullChecksis on in maintsconfig.json(Wave C complete);npm run typecheckmust stay green@typescript-eslint/no-explicit-anyis an error (Wave D); intentional bags live undertypes/db/. CI runstypecheck+lint- Optional typing polish: Waves F1–F8, G, H, I, J, K, L, M, N, O, P, Q, and R complete — see TypeScript and any. Prefer
*Doc/Tables<>on new repo getters; shop entities use*Docondata+ annotated wrapper returns; keep global bags (LooseBag/DocBag) loose - New handler state: put domain bags on
this.data.<key>(not top-levelthis.ticket/this.poll). Leavethis.virtualfor CustomForm bookkeeping. Modal entities store instance fields onthis.data; external readers useentity.data.<field>
