---
title: "Teach your AI editor QuotaStack"
description: "Install a QuotaStack rule into Cursor, Claude Code, Copilot, Zed, Windsurf, or AGENTS.md so your AI assistant knows QuotaStack's billing primitives and conventions in every session."
---

# Teach your AI editor QuotaStack

Install a rule once. Your IDE's AI assistant knows QuotaStack conventions in every future session — endpoint shapes, idempotency requirements, which primitive to use, and which billing pattern matches your product. Same rule content across every editor; only the frontmatter and file path differ.

## Where each editor's rule goes

| Editor | Install to | Notes |
| --- | --- | --- |
| **Cursor** | `.cursor/rules/quotastack.md` | One-click deeplink install, or paste manually. Optional `/quotastack` slash-command pattern-picker. |
| **Claude Code** | `CLAUDE.md` (repo root) | Loaded automatically at session start. A dedicated QuotaStack *skill* (on-demand) is coming soon. |
| **VS Code + Copilot** | `.github/copilot-instructions.md` | Workspace-wide Copilot Chat instructions. |
| **Zed** | `.rules` | Agent Panel auto-includes it. No extension. |
| **Windsurf** | `.windsurfrules` | Cascade reads it every session. Also respects AGENTS.md. |
| **Universal** | `AGENTS.md` (repo root) | Auto-detected by Copilot, Zed, Windsurf, and others. |

## What the rule does

It teaches your assistant the essentials of a QuotaStack integration: the canonical endpoint shape (`/v1/customers/{id}/…`), that `idempotency_key` is mandatory on every mutation, when to use reservations vs. direct usage events, and which of the five billing patterns matches what you're building.

## It also tells your AI where to look

Every docs page has a raw-markdown twin at the same URL + `.md`, and the discovery index is at [/llms.txt](/llms.txt). Your AI can fetch those directly.

Install the rules (one-click for Cursor, copy-paste for the rest): https://quotastack.io/docs/ai-editors
