Skip to main content

Prompts

A prompt is a ready-made workflow scenario: the MCP client shows it to the user (in Claude Code — as a slash command), and the server inserts instructions and the relevant documentation sections into the conversation. Each prompt loads only the relevant sections, so it does not pull in the entire documentation.

Prompts exist only in the tool set (REFORMER_SURFACE=tools): every one of them leads through form_build. In the default surface (code-guided-dsl) the form is one program the server checks against the task, and it has no prompts — see surfaces.

PromptArgumentsWhat it does
start-here—The canonical workflow of the unified form contract and a map: which prompt, tool, resource at which step
add-featurefeature, requirements, code?Add one capability to an existing form: validation / behavior / array / wizard
to-renderercode?, target?Switch the rendering approach: renderer-react (default) or renderer-json (format 2 document)
reviewcodeA cross-package code review checklist

Creating a form from a description or a spec and detecting the project stack is the job of tools, not prompts: plan_form parses a spec (the client reads the spec file in your project), form_build builds the module, and in the default surface reformer.form with the task in execute does the same.

All prompts produce the same result for any rendering approach: a model, one schema, one createForm bundle (rules — validation and the flow of steps, behavior — behavior); the only difference is who renders the form.

If prompts are unavailable​

Not every MCP client supports prompts. The same content is available through tools and resources: get_context assembles the context for a step, plan_form drafts the intent from a spec, form_build builds the form module from the intent, and the reformer://guide resource describes the whole path. The code argument of add-feature and to-renderer is the current intent of the form; without it the agent looks at the form itself: form_build {"dir": …, "show": "intent"}. Simply ask the AI:

Create a registration form with email, password and password confirmation
How do I add validation for the phone field?
Why is my form recreated on every render?

The AI will get up-to-date documentation through the MCP server and help with the task.