You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 23, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Oct 23, 2026. It is now read-only.
Markdown as a first-class format — linting agent skills, and why paths do not fit prose #32
Discussed at length in office hours on 2026-08-21 as the leading candidate for the feature
that makes people switch. It also has prior art, from inside Stoplight, that was tried and
abandoned — which makes this a design problem with known failure modes rather than a blank page.
Why markdown
Agent skills are markdown with YAML front matter. They are proliferating, they are
becoming a governed artifact inside organizations, and nothing lints them.
Markdown is already inside OpenAPI. Every description is CommonMark. A markdown format
is not a single-purpose addition — it makes the existing formats lintable at a depth they are
not today.
Stoplight built a proof of concept for this and stopped. Three specific findings:
Paths do not work; node types do. Rather than JSON Path expressions, they targeted node types — heading, list — treating the parsed document as a tree of kinds rather
than a tree of addresses. That is a different targeting model from the one the format has.
The built-in functions do not survive the transition.truthy, falsy and friends are
meaningless against prose. The functions markdown wants are different in kind — a spell
checker was the example given — and they do not exist.
The reason both of those happen:"it's less of a focus on structure and more on the
contents. It is structured in a way, but generally speaking it's unstructured."
They abandoned it on (2). That is the risk to plan around.
The function set. Which built-ins carry over, which are meaningless, and what the minimum
new set is. If the answer is "a whole parallel function library," that is a real cost and
should be stated before anyone starts.
Scope split: front matter vs. body. The front matter is YAML and is essentially free —
existing rules work on it today with a parser change. The body is the hard part. These
should probably ship separately, because the cheap half delivers most of the agent-skill
value on its own.
Which flavor. CommonMark, and what happens to extensions (tables, front matter delimiters,
directives).
Activity