notabene-setup
Install, configure, OR reconfigure notabene (the docs review tool) and start its review server — for a user who drives everything through the agent, on any…
What you can put in a notabene doc — the full rendering palette, so you can author or expand documentation using everything the renderer supports. Use when writing or editing docs in a notabene repo: "write the documentation for X", "add a docs page", "document this feature",
$ npx -y skills add z29k/notabene --skill notabene-authoring --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/notabene-authoringContext preview
The summary Claude sees to decide when to auto-load this skill.
What you can put in a notabene doc — the full rendering palette, so you can author or expand documentation using everything the renderer supports. Use when writing or editing docs in a notabene repo: "write the documentation for X", "add a docs page", "document this feature",
name: notabene-authoring description: >- What you can put in a notabene doc — the full rendering palette, so you can author or expand documentation using everything the renderer supports. Use when writing or editing docs in a notabene repo: "write the documentation for X", "add a docs page", "document this feature", "add a diagram / flowchart / ER diagram to the docs", "what Markdown/MDX features does notabene support", "make the docs richer". Covers CommonMark/GFM, code + syntax highlighting, Mermaid diagrams, inter-doc links, images, and the MDX-safety rules. This skill does NOT install/configure notabene (that's `notabene-setup`) or process review comments (that's `notabene`) — it's the authoring reference for the content itself.
<!-- Generated from docs/guide/authoring.md + packages/claude-plugin/overlays/notabene-authoring.md by scripts/gen-protocol.mjs — do not edit. -->
What actually renders in a notabene site, so you can write a **complete** doc with every tool available and nothing that silently degrades to plain text. Docs are plain files in the repo (Markdown/MDX), rendered by the notabene renderer (Astro + GFM + Shiki + Mermaid).
Run every CLI command shown below through the plugin forwarder — `node "${CLAUDE_PLUGIN_ROOT}/bin/nb.mjs" <cmd> --root <repo-root>` — never `npx notabene` (unscoped: not our package).
Read `format` in `notabene.config.mjs` (or run `npx -y @z29k/notabene@latest doctor --json`). It decides the pipeline:
**no MDX**. `<`, `{`, `Promise<T>`, raw HTML, GFM tables all render without a crash. Simplest.
a stray `{` or `<` outside a code fence is a build error.
Everything below works in **both** formats. The MDX-only extras (components/expressions) are called out at the end.
inline `` `code` ``, links.
footnotes (`text[^1]` … `[^1]: note`).
(`github-dark` unless the site sets its own [code theme](./customize.md), soft-wrap on). Any Shiki-supported language:
```ts export const x: number = 1;
- **Mermaid diagrams** — see the next section (the reason this palette exists). - **Inter-doc links**: link between docs with **relative `.md`/`.mdx` paths** (`[see setup](../guide/setup.md)`) — they're auto-rewritten to site routes. External/absolute/ anchor links are left as-is. - **Images**: standard Markdown `` (also good for embedding a pre-rendered SVG — see MCD below). - **Headings drive the page**: the **first `# H1`** becomes the page title (unless frontmatter `title` overrides it — see *Page metadata* below), and headings build the table of contents + anchor links. Use **one H1** per page. ## Page metadata: title, sidebar label & order (frontmatter) Optional YAML frontmatter at the very top of a page controls how it appears in the **sidebar**, **breadcrumb** and **page `<title>`** — so you don't have to encode ordering as numeric file-name prefixes: ```yaml --- title: Cartographie du réseau interne # page <title> + breadcrumb (overrides the H1) description: Plan des segments et VLANs # public builds: meta description + OpenGraph publish: false # public builds: keep this page OUT of `build --public` sidebar: label: Cartographie # sidebar text (else title, else humanized file name) order: 9 # position among siblings (ascending) ---
`sidebar.label` to keep a short sidebar entry while the H1 / `title` stays verbose.
alphabetically, after the ordered ones — and groups and pages share one ordering, so a numbered folder slots into a numbered page sequence without any file-name prefix.
collapses to the folder path) or `<folder>/readme.md`. Put the `sidebar` frontmatter there and it applies to the whole group; that page becomes the group's *Overview* entry (label localized per UI language, e.g. FR *Aperçu* — override it with `sidebar.indexLabel`).
(`notabene build --public`) — one plain sentence summarizing the page.
`llms.txt`, Markdown twin, sitemap) — the dev/review site always shows it. **Preserve this key when editing a page that carries it.** Whole spaces (`roots[].publish: false`) and sub-trees (`publish.exclude` globs in the config) scope the same way. **Don't link from a public page to private content** — the link 404s in the public artifact and the build won't warn; check the target's frontmatter (and the config's `publish.exclude` / `roots[].publish`) before adding an inter-doc link.
git author date). Set it only when git history misleads — imported or generated content; any date-parsable value.
alphabetically (unchanged). Only `title`, `description`, `publish`, `lastUpdated` and `sidebar` are interpreted — any other keys pass through untouched.
Leave notes in the margins of your repo's docs then let your AI agent apply them, resolve the threads, and journal what changed & why.
Repo: z29k/notabene
Install, configure, OR reconfigure notabene (the docs review tool) and start its review server — for a user who drives everything through the agent, on any…
notabene docs review loop: process review comments left on the docs and verify the docs. Use when the user says "address the comments", "process the doc…