Agent skill

Form Strategy

by rampstackco in rampstackco/claude-skills

Design forms that convert, validate well, resist spam, and integrate cleanly with downstream systems.

MITAuto-check passedFrontend & Design

Install Form Strategy

skills CLI
$ npx skills add rampstackco/claude-skills --skill form-strategy -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install rampstackco/claude-skills form-strategy --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/rampstackco/claude-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/form-strategy .claude/skills/form-strategy && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
form-strategy
GitHub stars
935
Token cost
~2.9k tokens
SKILL.md length
1,497 words
Files
3 (incl. references)
Skills in repo
103
Repo updated
First seen
Licence
MIT

At a glance

Design forms that convert, validate well, resist spam, and integrate cleanly with downstream systems.

  • Works in 8 steps: Audit current state → Define success per form → Cut fields ruthlessly → …
  • Auditing any form (contact
  • SKILL.md covers When to use, When NOT to use, Required inputs and The framework: 5 dimensions, plus 5 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Form Strategy is an agent skill from rampstackco/claude-skills. Design forms that convert, validate well, resist spam, and integrate cleanly with downstream systems. Use this skill when designing or auditing any form (contact, signup, checkout, multi-step, embedded), planning validation logic, fighting spam, choosing form tooling, or improving form conversion. Triggers on form design, form validation, form conversion, multi-step form, form spam, captcha, honeypot, form abandonment, signup form, contact form. Also triggers when form completion rates are low or spam is…

Its SKILL.md is about 2.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `README.md` and `references/form-anatomy-checklist.md`).

It sits in Frontend & Design, covering Forms and validation. The repository describes itself as: Stack-agnostic Claude Skills covering the full website lifecycle: brand, design, content, SEO, dev, ops, growth, and research. Build, ship, audit, optimize. The licence is MIT.

When your agent uses it

  • Auditing any form (contact
  • Planning validation logic
  • Choosing form tooling
  • Improving form conversion

Example prompts

  • “/form-strategy”

Workflow steps

8 steps, taken from the step headings in SKILL.md.

  1. Audit current state
  2. Define success per form
  3. Cut fields ruthlessly
  4. Set up spam defense
  5. Improve validation
  6. Verify accessibility
  7. Test downstream
  8. Monitor

What it can do on your machine

Read from SKILL.md and the folder at commit 482c9bf. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Form Strategy loads about 2.9k tokens when it runs, and up to ~5.1k if it reads all its reference files. Until then it costs about 134 tokens; SKILL.md has 1,497 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~134
When it runs · the whole SKILL.md, loaded when a task matches
~2.9k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~5.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from rampstackco/claude-skills at commit 482c9bf, republished under its MIT licence (© rampstackco). 1,497 words, ~2,861 tokens.

Download SKILL.mdSave it as .claude/skills/form-strategy/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
form-strategy
description
Design forms that convert, validate well, resist spam, and integrate cleanly with downstream systems. Use this skill when designing or auditing any form (contact, signup, checkout, multi-step, embedded), planning validation logic, fighting spam, choosing form tooling, or improving form conversion. Triggers on form design, form validation, form conversion, multi-step form, form spam, captcha, honeypot, form abandonment, signup form, contact form. Also triggers when form completion rates are low or spam is overwhelming.
category
cross-cutting
catalog_summary
Form design, validation patterns, spam prevention, conversion tuning
display_order
1

Form Strategy

Forms are where intent becomes action. Design them well or lose conversions, frustrate users, and drown in spam. Stack-agnostic.


When to use

  • Designing or redesigning a form
  • Conversion is dropping on a key form
  • Spam volume is overwhelming the inbox or database
  • Auditing forms across a site
  • Planning validation logic
  • Choosing form tooling (form service, custom build, no-code)
  • Integrating forms with CRM, email, or other downstream systems
  • Multi-step form decisions

When NOT to use

  • Generic conversion optimization (use cro-optimization)
  • The copy on the form (use landing-page-copy)
  • Backend handling beyond form-specific concerns (use frontend-component-build, code-review-web)
  • General accessibility (use accessibility-audit)

Required inputs

  • The form's purpose (what action, what outcome)
  • Current form (URL, screenshot, or fields)
  • Current performance (completion rate, spam rate, conversion to next step)
  • Downstream system (where submissions go: CRM, email, database, support tool)
  • Business context (volume, urgency of leads, cost of false vs missed signups)

The framework: 5 dimensions

Every form decision falls into one of these dimensions.

Dimension 1: Field strategy

The biggest lever. Every additional field reduces conversion.

Questions to ask for each field:

  • Is this required to deliver value to the user?
  • Is this required to deliver value to the business?
  • Can it be inferred from another source (email domain, behavior, context)?
  • Can it be asked later (after first contact, on second visit, on settings page)?

Default rule: ask for the minimum to make the next step happen. Everything else later.

For a B2B contact form: name and email get you started. Phone, company size, role are nice-to-haves that often hurt conversion more than they help qualification.

For a checkout: country, postal code, address, name, payment. Anything else (referral source, marketing opt-in, account creation) is optional or moved to post-purchase.

Dimension 2: Field design

How each field looks and behaves.

  • Labels above inputs beat placeholders. Placeholder labels disappear when typing.
  • Inline labels (floating labels) work for very compact forms.
  • Single column for almost every form. Eyes flow vertically.
  • Logical grouping with visible spacing. Don't put unrelated fields next to each other.
  • Right input type: email for emails, tel for phone, number for numbers, date for dates. Mobile keyboards adapt.
  • Autocomplete attributes: autocomplete="email", autocomplete="given-name", etc. Browsers and password managers fill them in.
  • Sensible defaults for fields where one applies (country pre-selected by IP, etc.). Don't default to anything that would mislead if wrong.
Dimension 3: Validation

Tell users what's wrong, when, and how to fix it.

  • Validate on blur, not on every keystroke. Inline errors that appear as someone types are jarring.
  • Re-validate on submit (catch fields the user skipped).
  • Specific messages: "Email must include @" beats "Invalid email."
  • Position errors next to the field they refer to.
  • Don't submit a form when there are errors. Highlight the first errored field. Scroll to it.
  • Validate server-side too. Client validation is UX. Server validation is correctness.

For format-flexible fields (phone numbers, postal codes), validate liberally. Reject only what's clearly wrong, not what's "non-standard." Many phone formats exist.

Dimension 4: Spam defense

Public forms attract spam. Plan for it from day one.

Layered defense:

  1. Honeypot field. A hidden field that humans don't fill in but bots do. If it's filled, reject silently. Free, low-friction, surprisingly effective for low-effort spam.
  2. Time-based detection. Reject submissions completed in under 2-3 seconds (bots) or after very long delays (suspicious sessions).
  3. Rate limiting. Reject if the same IP submits too many times.
  4. CAPTCHA as a last resort. Modern invisible CAPTCHAs (hCaptcha, reCAPTCHA v3, Turnstile) are low-friction. Old image CAPTCHAs are conversion-killers.
  5. Behavioral signals. Did the cursor move? Was there scroll? Modern services track this.
  6. Content filtering. Reject obvious spam content (links, foreign-language content if your audience is local, common spam words).
  7. Server-side review. A queue rather than direct delivery to inboxes for high-spam-target forms.

For most contact forms: honeypot + time check + Turnstile (or similar) is sufficient.

Dimension 5: Submission flow

What happens after submit.

  • Inline success message for short forms. Don't redirect just to confirm.
  • Confirmation page for high-value submissions (to provide next steps, set expectations).
  • Email confirmation for signups, purchases, RSVPs. Always.
  • Save data on errors so the user doesn't re-enter everything.
  • Optimistic UI (show success before the server confirms) for low-stakes forms; risky for high-stakes.

For multi-step forms:

  • Show progress (3 of 5)
  • Save state between steps (in case of refresh or navigation)
  • Allow back navigation without losing data
  • Validate per step, not just at the end

Workflow

Step 1: Audit current state

For each form on the site:

  • What's its purpose?
  • Number of fields, required vs optional
  • Current completion rate
  • Current spam rate
  • Validation rules
  • What happens after submit
  • Where the data goes downstream
Step 2: Define success per form

Different forms have different success metrics:

  • Lead form: qualified leads (defined by sales)
  • Newsletter: confirmed subscriptions (after double opt-in)
  • Contact: substantive replies (not just submissions)
  • Checkout: successful payments

Track the metric that matters, not just submissions.

Step 3: Cut fields ruthlessly

Apply the field strategy filter. For each field, answer:

  • Required to deliver value? Keep.
  • Nice to have? Move to optional or later.
  • Used for routing or qualification? Often can be inferred.

A 7-field form becomes a 3-field form. Conversion rises.

Step 4: Set up spam defense

Before launching a public form:

  • Add a honeypot field
  • Add time-based detection
  • Add rate limiting
  • Add a modern CAPTCHA if the form is high-traffic or high-spam

After launch, monitor. Tune layers based on what's actually getting through.

Show full SKILL.md (597 more words)Show less
Step 5: Improve validation

Walk through each field:

  • Is validation specific?
  • Does it run at the right time (blur or submit, not on keystroke)?
  • Are error messages actionable?
  • Is server-side validation matching client-side?
Step 6: Verify accessibility

Critical baseline:

  • Every input has an associated label (visually visible or aria-label)
  • Errors are associated with inputs (aria-describedby, aria-invalid)
  • Focus order matches visual order
  • Color isn't the only way to indicate errors
  • Form is fully keyboard-navigable

See accessibility-audit for the full WCAG audit.

Step 7: Test downstream

Submit the form. Verify:

  • Data lands where it should
  • Required fields are populated correctly
  • Spam defenses are working (test with a script)
  • The user gets the confirmation they expect
  • Internal notification is timely

Forms break silently when downstream systems change. Test after any integration update.

Step 8: Monitor
  • Completion rate over time
  • Spam rate over time
  • Errors per submission (high errors = bad UX)
  • Drop-off field (where do people abandon?)

Failure patterns

Too many fields. Most B2B contact forms have 3x more fields than they need. Cut.

Validation that fires while typing. Annoying. Causes errors before the user has finished.

Generic error messages. "Invalid input." Where? Why? Be specific.

Required fields not marked. Users discover they're required only after submission fails. Mark required (or, for short forms, mark optional).

Autocomplete disabled. "For security." It's almost never a security improvement and always a UX cost. Leave autocomplete on.

Tab order is broken. Tab key skips fields or jumps backward. Set tabindex only when necessary; use natural DOM order.

Submit button below the fold. Especially on mobile. Users don't see it.

No save on error. User submits, has one error, returns to the form, all fields empty. Nightmare. Save the state.

Captcha as the only spam defense. Captchas are friction. Layered defense beats brute-force friction.

Captcha visible by default. Modern CAPTCHAs (Turnstile, reCAPTCHA v3) are invisible most of the time and only escalate when needed. Use those.

Newsletter signup that's actually a marketing list. Honor opt-in scope. If the user signed up for product updates, don't add them to the marketing newsletter.

Confirmation page that's a dead end. "Thanks for submitting" with no next step. What now? Provide an action (read related content, return to homepage, follow on social).

No double opt-in for marketing email. Bots and typos pollute the list. See email-deliverability for why this matters.

Email field accepting name@ as valid. Browser spec validation is loose. Validate against an actual format.

Custom date pickers worse than native. The native <input type="date"> is now good on most platforms. Don't reinvent unless you have a specific reason.

Forms that lose state on refresh. For long forms, save to localStorage and restore on load.


Output format

A form audit document includes:

  • Form inventory: every form on the site
  • Per-form review: purpose, fields, performance
  • Recommendations: field cuts, validation improvements, spam defense, design changes
  • Spam defense plan: layers per form
  • Accessibility status: WCAG compliance per form
  • Downstream integration map: where each form's data goes
  • Monitoring plan: what's tracked

If required data is unavailable

This skill's output depends on data, measurements, or tool results it cannot generate on its own. When a required input, tool, or data source is unavailable or unverifiable, the sanctioned output is the deliverable with the gap stated: what was needed, what was actually obtained or verified, and which parts of the output are affected. Fabricating, estimating, or interpolating a required number to complete the deliverable is never sanctioned. A stated gap is a complete answer.


Reference files

  • references/form-anatomy-checklist.md: A field-by-field, behavior-by-behavior checklist for auditing or designing a form, covering structure, accessibility, validation, and spam defense.

© rampstackco, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (references) in skills/form-strategy of rampstackco/claude-skills.

  • SKILL.md
  • README.md
  • references/form-anatomy-checklist.md

Open the folder on GitHubat commit 482c9bf

Compare with similar skills

Form Strategy next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Form Strategy compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Form Strategy this skillrampstackco/claude-skills935—~2.9kAutomated safety check: PassMIT
MCP Developmentcoollabsio/coolify63k1 repos~949Automated safety check: PassMIT
Accessibility Fixeribelick/ui-skills9.4k4 repos~1.2kAutomated safety check: PassMIT
Formik Form PatternsChrisWiles/claude-code-showcase6.1k3 repos~2.1kAutomated safety check: PassNone
Buefy Vue UI Componentsbuefy/buefy9.5k—~8.2kAutomated safety check: PassMIT
Formkitformkit/formkit4.8k—~1.7kAutomated safety check: PassMIT

Similar skills

  • MCP Development

    coollabsio/coolify

    A skill your agent uses for Laravel MCP development. An agent skill from coollabsio/coolify.

    63k GitHub starsUsed in 1 repo~949 tokens
    Frontend & DesignAuto-check passed
  • Accessibility Fixer

    ibelick/ui-skills

    Audits and fixes HTML accessibility problems such as ARIA labels, keyboard navigation, focus management, contrast and form errors with minimal changes.

    9.4k GitHub starsUsed in 4 repos~1.2k tokens
    Frontend & DesignAuto-check passed
  • Formik Form Patterns

    ChrisWiles/claude-code-showcase

    Shows how to build forms with Formik and Yup validation, including conditional rules, field helpers, GraphQL submission, edit forms and multi-step flows.

    6.1k GitHub starsUsed in 3 repos~2.1k tokens
    Frontend & DesignAuto-check passed
  • Rules for writing Vue 3 templates with Buefy components on Bulma CSS: install options, prop conventions, b-field wrapping, tables, theming and dialogs.

    9.5k GitHub stars~8.2k tokensUpdated 29 days ago
    Frontend & DesignAuto-check passed
  • Formkit

    formkit/formkit

    A skill your agent uses when working with FormKit forms, validation, schema, or custom inputs in React, Vue, or Nuxt projects.

    4.8k GitHub stars~1.7k tokensUpdated 2 mo ago
    Frontend & DesignAuto-check passed
  • HTML Coder

    TokenRhythm/opensquilla

    Guides semantic, accessible HTML work: pages, forms, media and HTML5 APIs, plus how to deliver a runnable webpage project with a preview.

    7.1k GitHub stars~1.4k tokensUpdated 3 days ago
    Frontend & DesignAuto-check passed

More from rampstackco/claude-skills

All 103 skills in this repo
  • After Action Report

    rampstackco/claude-skills

    Run a structured after-action review (postmortem, retrospective) on a launch, incident, or completed project to capture timeline, root cause analysis, contributing factors, and actionable lessons.

    935 GitHub starsUsed in 1 repo~2.5k tokens
    Auto-check passed
  • Analytics Strategy

    rampstackco/claude-skills

    Design measurement frameworks including event taxonomy, KPI hierarchy, dashboard architecture, attribution models, and analytics implementation strategy.

    935 GitHub starsUsed in 1 repo~2.4k tokens
    Auto-check passed
  • Brand Style Guide

    rampstackco/claude-skills

    Build or audit a comprehensive brand style guide that documents the full brand system including story, logo system, color, typography, imagery, voice, applications, and dos/don'ts.

    935 GitHub stars~2.1k tokensUpdated today
    Auto-check passed
  • Brand Voice

    rampstackco/claude-skills

    Develop or document a complete brand voice and tone system covering voice attributes, tone shifts by context, vocabulary preferences, grammar rules, and copy examples.

    935 GitHub stars~2.2k tokensUpdated today
    Auto-check passed
  • Content And Copy

    rampstackco/claude-skills

    Write or edit website copy, blog content, and editorial pieces with attention to voice, structure, and goal.

    935 GitHub stars~2.1k tokensUpdated today
    Auto-check passed
  • Content Strategy

    rampstackco/claude-skills

    Develop a content strategy covering editorial positioning, content pillars, formats, calendar, governance, and topical authority planning.

    935 GitHub stars~2.6k tokensUpdated today
    Auto-check passed

Questions about Form Strategy

What does Form Strategy do?

Design forms that convert, validate well, resist spam, and integrate cleanly with downstream systems. Form Strategy is an agent skill from rampstackco/claude-skills. Design forms that convert, validate well, resist spam, and integrate cleanly with downstream systems.

When should I use Form Strategy?

Form Strategy fits situations like: auditing any form (contact; planning validation logic; choosing form tooling; improving form conversion.

How do I install Form Strategy in Claude Code?

Run `npx skills add rampstackco/claude-skills --skill form-strategy -a claude-code`. Or copy the skill folder (skills/form-strategy in rampstackco/claude-skills) into .claude/skills/form-strategy in your project. Claude Code loads it when a task matches its description.

How do I install Form Strategy in Codex?

Run `npx skills add rampstackco/claude-skills --skill form-strategy -a codex`. Or copy the skill folder (skills/form-strategy in rampstackco/claude-skills) into .agents/skills/form-strategy in your project. Codex loads it when a task matches its description.

Can I use Form Strategy in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add rampstackco/claude-skills --skill form-strategy -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/form-strategy, .gemini/skills/form-strategy, .github/skills/form-strategy and .opencode/skills/form-strategy in your project.

What does Form Strategy need to run?

SKILL.md names no scripts, command-line tools or credentials: Form Strategy is instructions for the agent only.

Does Form Strategy access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Form Strategy safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Form Strategy use?

Form Strategy is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Form Strategy use?

About 2.9k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.3k tokens, read only when the agent opens those files.

What are the alternatives to Form Strategy?

Skills that share tags, products or a category with Form Strategy: MCP Development (coollabsio/coolify, 63k stars), Accessibility Fixer (ibelick/ui-skills, 9.4k stars), Formik Form Patterns (ChrisWiles/claude-code-showcase, 6.1k stars) and Buefy Vue UI Components (buefy/buefy, 9.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Form Strategy?

rampstackco (a GitHub organization) maintains it in rampstackco/claude-skills, which has 935 GitHub stars. The repository holds 103 skills in this directory. The repository was last updated on October 7, 2026.

Source: rampstackco/claude-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.