Skip to main content

Documentation Index

Fetch the complete documentation index at: https://doc.spike.ac/docs/llms.txt

Use this file to discover all available pages before exploring further.

Setup

Install the Spike skill in your project:
npx skills add spike-forms/agent-skills -a claude-code
This creates a SKILL.md file in .claude/skills/ that Claude Code loads automatically.

Verify Installation

npx skills list
You should see spike-forms listed under Claude Code.

Usage

Once installed, Claude Code knows how to create Spike forms. Just describe what you need:

Basic Contact Form

> Add a contact form to the homepage that sends submissions to Spike
Claude Code will create a form with the correct endpoint, honeypot spam protection, and proper field structure.

React Form with State

> Create a React contact form component that submits to Spike via AJAX
Claude Code will build a component with loading states, error handling, and success messages.

File Upload Form

> Add a job application form with resume upload that sends to Spike
Claude Code will use enctype="multipart/form-data" and include file input fields.

Webhook Handler

> Create a Next.js API route that receives Spike webhook submissions and verifies the signature
Claude Code will set up HMAC-SHA256 signature verification using the X-Spike-Signature header.

What Claude Code Learns

The skill teaches Claude Code:
CapabilityWhat It Knows
HTML formsCorrect action URL format, method="POST"
React/Next.jsfetch with FormData, state management
JSON APIContent-Type: application/json submissions
File uploadsenctype="multipart/form-data", file inputs
Special fields_next, _subject, _replyto, _gotcha
WebhooksPayload format, HMAC signature verification
API accesssk_ API keys, all REST endpoints
Auto-createSubmitting to new slugs creates forms automatically

Tips

  • The skill activates automatically when you’re working on .html, .tsx, .jsx, .vue, .svelte, or .astro files
  • You don’t need to mention “Spike” — just ask for a “contact form” and Claude Code will use Spike if the skill is installed
  • For global installation (all projects): npx skills add spike-forms/agent-skills -a claude-code -g