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 cursor
This creates a SKILL.md file in .agents/skills/ (or ~/.cursor/skills/ for global install) that Cursor loads automatically.

Verify Installation

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

Usage

Once installed, Cursor’s AI knows how to create Spike forms. Use it in Chat, Composer, or inline edits:

In Chat

Create a contact form component that submits to Spike

In Composer

Add a feedback form to the footer that sends to Spike with email notifications

Inline Edit (Cmd+K)

Select an existing form and ask:
Convert this to submit via Spike with AJAX and show a success message

Examples

Ask Cursor to build a contact page:

Create a contact page at /contact with a form that submits to Spike.
Include name, email, and message fields. Show a success message after submission.
Redirect to /thank-you on success.

Ask Cursor to add file uploads:

Add a file upload field to the application form. It should accept PDF and DOCX files
and submit to Spike with multipart/form-data.

Ask Cursor to set up webhooks:

Create an API route at /api/webhook that receives Spike form submissions
and saves them to the database. Verify the webhook signature.

Tips

  • The skill activates when you’re editing form-related files (.html, .tsx, .jsx, .vue, .svelte, .astro)
  • Works in both Chat and Composer modes
  • For global installation: npx skills add spike-forms/agent-skills -a cursor -g
  • Cursor also supports skills via .cursor/rules/ — the skills CLI handles the correct path automatically