AI
An agent should write a Markdown code block, not a screenshot. MarkVis draws the chart from that block. No one has to fix the text by hand.
Fetch this
https://markvis.js.org/llms.txtFetch /llms.txt. Emit only the fields that file lists. Do not invent keys. Do not add a seventh type. Do not emit a PNG or JSON as the default data body.
Skill (optional, same language): skills/markvis/SKILL.md
What to emit
A fenced code block tagged chart / markvis / vis — one language. Types: bar line area scatter pie hist.
Order inside the block:
- Optional
markvis: 2 - One
key: valueper line (typerequired;titlethemeunitxyseriesas listed in/llms.txt) - Blank line
- Comma-separated rows, or one Markdown table — not JSON
Prefer
- A table of numbers (CSV or a Markdown table)
- Keep row order; do not force pie slices to 100
- On error: table plus one line with the stable error code
Avoid
- A flowchart tool for spreadsheet numbers
- A seventh chart type
- Silent sort of the categories
- Fields not listed in
/llms.txt
Eval pairs: examples/prompts.md in the repo.