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 kiro-cli
This creates a SKILL.md file in .kiro/skills/ that Kiro loads automatically.

Verify Installation

npx skills list
You should see spike-forms listed under Kiro CLI.
After installing, if you’re using Kiro’s custom agents, add the skill to your agent’s resources in .kiro/agents/<agent>.json:
{
  "resources": ["skill://.kiro/skills/**/SKILL.md"]
}

Usage

Once installed, Kiro knows how to create Spike forms. Use it in chat or let it work through specs:

In Chat

Add a contact form to the homepage that submits to Spike

With Specs

When building a feature with Kiro’s spec system, mention Spike in your requirements:
The contact page should include a form that submits to Spike for backend handling.
Include name, email, and message fields with spam protection.
Kiro will generate the implementation tasks with Spike integration built in.

Autopilot Mode

In autopilot mode, Kiro can build entire form flows end-to-end:
Create a complete contact page with a Spike form, success state,
and a webhook handler that sends submissions to Slack.

Examples

React form with hooks:

Create a useContactForm hook that submits to Spike and returns
loading, success, and error states. Then build a ContactForm component using it.

Form with file uploads:

Add a job application form with resume upload. Use Spike for the backend.
Accept PDF and DOCX files.

Full-stack form flow:

Build a feedback form that:
1. Submits to Spike
2. Shows a success animation
3. Sends a webhook to our API
4. The API route verifies the Spike signature and saves to the database

Tips

  • The skill activates on form-related files (.html, .tsx, .jsx, .vue, .svelte, .astro)
  • Works in both chat and spec-driven development
  • Kiro’s steering files can reference Spike docs for consistent form patterns across your project
  • For global installation: npx skills add spike-forms/agent-skills -a kiro-cli -g