Skip to content

Use Mateu with AI assistants

AI coding assistants generate much better Mateu code when they have the API in their context. This page provides ready-to-use reference files for the most common tools.

FileSizeBest for
Compact reference~2 500 tokensDay-to-day code generation, tools with small context windows
Full reference~9 000 tokensThorough assistance, broad feature coverage, Gemini 1.5 / Claude Projects

Both files are plain Markdown — paste them directly, link to them, or download them.


  1. Open claude.ai and create or open a Project.
  2. In the project’s Instructions section, paste the compact or full reference.
  3. Every conversation in that project will have Mateu context automatically.
  1. Open Gemini and click Explore Gems → New gem.
  2. Paste the reference file content in the Instructions field.
  3. Save the Gem as “Mateu developer”. Use it for every Mateu coding session.

Gemini 1.5 Pro and 2.0 Flash both have large enough context windows for the full reference.

  1. Go to chatgpt.com, open Explore GPTs → Create a GPT.
  2. In the Configure tab, paste the reference in the Instructions field.
  3. Or, in any regular conversation, paste the compact reference at the start and then ask your question.

Add a .cursor/rules file (or .cursorrules at the project root) with the compact reference content. Cursor will include it as context in every AI request for that project.

# In .cursor/rules or .cursorrules
[paste the contents of mateu-ai-compact.md here]

Copilot reads /.github/copilot-instructions.md for project-level context. Copy the compact reference there:

Terminal window
mkdir -p .github
curl -o .github/copilot-instructions.md https://mateu.io/mateu-ai-compact.md

Paste the compact reference at the start of your conversation before your first question. Most models will retain it for the session.


Once the context is loaded, you can ask directly:

Create a CRUD for a Product entity with id, name, price, and active fields.
Add a wizard with 3 steps: account details, plan selection, and a success screen.
Build a dense multi-zone check-in form with @Compact and @Zones.
Add a @Banner that warns when the service is in maintenance mode.
Create a custom listing for orders with a status filter and server-side pagination.

Mateu publishes an llms.txt at the site root following the llms.txt proposal. AI crawlers and tools that support the standard can discover the reference files automatically from there.