Skip to content
Agentmart
Submit a tool

forms

Implements forms using React Hook Form with Zod validation.

Skill by ZevaGuillo

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/zevaguillo-forms

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Implements forms using React Hook Form with Zod validation. Use this skill when building any form, adding field validation, or connecting a form to a mutation hook.

Use cases: frontend

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Node.js package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/forms

What's inside

Skill name
forms
Description
Implements forms using React Hook Form with Zod validation. Use this skill when building any form, adding field validation, or connecting a form to a mutation hook.
License
MIT
Instructions
85 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (13)

  • SKILL.md
  • conditional.ts · rules/
  • dependent.ts · rules/
  • errors.ts · rules/
  • hook-config.ts · rules/
  • minimal-template.ts · rules/
  • mutation.ts · rules/
  • schema-skeleton.ts · rules/
  • shadcn.ts · rules/
  • form-fields.template.tsx · templates/
  • form-mutation.template.ts · templates/
  • form.schema.ts · templates/
  • use-form.template.ts · templates/

SKILL.md (first lines)

# forms — Execution Protocol

## Phase 1: Intent Detection

### IF user says:
- "create form" / "build form" / "add form"
- "form validation" / "validate fields"
- "connect form to API" / "form with mutation"
- "conditional fields" / "dependent fields"
- "form schema" / "zod schema"

→ THEN activate forms skill

### IF user asks:
- "what's the form structure?" → explain WITHOUT loading rules
- "example of form" → use minimal template from rules/minimal-template.ts

## Phase 2: Context Selection (LAZY LOAD)

### Required (ALWAYS):
- rules/schema-structure.ts (if creating/updating schema)
- rules/hook-config.ts (if configuring useForm)

### Conditional (LOAD ON DEMAND):
| User Intent | Load Rule |
|------------|-----------|
| "conditional field" | rules/conditional.ts |
| "dependent validation" | rules/dependent.ts |
| "shadcn integration" | rules/shadcn.ts |
| "error handling" | rules/errors.ts |
| "mutation integration" | rules/mutation.ts |
| "field types" | rules/fields.ts |

## Phase 3: Decision Tree

```
User Request
    │
    ├─► New form? → schema-structure.ts → use minimal-template.ts
    │
    ├─► Update existing? → hook-config.ts
    │
    ├─► Conditional field? → LOAD: conditional.ts → schema + component
    │
    ├─► Dependent validation? → LOAD: dependent.ts → refine() pattern
    │
    ├─► Connect mutation? → LOAD: mutation.ts → useMutation integration
    │
    └─► Error handling? → LOAD: errors.ts → server errors → form.setError()
```

## Phase 4: Output Generation

### DO:
- Generate ONLY requested functionality
- Use templates from rules/templates/
- Keep code minimal
- Reference external docs for context

### DON'T:
- Load unused rules
- Explain concepts proactively
- Add examples beyond request
- Include "why it matters" sections

## Quick Reference

| Pattern | Location |
|---------|----------|
| Schema skeleton | rules/schema-skeleton.ts |
| useForm config | rules/hook-config.ts |
| Shadcn wrapper | rules/shadcn.ts |
| Zod + RHF | rules/zod-rhf.ts |
| Mutation hook | rules/mutation.ts |
| Conditional | rules/conditional.ts |

## Commands

```
npx forms:init [entity]     → Generate form files
npx forms:field [type]      → Add field component
npx forms:validate [rule]    → Add validation
```

From ZevaGuillo/frontend-skills, MIT.

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Mar 30, 2026 (7 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from ZevaGuillo

Cite this page

forms skill. Agent Mart. https://agentmart.dev/skills/zevaguillo-forms (last updated 2026-10-24)