Hookwright Form Builder banner
efesei efesei

Hookwright Form Builder

Testing community

Description

Claude skill that turns a plain-language form description into a Deftmind Hookwright field spec (JSON) for building forms within Deftmind Hookwright Plugin- ready to paste into the plugin, delivered as a downloadable file.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

Hookwright Form Builder — a Claude Skill

Turns a plain-language description of a form into a **Deftmind Hookwright** field specification — the JSON `label` / `button` / `fields` object the Hookwright WordPress plugin expects — and delivers it as a downloadable `.json` file.

What it does

Give it a description like:

People book our studio. I need their name, email, which room, the date, and whether they need the lighting rig if they take the big room.

It returns a downloadable `.json` file containing:

{
  "label": "Studio booking request",
  "button": "Request booking",
  "fields": "full_name | Your name | text | required\nemail | Email address | email | required\nroom | Which room | select:Studio A (large),Studio B (small),Not sure | required\nlighting | Do you need the lighting rig? | checkbox |  | if:room=Studio A (large)\nbooking_date | Preferred date | date | required"
}

That file is ready to paste straight into a Hookwright form's field-spec setting.

It follows Hookwright's field grammar exactly — types, the `required` slot, positional `if:field=value` conditions, and the plugin's limits (20 fields, 20 answers per select/radio, 80 characters per answer, no commas in an answer). Full rules are in [`SKILL.md`](./SKILL.md).

Installing

**Claude.ai** — download [`hookwright-form-builder.skill`](../../releases) from the Releases page and upload it as a custom skill.

**Claude Code / Cowork** — clone this repo (or just copy `SKILL.md`) into your project's skills directory, e.g. `.claude/skills/hookwright-form-builder/`.

**Manual** — `SKILL.md` alone works anywhere that reads Anthropic's skill format; it has no dependencies beyond Claude itself.

Usage

Once installed, just describe the form you need:

Build a Hookwright form for event registration collecting name, email, preferred seat number, and a choice of Lagos, Ibadan, or Abuja.

The skill will hand back a `.json` file — it never prints raw JSON into the chat.

See [`examp