Agent skill

The agent skill is a guide written for an AI coding agent. It teaches the agent the core concepts of Schema Engine once, then routes each task to one reference, so the agent reads what the task needs and nothing more. Every TypeScript block in it mirrors a tested file, so its code runs.

Where to read it

SourceVersion
node_modules/@schema-engine/forms/skill/SKILL.mdThe one you installed
/skill/SKILL.md on this siteThe latest version (this repository)
/skill.txt, an index of the skill's filesThe latest version (this repository)

The skill ships inside @schema-engine/forms, so it matches the installed version: point your agent at the node_modules copy for the API you have. The site copies the same folder when it builds and serves it at /skill/, so use that copy when you want the latest guide or your agent cannot read node_modules.

How it is laid out

SKILL.md is the router. It defines the core concepts (the config, the container, the runtime, issues and the formatter), names the packages and has one table that maps a task to a reference. The references assume the concepts and do not repeat them.

To doReference
Create an engine, author a config, use the container or the runtime directlyreference/forms.md
Render a form in React, or use its hooksreference/forms-react.md
Render a form in Radiant, or reach the container from an elementreference/forms-radiant.md
Write or change a field widget, and test itreference/widgets.md
Add a rule, explain a validation result, or translate messagesreference/validation-and-issues.md
Handle submit, server errors, CSRF or wizard stepsreference/submission.md
Run code on a form event, or define an actionreference/actions.md
Register elements, recipes, actions or validation rulesreference/registry.md

Use it

Tell your agent where SKILL.md is, as an instruction file in your agent's tooling or in a prompt: "Use the Schema Engine skill at node_modules/@schema-engine/forms/skill/SKILL.md." The agent reads the router first and opens a reference only for the task at hand. For the full documentation, SKILL.md points to /llms.txt and the page bodies under /docs-llm/.

The skill is part of the package, so a change to a public API changes the skill in the same commit, and a test fails when a code block and its tested file drift apart.