/superlore:superlore-authorfrom superlore
Authors and edits MDX content for a superlore knowledge base, using dual-representation components that render for humans and serialize typed data for agents.
Ships in superlore. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Once a superlore KB exists (see superlore-scaffold), this skill turns a user's intent into real content. The user describes what they want — "add a page on our deployment process", "make a Q3 roadmap", "document the auth service" — and you write MDX that is correct, well-structured, and upholds the dual-representation contract. They never have to learn MDX or the component API.
Every superlore component is dual-representation — one authored instance renders for humans and serializes to a typed knowledge face the MCP serves to agents. So you must author the data:
<Timeline items={[…]} />, <EntityCard fields={[…]} />, <DataTable rows={[…]} />,
<KeyFacts items={[…]} />, <Comparison options={[…]} rows={[…]} />.If you're about to write a Markdown table or a bulleted list of facts, reach for DataTable or
KeyFacts instead so the data survives into the knowledge face. If you're about to describe a
system, a flow, or a brainstorm visually, use a Canvas — and invoke the superlore-canvas skill,
which knows the full Canvas spec.
Don't reach for a verbose component when plain markdown says it. superlore auto-upgrades the markdown everyone already writes into the styled, dual-representation component — same knowledge face, zero props to remember:
Checklist. Write - [ ] todo / - [x] done. (Reach for <Checklist items={…}>
only for owners, groups, or refs.)> [!NOTE], > [!TIP], > [!IMPORTANT], > [!WARNING],
> [!CAUTION] → Note / Tip / Info / Warning / Danger.```superlore-canvas `` →Canvas` (the headline visual path).So: prefer the markdown form first; use the explicit component only when you need a capability the
markdown can't express (typed columns, owners, a custom title). A plain Markdown table still renders,
but DataTable is better when the rows are real data an agent should read.
Default to opening the page with (or placing inline) a Canvas that visualizes the thing — the system, the flow, the relationships, the plan. A wall of prose is the failure mode: a reader (and an agent) should grasp the shape at a glance, then read the detail beneath it. Put the Canvas at the top when it frames the whole page; place it inline next to the section it illustrates otherwise.
Invoke superlore-canvas for the spec. The bar: visualize first. Only skip the Canvas when a page is genuinely non-visual (a pure changelog, a glossary) — and then do it deliberately, not by default.
A page is MDX: a typed frontmatter block, then prose enriched with components.
---
title: Deploying Acme
icon: Rocket
description: How we ship Acme to production — environments, gates, rollback.
summary: Acme deploys via GitHub Actions to Vercel; staging auto-deploys, prod needs an approval, rollback is one click.
tags: [ops, deploy]
---
Prose connective tissue, then components.
<Steps>
<Step title="Open a PR">…</Step>
</Steps>
| Field | Required | Purpose |
|---|---|---|
title | yes | H1, nav label, and the unit of MCP get_page |
summary | no* | Plain-text gloss — powers search ranking and the first thing agents see |
tags | no | Faceting in the UI and MCP list filters |
icon | no | lucide icon name in PascalCase (e.g. Rocket, LayoutTemplate) |
description | no | Rendered under the title; falls back to summary if unset |
* Not schema-required, but always write a summary — it's the single highest-leverage field
for search and for what an agent reads first. One plain, specific line.
Anything beyond these is the KB's own — if source.config.ts extends superloreFrontmatterSchema with
custom fields, carry them; don't invent fields that aren't in the schema.
superlore moves fast, and the docs/MCP always reflect the latest release — an out-of-date install means missing components, stale props, and silent drift. At the start of an authoring task, reconcile the KB's installed version against latest:
node_modules/superlore/package.json version (or <pm> ls superlore).curl -s https://superlore.vercel.app/api/version → { "name": "superlore", "version": "x.y.z" }.
(Fallback if unreachable: npm view superlore version.)^0.14.0) locks the minor — so patch
bumps are in-pin and safe, but a minor/major bump is a deliberate, possibly-breaking change:
major.minor (e.g. 0.14.0 → 0.14.3) → trivial: just upgrade it. Run
the KB's package manager — match the lockfile (pnpm up superlore · npm i superlore@latest ·
yarn up superlore · bun update superlore) — tell the user you did, then author against latest.0.14 → 0.15; may change props/MDX) → don't silently upgrade.
Tell the user a newer version is out, point them at the release notes (/docs/releases), and offer
to do the upgrade and fix any pages it affects. Until they accept, author against the
installed version (its dist/*.d.mts is the prop source — see below).This is the same comparison the props lookup keys off: knowing installed-vs-latest tells you whether to trust the MCP or pin to the installed declarations.
apps/docs/content/docs/**; in a scaffolded KB it's the project's content/docs/**). Add the new
page to the section's meta.json so it appears in the nav.summary), then prose + components carrying
the data.| The knowledge is… | Reach for |
|---|---|
| Dated events / status over time | Timeline |
| A typed thing with fields + relations | EntityCard (makes the KB a graph) |
| Rows you'd sort or compare | DataTable (type numeric columns) / Comparison |
| Headline numbers | StatGrid |
| A few key attributes of one thing | KeyFacts |
| A sprint / sales / hiring board, a retro | Board |
| A decision with options + criteria | Decision / Comparison |
| An ordered procedure | Steps / Checklist |
| Links to related pages | CardGroup + Card |
| A caveat, tip, or warning | Callout (Note / Tip / Warning / Danger) |
| A flow, system, brainstorm, or map (visual) | Canvas → invoke the superlore-canvas skill |
Browse the full library in superlore's component docs — /docs/components/**, via the superlore-docs
MCP or the live site; each page has a live example and shows its knowledge face. For a component's
exact API, see Look up a component's props below — get it the version-safe way.
When you need a component's exact props or a real usage example, don't read the package's React
source, and never dig through ~/.claude/plugins/cache/** — that's the plugin's version line, not
the KB's, and it will drift. Use this order:
/docs/components/<name> — for the prop table, a live
example, and the knowledge face. Fastest via the superlore-docs MCP: get_page (or
search "<Component>"). In superlore's own repo it's the local file
apps/docs/content/docs/components/<name>.mdx.node_modules/superlore/package.json
version.
node_modules/superlore/dist/components/<name>.d.mts (e.g. ComparisonProps). Use the
doc page only for usage shape/examples, and don't author a prop the installed declarations lack.The binding contract is always the version the KB's build uses — props can change across releases.
Use relations (depends-on, part-of, related, links) on entities and edges so the corpus is a
graph, not a pile of pages — the MCP's navigate tool follows them. Keep headings (and thus section
ids) stable, because titles become addresses (${path}#${id}) and inbound links + navigate
targets depend on them.
summary. Prefer structural components over prose tables and screenshots.The whole-site look is a superlore.json choice, never authored per page — keep content
theme-agnostic so it works in any skin:
theme picks the visual skin: default · mint · geist · ledger · obsidian · prism · paste
(chrome, type, surfaces, radius/density). accent is one hue that drives the entire palette
(light + dark). font / logo / favicon are optional brand overrides that ride any theme.<ThemeGallery /> if the KB ships it; otherwise the /themes page.{ … } or <Tag> in proseIn MDX an unescaped { opens a JavaScript expression, so prose like ### GET /users/{id}
compiles fine but throws at render (ReferenceError: id is not defined) and can blank the page.
This is the mainline for API/SRS content. Neutralize hazards in non-code text:
`/users/{id}` (highest-value rule), or escape: \{id\}.${…} shell/template and {{ … }} mustache → fence or inline-code them.<Foo> that isn't a real superlore/HTML component → inline-code or escape (\<).Lint generated MDX before writing it and self-correct. The package ships the check:
import { findMdxProblems } from "superlore/mdx-lint"; // dependency-free; returns string[]
const problems = findMdxProblems(mdx); // e.g. ["line 3: \"{id}\" … wrap in backticks or escape as \\{."]
(The runtime also wraps each doc in an error boundary, so a missed case degrades to a fallback instead of crashing the host — but escape at author time; don't rely on the floor.)
After authoring, if the KB's MCP is connected, point an agent at it and confirm search finds the
new page and get_page returns the structure you intended (the timeline's items, the table's rows,
the canvas's nodes/edges). If the data isn't there, you wrote a picture — fix it by moving the
knowledge into a component. (To connect the MCP, use superlore-connect-mcp.)
summary on every page; structural components over prose; stable headings.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
superlore, knowledge-base, mdx, documentation, authoring, dual-representation
npx claudepluginhub krishnansg/superlore --plugin superlore7 skills in this plugin
/superlore-canvasAuthor rich, well-structured superlore Canvas diagrams — the `superlore-canvas` block in MDX that renders as a FigJam-grade interactive whiteboard AND a typed knowledge graph. Use whenever creating or editing a visual, diagram, whiteboard, board, architecture map, flow, mind-map, or brainstorm in a superlore knowledge base, or when asked to "visualize", "draw", "diagram", "map out", or "whiteboard" a concept./superlore-connect-mcpRegister a superlore knowledge base's MCP server with the user's Claude (or other MCP client) so their agent can read the corpus directly — search, get_page, list, navigate, get_component_data. Configures it at the USER level via `claude mcp add` (or the client's mcp.json). ALWAYS asks permission before modifying the user's Claude config, and ASKS for the URL / any credential / any missing detail rather than guessing. Use when someone wants to connect, add, hook up, or point their agent / Claude at a superlore KB or its MCP./superlore-deployGet a superlore knowledge base live. superlore Cloud (managed hosting, SSO, team features) is in private beta — this skill guides the user to the waitlist, and gives the full self-host / Vercel manual path so they can ship today for free. Use when someone asks to deploy, publish, host, or "put my superlore docs online", or runs into `superlore deploy`./superlore-migrateMigrate an existing docs site or a set of Markdown/MDX files (Mintlify, Docusaurus, Fumadocs, Nextra, GitBook, plain .md — any framework) into a superlore knowledge base. First produces a detailed migration PLAN authored as a superlore doc (with a Canvas of the migration) that the user reviews and comments on in the editor preview or the Viewer; on approval it converts every page to superlore MDX with dual-representation components, verifies the build + key pages with Playwright, and writes a post-migration summary doc with screenshots and per-item status. Use when someone wants to move / convert / port / migrate their docs to superlore, or says "migrate my Mintlify/Docusaurus/markdown docs to superlore"./superlore-releasePrepare best-in-class release notes for a superlore package, KB, or product — every time, the same way. Gathers what changed since the last release, classifies it (breaking / new / improved / fixed / security), writes developer-grade migration notes for breaking changes and usage notes for new features, decides whether the release is recommended to upgrade, scripts a 30–60s release reel, writes a dual-representation Release entry in the docs changelog, and cuts a GitHub Release that links back to that changelog. Use whenever someone says "cut a release", "prepare release notes", "what changed since the last version", "write the changelog entry", or "draft the GitHub release"./superlore-scaffoldStand up a new superlore knowledge base end-to-end — the "Make me a docs using superlore" flow. Greets the user, asks the few core questions with AskUserQuestion (company KB vs product docs; auth-protected vs public), runs the `superlore` CLI to scaffold, writes `superlore.json`, configures the MCP, seeds starter content, and narrates every step. Use whenever someone asks to create / scaffold / set up / start a new superlore KB, wiki, docs site, or "knowledge base for my agents", or says "make me a docs using superlore".Other plugins' skills for the same job