# Customize Kivo With AI

## Customize Kivo With AI

**Skill level:** Beginner · **Works with:** Claude, Cursor, GitHub Copilot, Gemini, Windsurf, ChatGPT, and any other assistant

Kivo is built so that an AI assistant can change it safely. Three things make that work:

1. **Content is separate from code.** Almost every change is an edit to a Markdown, TOML, or JSON file, which is the kind of task AI tools do well.
2. **Every content file explains itself.** Section files list their options and allowed values in comments, so the assistant can see what is possible without guessing.
3. **The theme ships instruction files for AI tools.** They describe the folder structure and the rules for changing it. The AI coding tools in the table below load their file when you open the project folder.

### The AI Instruction Files In Kivo
These seven files are in the theme folder: most at the top level, and three in the `.github/`, `.cursor/rules/`, and `.windsurf/rules/` subfolders. You don't need to edit them. `README.md` is written for you: it has the install commands, where the main files live, and a checklist for launch.

| File                                   | Loaded automatically by                       | What it contains                                       |
| -------------------------------------- | --------------------------------------------- | ------------------------------------------------------ |
| `AGENTS.md`                            | OpenAI Codex, Cursor, Windsurf (Devin Desktop), and GitHub Copilot's coding agent, Copilot CLI, chat in VS Code, and code review on GitHub.com. Claude Code and Gemini CLI get it through their own file (next rows) | The full rules: structure, section layouts, page blocks, validation limits, styling, components, languages, customizing for your own site, and checks |
| `CLAUDE.md`                            | Claude Code                                   | Imports `AGENTS.md` (the `@AGENTS.md` line), plus a short summary |
| `GEMINI.md`                            | Gemini CLI                                    | Imports `AGENTS.md` (the `@./AGENTS.md` line), plus the same summary |
| `.github/copilot-instructions.md`      | GitHub Copilot, including the chat surfaces that don't read `AGENTS.md` (chat on GitHub.com, in Visual Studio, and in JetBrains IDEs) | A short summary that points to `AGENTS.md` and `SKILLS.md` |
| `.cursor/rules/theme-architecture.mdc` | Cursor (always on)                            | The architecture rules for Cursor                      |
| `.windsurf/rules/theme-architecture.md`| Windsurf (always on)                          | The architecture rules for Windsurf                    |
| `SKILLS.md`                            | No tool loads it on its own: mention it in your request | Step-by-step recipes: add a section or page, reorder the homepage, switch or add a layout, add or remove a language, rebrand, add an icon, verify |

These files tell an assistant to keep text in `src/content/`, to make every change in every language, to reuse Kivo's buttons and icons, to use the theme's color tokens, and to run `npm run astro-check` when it finishes. `AGENTS.md` also covers the things that are easy to get wrong:

- **Page blocks**: how a page's named block merges with the section file, and that a misnamed block is ignored without an error
- **Validation limits**: `npm run astro-check` doesn't check the section, contact, FAQ, and pricing files, so the assistant checks those values against the comments and looks at the page
- **Customizing for your own site**: change content and config first, don't invent testimonials, customer names, metrics, or prices, and check every changed page at phone and desktop width, in light and dark mode

### Two Ways To Work With AI
<CardGrid>
  <Card title="AI that can open your files" icon="laptop">
    Cursor, Windsurf, Claude Code, GitHub Copilot in VS Code, Gemini CLI,
    Codex. Open the `kivo` project folder in the tool and describe the change. It
    loads its instruction file, edits the files, and can run the checks. **This
    is the best way to work.**
  </Card>
  <Card title="Chat assistants" icon="comment">
    ChatGPT, Claude, or Gemini in the browser. They can't see your project, so
    you paste `AGENTS.md` and the file you want changed, and copy the answer
    back. Fine for rewriting text, one file at a time.
  </Card>
</CardGrid>

The [AI Workflow](/kivo/ai-customization/ai-workflow/) page shows both step by step.

### What AI Is Great At In Kivo
- Rewriting all demo copy for your product, in every language
- Filling collections: features, integrations, customers, careers, team, blog, changelog
- Changing plans and prices, FAQ answers, and menus
- Picking layouts and reordering sections
- Translating the site into another language
- Adding a new page from existing sections
- Explaining an error message and fixing it

### What To Check Yourself
- **Facts and numbers.** AI writes convincing copy. When we rewrote the homepage with an AI assistant, it added customer quotes and usage numbers that were not in our brief, even though Kivo's instruction files tell it not to. Check every quote, metric, price, and claim before you publish.
- **Longer names and labels.** A name or label longer than the sample can be cut off or wrap. Check the footer wordmark, the header, and the animated text in the hero.
- **Legal pages.** The privacy policy, terms, and cookie policy are placeholders. Have them reviewed for your business.
- **The result in the browser.** Look at the page in light and dark mode, and on a phone-sized window. This matters most for section, contact, FAQ, and pricing files, which `npm run astro-check` doesn't check.
- **Forms.** Submit each form once on the live site.

<Aside type="tip" title="Five rules for good results">
  1. One task per request. "Change the hero" works better than "redo the site".
  2. Name the file when you know it. Every page in these docs tells you which one.
  3. Say what must stay the same: "keep every key and option, only change the text".
  4. Ask for every language, or say you only use English.
  5. Save a checkpoint first (a git commit or a copy of the folder), so any change can be undone.
</Aside>

Ready? Go to the [Prompt Library](/kivo/ai-customization/prompt-library/) for copy-paste prompts.