/markdown-okf-schema-studio:writing-for-markdown-okf-schema-studiofrom markdown-okf-schema-studio
Writes Markdown documents optimized for the Markdown OKF Schema Studio VS Code extension. Covers supported syntax: GFM, MyST admonitions, cards, grids, tabs, Mermaid, PlantUML, SVG, Vega-Lite, math, and front-matter field references.
Ships in markdown-okf-schema-studio. 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.
Read when SKILL.md points to them.
Markdown OKF Schema Studio is a VS Code extension that renders Markdown as a styled page (themes Cream, White, Dark) and lets the reader click a block to edit it. You already know CommonMark, GFM, MyST, Mermaid, PlantUML, SVG and Vega-Lite. This skill says only what the extension renders, what it does not, and how to choose. Every example here is rendered by its own pipeline in a test.
uv tool install okf-schema (commands okf-schema, okfkb,
okfreq). The extension only helps to visualise the schema (field descriptions, enum values) and
does not replace the validator.The skill only writes the documents; the reader needs the extension to see them. If it is missing,
tell the user to install it in VS Code from the
VS Code Marketplace,
with code --install-extension GaetanSemet.markdown-okf-schema-studio, or from the Extensions view.
VSCodium and Cursor install the same ID from Open VSX.
| Family | Syntax rendered |
|---|---|
| GFM | headings, tables with :-- --: alignment, task lists - [ ], footnotes [^1], alerts > [!NOTE] (also TIP, IMPORTANT, WARNING, CAUTION), autolinks, ~~strike~~ |
| Code | fenced code with a language (highlighted), {code-block} with :caption:, :linenos:, :emphasize-lines:, :name: |
| Math | $x^2$, $$ ... $$, {math} |
| Admonitions | :::{note} tip warning important danger ... with an optional title; fold with :class: dropdown or a dropdown directive; {versionadded} {versionchanged} {deprecated} |
| Layout | {card} (:header: :footer:), {grid} + {grid-item-card} (header ^^^ body +++ footer), {tab-set} + {tab-item}, {figure}, {list-table} |
| Inline | {kbd}, {ref} to a (name)= label above a heading, definition lists (Term then : text), `= this.field` shows a field of the document's own front matter (examples) |
| Diagrams | mermaid fence, plantuml fence (built in, no Java), {uml} file.puml |
| Charts | vega-lite and vega fences, JSON or YAML, inline values or a relative CSV, TSV, JSON file; own config sets sizes and colours; hover detail on Vega-Lite marks, "tooltip": null to turn it off; Vega shows its own tooltips |
| Images |  and {figure} for local PNG, JPEG, SVG files (inline SVG: see below) |
| Navigation | [TOC] or [[_TOC_]] alone on a line, or {contents} (:depth: 2, :local:) |
| README HTML | <div align>, <p align>, <img width>, <picture>, <details>, <kbd>, <sub>, <sup> |
| Choices | two or more list items in a row that start with ( ) or (x): a radio group; the reader's click moves the x in the file |
| Metadata | YAML front matter shows as a properties table (OKF, validated by OKF-Schema) |
| Review | <!-- TODO: text --> and <!-- THREAD ... --> comments show as chips |
The palette mode (Strict, GFM, MyST, Full) only chooses the buttons of the reader's editing palette. Every syntax above renders in every mode: write MyST freely, never downgrade to GFM.
svg fence (below).(x). Parallel items (phases, options,
risks): cards in a grid. One highlighted fact: a single card.[TOC] after the title only when the document has more than about six headings.title, description, status, date.A drawing that is not a flow, a sequence or a chart: write the <svg> in an svg fence, or as a
raw <svg> alone in its block (after a blank line, ending its last line). It is drawn inline in
the theme: write colours as var(--surface), var(--text), var(--accent), never hex. An <svg>
inside a sentence is dropped. Variables, what is removed and when a file is better:
references/svg.md.
```svg
<svg viewBox="0 0 160 60" width="320">
<rect x="4" y="4" width="152" height="52" rx="8" fill="var(--surface)" stroke="var(--border)"/>
<text x="80" y="36" text-anchor="middle" fill="var(--text)" font-size="14">Core</text>
</svg>
```
::::{grid} 1 1 3 3
:::{grid-item-card} Phase 1
Week 1
^^^
Parser and schema.
+++
Owner: core team
:::
:::{grid-item-card} Phase 2
Week 2
^^^
Renderer and tests.
:::
::::
:::{card} Decision
:header: Accepted 2026-10-28
:footer: Revisit after the pilot
We ship behind a flag.
:::
::::{tab-set}
:::{tab-item} Option A
Cheap, slow.
:::
:::{tab-item} Option B
Costly, fast.
:::
::::
```mermaid
flowchart LR
Source --> Parse --> Render --> Preview
```
```vega-lite
data:
values:
- {phase: Parser, days: 3}
- {phase: Renderer, days: 5}
mark: bar
encoding:
x: {field: phase, type: nominal}
y: {field: days, type: quantitative}
```
More copy-ready examples (a plan with choices, alerts, admonitions, version notes, TOC, math, list table, PlantUML, front matter, review comments, README HTML): references/examples.md.
<svg> inside a sentence, <script>, <style>, <iframe>, forms, event handlers.https:// images, chart data, fonts or PlantUML !include URLs.
Download the file next to the document; data: URIs work.!include <C4/...>).[[toc]] (use [TOC]), emoji shortcodes such as :smile:. An unknown directive shows as a warning box: write
only the names above.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
markdown, documentation, vs-code-extension, okf-schema, myst-markdown
Other plugins' skills for the same job
npx claudepluginhub gsemet/markdown-okf-schema-studio --plugin markdown-okf-schema-studio