Behaviour SwRS-MDOKFSTUDIO-CORE-073
The writing skill's examples render without error
When the repository is checked, the writing skill for Studio SHALL contain only examples that the preview pipeline renders without a diagnostic or an unresolved directive, and that cover the syntaxes the skill lists.
Step 2 of path 1 in StRS-MDOKFSTUDIO-CORE-006: from “The agent reads the writing skill” to “The agent writes Markdown that Studio renders”.
Scenarios 2
The situations the tests check; open one to read it.
nominalEvery example renders
Giventhe skill folder `skills/writing-for-markdown-okf-schema-studio/` with its `SKILL.md` and `references/*.md`
Wheneach `markdown` example block of those files is rendered by the preview pipeline, in a workspace where the files it names exist
Thenno render fails, no diagnostic of warning or error severity is produced, no directive is left unresolved, and every syntax family the skill lists (cards, tabs, version notes, alerts, admonitions, table of contents, math, list table, figure, Mermaid, PlantUML, Vega-Lite, README HTML, comment threads, front matter, radio choices in a plan) appears in at least one example and is rendered as its own element
boundaryShape of the skill
| Input | Outcome |
|---|---|
| the skill folder is missing or has no `SKILL.md` | the check fails |
| the front matter `name` differs from the folder name, or `description` is empty or over 1 024 characters | the check fails |
| `SKILL.md` is longer than 160 lines | the check fails (progressive disclosure goes to `references/`) |
| a link or path into the repository sources (`src/`, `test/`, `..`, an absolute path) | the check fails: the skill is self-contained |
| an example uses a directive Studio does not know | the check fails (unresolved directive warning) |