formspec-author

Create Formspec JSON form definitions with items, binds, and FEL expressions.

4|2|Updated Mar 26, 2026
One-click install
npx skills add https://github.com/Formspec-org/formspec --skill formspec-author
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: formspec-author
Source: https://github.com/Formspec-org/formspec/tree/main/.claude-plugin/skills/formspec-author/formspec-author
Command: npx skills add https://github.com/Formspec-org/formspec --skill formspec-author

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Formspec JSON authoring can be verbose and error-prone. This skill guides you to craft precise form definitions that drive rendering, validation, and behavior across runtimes.

Core Features & Use Cases

  • Create and structure items, including fields and groups, with required data types
  • Define FEL-based binds for calculate, relevant, constraint, and readonly behavior
  • Establish shapes for cross-field validation, repeatable sections, and option sets
  • Reuse and propagate definitions across runtimes (web, mobile, server)

Quick Start

Describe a minimal Formspec shell with an items array and a couple of binds to generate a ready-to-use definition.

Frequently Asked Questions about formspec-author

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a Formspec JSON definition for form validation and rendering?

To create a Formspec JSON definition, you provide a minimal shell with an items array and a couple of binds to generate a ready-to-use form structure that drives rendering and validation across web, mobile, and server runtimes.

What is a FEL expression and how does it control form behavior?

A FEL expression is used within Formspec binds to define and enforce specific form behaviors, allowing you to precisely calculate values, set relevance conditions, apply constraints, and make fields readonly or required.

How do I structure repeatable groups and option sets in a form definition?

You structure repeatable groups and option sets by establishing shapes within your Formspec definition, which enables cross-field validation and organizes complex form sections effectively across different runtimes.

Can I use Formspec definitions across web and mobile runtimes?

Yes, Formspec definitions are designed to be reused and propagated across multiple runtimes including web, mobile, and server environments, ensuring consistent form behavior and rendering wherever the forms are deployed.

What is the best way to define cross-field validation in Formspec?

The best way to define cross-field validation is by establishing shapes in your Formspec definition, which allows you to enforce complex validation rules across multiple fields and repeatable sections accurately.

Do I need a minimal shell to start authoring Formspec definitions?

Yes, you need a minimal shell as input to start authoring, which typically includes a basic items array and a couple of binds to generate a complete and ready-to-use Formspec JSON definition.